Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

maths
(maths globals)

   in Bound.h
   in Brush.h
   in MathUtil.h
   in Matrix3D.h
   in Noise.h
   in NUSpline.h
   in Plane.h
   in Quaternion.h
   in Vector3D.h
   in Vector4D.h
   in MathUtil.h
   in Bound.cpp
   in NUSpline.cpp
   in Quaternion.cpp
   in Vector3D.cpp

(maths globals)


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

EPSILON

 const float EPSILON;
========================================================================= File : Quaternion.cpp Project : 0 A.D. Description : =========================================================================
See Quaternion.cpp.


Method Detail

clamp

 template< typename T > inline T clamp( T value, T min, T max );
See MathUtil.h.

GetPositionOnCubic

 CVector3D GetPositionOnCubic( const CVector3D& startPos, const CVector3D& startVel, const CVector3D& endPos, const CVector3D& endVel, float time );
See NUSpline.cpp.

HermiteSpline

 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.

Interpolate

 template< typename T > T Interpolate( const T& a, const T& b, float l );
See MathUtil.h.

MaxComponent

 float MaxComponent( const CVector3D& v );
See Vector3D.cpp.

RoundUpToPowerOf2

 static inline int RoundUpToPowerOf2( int x );
See MathUtil.h.

sgn

 inline float sgn( float a );
See MathUtil.h.


Symbol Detail

INCLUDED_BOUND

 #define INCLUDED_BOUND 
See Bound.h.

INCLUDED_MATHUTIL

 #define INCLUDED_MATHUTIL 
See MathUtil.h.

INCLUDED_MATRIX3D

 #define INCLUDED_MATRIX3D 
See Matrix3D.h.

INCLUDED_NOISE

 #define INCLUDED_NOISE 
See Noise.h.

INCLUDED_NUSPLINE

 #define INCLUDED_NUSPLINE 
See NUSpline.h.

INCLUDED_PLANE

 #define INCLUDED_PLANE 
See Plane.h.

INCLUDED_QUATERNION

 #define INCLUDED_QUATERNION 
See Quaternion.h.

INCLUDED_VECTOR3D

 #define INCLUDED_VECTOR3D 
See Vector3D.h.

INCLUDED_VECTOR4D

 #define INCLUDED_VECTOR4D 
See Vector4D.h.

maths_brush_h

 #define maths_brush_h 
See Brush.h.

MAX_SPLINE_NODES

 #define MAX_SPLINE_NODES 40
See NUSpline.h.

PI

 #define PI 3.14159265358979323846f
See MathUtil.h.


Macro Detail

CMPT

 #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.

DEGTORAD

 #define DEGTORAD(a) ((a) * (PI/180.0f))
See MathUtil.h.

RADTODEG

 #define RADTODEG(a) ((a) * (180.0f/PI))
See MathUtil.h.

SQR

 #define SQR(x) ((x) * (x))
See MathUtil.h.

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD