|
0 A.D. | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
const float |
EPSILON
========================================================================= File : Quaternion. |
Method Summary | |
template< typename T > inline T |
clamp( T value, T min, T max )
See MathUtil.h |
CVector3D |
GetPositionOnCubic( const CVector3D& startPos, const CVector3D& startVel, const CVector3D& endPos, const CVector3D& endVel, float time )
See NUSpline.cpp |
CMatrix3D |
HermiteSpline( 2. f,-3. f, 0. f, 1. f,-2. f, 3. f, 0. f, 0. f, 1. f,-2. f, 1. f, 0. f, 1. f,-1. f, 0. f, 0. f )
See NUSpline.cpp |
template< typename T > T |
Interpolate( const T& a, const T& b, float l )
See MathUtil.h |
float |
MaxComponent( const CVector3D& v )
See Vector3D.cpp |
static inline int |
RoundUpToPowerOf2( int x )
See MathUtil.h |
inline float |
sgn( float a )
See MathUtil.h |
Symbol Summary | |
#define |
INCLUDED_BOUND
See Bound.h |
#define |
INCLUDED_MATHUTIL
See MathUtil.h |
#define |
INCLUDED_MATRIX3D
See Matrix3D.h |
#define |
INCLUDED_NOISE
See Noise.h |
#define |
INCLUDED_NUSPLINE
See NUSpline.h |
#define |
INCLUDED_PLANE
See Plane.h |
#define |
INCLUDED_QUATERNION
See Quaternion.h |
#define |
INCLUDED_VECTOR3D
See Vector3D.h |
#define |
INCLUDED_VECTOR4D
See Vector4D.h |
#define |
maths_brush_h
See Brush.h |
#define |
MAX_SPLINE_NODES 40
See NUSpline.h |
#define |
PI 3.14159265358979323846f
See MathUtil.h |
Macro Summary | |
#define |
CMPT(c) if (pt.c < m_Data[0].c) m_Data[0].c = pt.c if (pt.c > m_Data[1].c) m_Data[1].c = pt.c
See Bound.cpp |
#define |
DEGTORAD(a) ((a) * (PI/180.0f))
See MathUtil.h |
#define |
RADTODEG(a) ((a) * (180.0f/PI))
See MathUtil.h |
#define |
SQR(x) ((x) * (x))
See MathUtil.h |
Field Detail |
const float EPSILON;
Method Detail |
template< typename T > inline T clamp( T value, T min, T max );
CVector3D GetPositionOnCubic( const CVector3D& startPos, const CVector3D& startVel, const CVector3D& endPos, const CVector3D& endVel, float time );
CMatrix3D HermiteSpline( 2. f,-3. f, 0. f, 1. f,-2. f, 3. f, 0. f, 0. f, 1. f,-2. f, 1. f, 0. f, 1. f,-1. f, 0. f, 0. f );
template< typename T > T Interpolate( const T& a, const T& b, float l );
float MaxComponent( const CVector3D& v );
static inline int RoundUpToPowerOf2( int x );
inline float sgn( float a );
Symbol Detail |
#define INCLUDED_BOUND
#define INCLUDED_MATHUTIL
#define INCLUDED_MATRIX3D
#define INCLUDED_NOISE
#define INCLUDED_NUSPLINE
#define INCLUDED_PLANE
#define INCLUDED_QUATERNION
#define INCLUDED_VECTOR3D
#define INCLUDED_VECTOR4D
#define maths_brush_h
#define MAX_SPLINE_NODES 40
#define PI 3.14159265358979323846f
Macro Detail |
#define CMPT(c) if (pt.c < m_Data[0].c) m_Data[0].c = pt.c; if (pt.c > m_Data[1].c) m_Data[1].c = pt.c
#define DEGTORAD(a) ((a) * (PI/180.0f))
#define RADTODEG(a) ((a) * (180.0f/PI))
#define SQR(x) ((x) * (x))
|
0 A.D.
Generated on September 04, 2007 at 18:13 CppDoc v2.4.0 |
|||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |