Blender V2.61 - r43446
Functions

KX_SteeringActuator.cpp File Reference

#include "BLI_math.h"
#include "KX_SteeringActuator.h"
#include "KX_GameObject.h"
#include "KX_NavMeshObject.h"
#include "KX_ObstacleSimulation.h"
#include "KX_PythonInit.h"
#include "KX_PyMath.h"
#include "Recast.h"

Go to the source code of this file.

Functions

float vdot2 (const float *a, const float *b)
static bool barDistSqPointToTri (const float *p, const float *a, const float *b, const float *c)
void flipAxes (float *vec)
static bool getNavmeshNormal (dtStatNavMesh *navmesh, const MT_Vector3 &pos, MT_Vector3 &normal)

Function Documentation

static bool barDistSqPointToTri ( const float *  p,
const float *  a,
const float *  b,
const float *  c 
) [static]

Definition at line 321 of file KX_SteeringActuator.cpp.

References vdot2().

Referenced by getNavmeshNormal().

void flipAxes ( float *  vec) [inline]

Definition at line 344 of file KX_SteeringActuator.cpp.

References swap().

static bool getNavmeshNormal ( dtStatNavMesh *  navmesh,
const MT_Vector3 pos,
MT_Vector3 normal 
) [static]
float vdot2 ( const float *  a,
const float *  b 
) [inline]

Definition at line 317 of file KX_SteeringActuator.cpp.

Referenced by barDistSqPointToTri().