Home
last modified time | relevance | path

Searched refs:x2 (Results 1 – 3 of 3) sorted by relevance

/NW4C-1.2.23/sources/libraries/snd/
Dsnd_Sound3DCalculator.cpp32 inline f32 SolveLinerFunction( f32 x, f32 x1, f32 x2, f32 y1, f32 y2 ) in SolveLinerFunction() argument
34 if ( x1 == x2 ) return ( y1 + y2 ) / 2.0f; in SolveLinerFunction()
35 f32 divider = x1 - x2; in SolveLinerFunction()
36 return x * ( y1 - y2 ) / divider + ( x1 * y2 - x2 * y1 ) / divider; in SolveLinerFunction()
/NW4C-1.2.23/include/nw/demo/
Ddemo_GraphicsDrawing.h120 void DrawLine( s32 x1, s32 y1, s32 x2, s32 y2, ut::Color8 color ) in DrawLine() argument
124 math::VEC2(static_cast<f32>(x2), static_cast<f32>(y2)), in DrawLine()
/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_Window.cpp742 const f32 x2 = basePt.x + this->GetSize().width - frameSize.r; in DrawFrame8() local
759 { x2, y0, w2, h0 }, // RT in DrawFrame8()
761 { x2, y2, w2, h2 }, // RB in DrawFrame8()
763 { x2, y1, w2, h1 }, // R in DrawFrame8()