src/engine/eAxis.cpp File Reference

#include "eAxis.h"

Include dependency graph for eAxis.cpp:

Go to the source code of this file.

Functions

REAL remf (REAL x, REAL y)
REAL angledifff (REAL x, REAL y)


Function Documentation

REAL angledifff ( REAL  x,
REAL  y 
)

Definition at line 126 of file eAxis.cpp.

References fabsf(), M_PI, and remf().

Referenced by eAxis::NearestWinding().

00126                                 {
00127     return fabsf(remf(x - y + M_PI, 2*M_PI) - M_PI);
00128 }

Here is the call graph for this function:

Here is the caller graph for this function:

REAL remf ( REAL  x,
REAL  y 
)

Definition at line 122 of file eAxis.cpp.

References floorf().

Referenced by angledifff().

00122                           {
00123     return x - y*floorf(x/y);
00124 }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Sat Mar 15 22:56:40 2008 for Armagetron Advanced by  doxygen 1.5.4