|
Namespaces |
| namespace | MathUtils |
Functions |
| MatrixF | MathUtils::createOrientFromDir (Point3F &direction) |
| | Creates orientation matrix from a direction vector. Assumes ( 0 0 1 ) is up.
|
| Point3F | MathUtils::randomDir (Point3F &axis, F32 thetaAngleMin, F32 thetaAngleMax, F32 phiAngleMin=0.0f, F32 phiAngleMax=360.0f) |
| | Creates random direction given angle parameters similar to the particle system.
|
| void | MathUtils::getAnglesFromVector (VectorF &vec, F32 &yawAng, F32 &pitchAng) |
| | Returns yaw and pitch angles from a given vector.
|
| void | MathUtils::getVectorFromAngles (VectorF &vec, F32 &yawAng, F32 &pitchAng) |
| | Returns vector from given yaw and pitch angles.
|
| void | MathUtils::transformBoundingBox (const Box3F &sbox, const MatrixF &mat, const Point3F scale, Box3F &dbox) |