doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
CollisionModel_rotate.cpp File Reference
#include "../idlib/precompiled.h"
#include "CollisionModel_local.h"

Go to the source code of this file.

Macros

#define CM_PL_RANGE_EPSILON   1e-4f
 
#define ROTATION_AXIS_EPSILON   (CM_CLIP_EPSILON*0.25f)
 

Functions

void CM_RotatePoint (idVec3 &point, const idVec3 &origin, const idVec3 &axis, const float tanHalfAngle)
 
void CM_RotateEdge (idVec3 &start, idVec3 &end, const idVec3 &origin, const idVec3 &axis, const float tanHalfAngle)
 

Macro Definition Documentation

#define CM_PL_RANGE_EPSILON   1e-4f

Definition at line 51 of file CollisionModel_rotate.cpp.

#define ROTATION_AXIS_EPSILON   (CM_CLIP_EPSILON*0.25f)

Definition at line 53 of file CollisionModel_rotate.cpp.

Function Documentation

void CM_RotateEdge ( idVec3 start,
idVec3 end,
const idVec3 origin,
const idVec3 axis,
const float  tanHalfAngle 
)

Definition at line 90 of file CollisionModel_rotate.cpp.

void CM_RotatePoint ( idVec3 point,
const idVec3 origin,
const idVec3 axis,
const float  tanHalfAngle 
)

Definition at line 63 of file CollisionModel_rotate.cpp.