ReactOS  0.4.13-dev-39-g8b6696f
simplemath.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int max (int x, int y)
 
REAL min (REAL x, REAL y)
 
REAL glu_abs (REAL x)
 

Function Documentation

◆ glu_abs()

REAL glu_abs ( REAL  x)
inline

Definition at line 50 of file simplemath.h.

50 { return ( x < 0.0 ) ? -x : x; }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548

Referenced by Subdivider::ccw(), Quilt::findSampleRates(), Varray::init(), is_rect(), ArcTessellator::pwl(), Patchspec::singleStep(), ArcTessellator::tessellateNonlinear(), and tooclose().

◆ max()

int max ( int  x,
int  y 
)
inline

Definition at line 44 of file simplemath.h.

44 { return ( x < y ) ? y : x; }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

◆ min()

REAL min ( REAL  x,
REAL  y 
)
inline

Definition at line 47 of file simplemath.h.

47 { return ( x > y ) ? y : x; }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548