| Return Type |
Function Name |
Parameters |
Description
|
float |
cMath_Abs |
float afX |
|
int |
cMath_Abs |
int alX |
|
float |
cMath_ACos |
float afX |
|
float |
cMath_ASin |
float afX |
|
float |
cMath_ATan |
float afX |
|
float |
cMath_ATan2 |
float afY,
float afX |
|
bool |
cMath_CheckAABBInside |
const cVector3f &in avInsideMin,
const cVector3f &in avInsideMax,
const cVector3f &in avOutsideMin,
const cVector3f &in avOutsideMax |
|
bool |
cMath_CheckAABBIntersection |
cVector3f &in avMin1,
const cVector3f &in avMax1,
const cVector3f &in avMin2,
const cVector3f &in avMax2 |
|
bool |
cMath_CheckAABBLineIntersection |
cVector3f &in avMin,
const cVector3f &in avMax,
const cVector3f &in avLineStart,
const cVector3f &in avLineEnd,
cVector3f &out avIntersectionPos,
float &out afT |
|
bool |
cMath_CheckAABBSphereCollision |
const cVector3f &in avMin,
const cVector3f &in avMax,
const cVector3f &in avCenter,
float afRadius |
|
bool |
cMath_CheckBVIntersection |
cBoundingVolume@+ aBV1,
cBoundingVolume@+ aBV2 |
|
bool |
cMath_CheckPlaneAABBCollision |
const cPlanef &in aPlane,
const cVector3f &in avMin,
const cVector3f &in avMax,
const cVector3f &in avSphereCenter,
float afSphereRadius |
|
bool |
cMath_CheckPlaneAABBCollision |
const cPlanef &in aPlane,
const cVector3f &in avMin,
const cVector3f &in avMax |
|
bool |
cMath_CheckPlaneBVCollision |
const cPlanef &in aPlane,
cBoundingVolume@+ aBV |
|
bool |
cMath_CheckPlaneLineIntersection |
const cPlanef &in aPlane,
const cVector3f &in avLineStart,
const cVector3f &in avLineEnd,
cVector3f &out avIntersectionPos,
float &out afT |
|
bool |
cMath_CheckPlaneSphereCollision |
const cPlanef &in aPlane,
const cVector3f &in avCenter,
float afRadius |
|
bool |
cMath_CheckPointInAABBIntersection |
const cVector3f &in avPoint,
const cVector3f &in avMin,
const cVector3f &in avMax |
|
bool |
cMath_CheckPointInBVIntersection |
const cVector3f &in avPoint,
cBoundingVolume@+ aBV |
|
bool |
cMath_CheckPointInRectIntersection |
const cVector2f &in avPoint,
const cRect2f &in aRect |
|
bool |
cMath_CheckPointInSphereIntersection |
const cVector3f &in avPoint,
const cVector3f &in avSpherePos,
float afSphereRadius |
|
bool |
cMath_CheckRectFit |
const cRect2l &in aRectSrc,
const cRect2l &in aRectDest |
|
bool |
cMath_CheckRectFit |
const cRect2f &in aRectSrc,
const cRect2f &in aRectDest |
|
bool |
cMath_CheckRectIntersection |
const cRect2l &in aRect1,
const cRect2l &in aRect2 |
|
bool |
cMath_CheckRectIntersection |
const cRect2f &in aRect1,
const cRect2f &in aRect2 |
|
bool |
cMath_CheckRectIntersection |
const cVector2l &in avMin1,
const cVector2l &in avMax1,
const cVector2l &in avMin2,
const cVector2l &in avMax2 |
|
bool |
cMath_CheckRectIntersection |
const cVector2f &in avMin1,
const cVector2f &in avMax1,
const cVector2f &in avMin2,
const cVector2f &in avMax2 |
|
bool |
cMath_CheckSphereIntersection |
const cVector3f &in avPosA,
float afRadiusA,
const cVector3f &in avPosB,
float afRadiusB |
|
bool |
cMath_CheckSphereLineIntersection |
const cVector3f &in avSpherePos,
float afSphereRadius,
const cVector3f &in avLineStart,
const cVector3f &in avLineEnd,
float &out afT1,
cVector3f &out afIntersection1,
float &out afT2,
cVector3f &out avIntersection2 |
|
float |
cMath_Clamp |
float afX,
float afMin,
float afMax |
|
int |
cMath_Clamp |
int alX,
int alMin,
int alMax |
|
float |
cMath_Cos |
float afX |
|
float |
cMath_Easing |
eEasing aType,
float afT,
float afMin = 0,
float afMax = 1 |
|
cVector3f |
cMath_ExpandAABBMax |
const cVector3f &in avBaseMax,
const cVector3f &in avAddMax |
|
cVector3f |
cMath_ExpandAABBMin |
const cVector3f &in avBaseMin,
const cVector3f &in avAddMin |
|
float |
cMath_FastRandomFloat |
int alSeed |
|
float |
cMath_GetAngleDistance |
float afAngle1,
float afAngle2,
float afMaxAngle |
|
float |
cMath_GetAngleDistanceDeg |
float afAngle1,
float afAngle2 |
|
float |
cMath_GetAngleDistanceRad |
float afAngle1,
float afAngle2 |
|
cVector2f |
cMath_GetAngleDistanceVector2f |
const cVector2f &in avAngle1,
const cVector2f &in avAngle2,
float afMaxAngle |
|
cVector2f |
cMath_GetAngleDistanceVector2fDeg |
const cVector2f &in avAngle1,
const cVector2f &in avAngle2 |
|
cVector2f |
cMath_GetAngleDistanceVector2fRad |
const cVector2f &in avAngle1,
const cVector2f &in avAngle2 |
|
cVector3f |
cMath_GetAngleDistanceVector3f |
const cVector3f &in avAngle1,
const cVector3f &in avAngle2,
float afMaxAngle |
|
cVector3f |
cMath_GetAngleDistanceVector3fDeg |
const cVector3f &in avAngle1,
const cVector3f &in avAngle2 |
|
cVector3f |
cMath_GetAngleDistanceVector3fRad |
const cVector3f &in avAngle1,
const cVector3f &in avAngle2 |
|
float |
cMath_GetAngleFromPoints2D |
const cVector2f &in aStartPos,
const cVector2f &in avGoalPos |
|
cVector3f |
cMath_GetAngleFromPoints3D |
const cVector3f &in avStartPos,
const cVector3f &in avGoalPos |
|
void |
cMath_GetAngleFromVector |
const cVector2f &in avVec,
float &out afAngle,
float &out afLength |
|
int |
cMath_GetBit |
int alBitNum |
|
bool |
cMath_GetBitFlag |
int alFlagNum,
int alBit |
|
cRect2f |
cMath_GetClipRect |
const cRect2f &in aRectSrc,
const cRect2f &in aRectDest |
|
void |
cMath_GetClipRectFromBV |
,
cBoundingVolume@+ aBV,
cFrustum@+ apFrustum,
const cVector2l &in avScreenSize |
|
cRect2l |
cMath_GetClipRectFromNormalizedMinMax |
const cVector3f &in avMin,
const cVector3f &in avMax,
const cVector2l &in avScreenSize |
|
cRect2l |
cMath_GetClipRectFromSphere |
const cVector3f &in avPosition,
float afRadius,
cFrustum@+ apFrustum,
const cVector2l &in avScreenSize,
bool abPositionIsScreenSpace |
|
float |
cMath_GetCorrectSignOfSpeed |
float afCurrent,
float afDest,
float afSpeed |
|
float |
cMath_GetFraction |
float afVal |
|
bool |
cMath_GetNormalizedClipRectFromBV |
,
cVector3f &out avDestMax,
cBoundingVolume@+ aBV,
cFrustum@+ aFrustum |
|
cVector3f |
cMath_GetPoint3DFromSphericalCoords |
const cVector3f &in avSphCenter,
float afSphRadius,
const cVector2f &in avSphCoords |
|
cVector2f |
cMath_GetSphericalCoordsFromPoint3D |
const cVector3f &in avSphCenter,
const cVector3f &in avPoint |
|
cVector2f |
cMath_GetVectorFromAngle2D |
float afAngle,
float afLength |
|
cColor |
cMath_HexToRGB |
const tString &in asHex |
|
cColor |
cMath_HexWToRGB |
const tWString &in asHex |
|
cColor |
cMath_HSBToRGB |
const cVector3f &in avHSB |
|
float |
cMath_IncreaseTo |
float afX,
float afAdd,
float afDest |
|
float |
cMath_InterpolateCosine |
float afA,
float afB,
float afT |
|
float |
cMath_InterpolateCubic |
float afX0,
float afX1,
float afX2,
float afX3,
float afT |
|
float |
cMath_InterpolateHermite |
float afX0,
float afX1,
float afX2,
float afX3,
float afT,
float afTension,
float afBias |
|
float |
cMath_InterpolateLinear |
float afA,
float afB,
float afT |
|
float |
cMath_InterpolateSigmoid |
float afA,
float afB,
float afT |
|
bool |
cMath_IsPow2 |
int alX |
|
float |
cMath_Log |
float afX |
|
int |
cMath_Log2ToInt |
int alX |
|
cVector3f |
cMath_MatrixEulerAngleDistance |
const cMatrixf &in a_mtxA,
const cMatrixf &in a_mtxB |
|
cMatrixf |
cMath_MatrixInverse |
const cMatrixf &in a_mtxA |
|
cMatrixf |
cMath_MatrixMul |
const cMatrixf &in a_mtxA,
const cMatrixf &in a_mtxB |
|
cVector3f |
cMath_MatrixMul |
const cMatrixf &in a_mtxA,
const cVector3f &in avB |
|
cVector3f |
cMath_MatrixMul3x3 |
const cMatrixf &in a_mtxA,
const cVector3f &in avB |
|
cVector3f |
cMath_MatrixMulDivideW |
const cMatrixf &in a_mtxA,
const cVector3f &in avB |
|
cMatrixf |
cMath_MatrixMulScalar |
const cMatrixf &in a_mtxA,
float afB |
|
cMatrixf |
cMath_MatrixOrthographicProjection |
float afNearClipPlane,
float afFarClipPlane,
const cVector2f &in avViewSize |
|
cMatrixf |
cMath_MatrixPerspectiveProjection |
float afNearClipPlane,
float afFarClipPlane,
float afFOV,
float afAspect,
bool abInfFarPlane |
|
cMatrixf |
cMath_MatrixPlaneMirror |
const cPlanef &in aPlane |
|
cMatrixf |
cMath_MatrixQuaternion |
const cQuaternion &in aqRot |
|
cMatrixf |
cMath_MatrixRotateX |
float afAngle |
|
cMatrixf |
cMath_MatrixRotateXYZ |
const cVector3f &in avRot |
|
cMatrixf |
cMath_MatrixRotateXZY |
const cVector3f &in avRot |
|
cMatrixf |
cMath_MatrixRotateY |
float afAngle |
|
cMatrixf |
cMath_MatrixRotateYXZ |
const cVector3f &in avRot |
|
cMatrixf |
cMath_MatrixRotateYZX |
const cVector3f &in avRot |
|
cMatrixf |
cMath_MatrixRotateZ |
float afAngle |
|
cMatrixf |
cMath_MatrixRotateZXY |
const cVector3f &in avRot |
|
cMatrixf |
cMath_MatrixRotateZYX |
const cVector3f &in avRot |
|
cMatrixf |
cMath_MatrixScale |
const cVector3f &in avScale |
|
cMatrixf |
cMath_MatrixSlerp |
float afT,
const cMatrixf &in a_mtxA,
const cMatrixf &in a_mtxB,
bool abShortestPath |
|
cVector3f |
cMath_MatrixToEulerAngles |
const cMatrixf &in a_mtxA |
|
cVector3f |
cMath_MatrixToEulerAnglesMultiSolution |
const cMatrixf &in a_mtxA,
cVector3f &out avSolution1,
cVector3f &out avSolution2 |
|
cMatrixf |
cMath_MatrixTranslate |
const cVector3f &in avTrans |
|
cMatrixf |
cMath_MatrixUnitVectors |
const cVector3f &in avRight,
const cVector3f &in avUp,
const cVector3f &in avForward,
const cVector3f &in avTranslate |
|
float |
cMath_Max |
float afX,
float afY |
|
int |
cMath_Max |
int alX,
int alY |
|
float |
cMath_Min |
float afX,
float afY |
|
int |
cMath_Min |
int alX,
int alY |
|
float |
cMath_Modulus |
float afDividend,
float afDivisor |
|
float |
cMath_PlaneDot |
const cPlanef &in aPlaneA,
const cPlanef &in aPlaneB |
|
bool |
cMath_PlaneIntersectionPoint |
const cPlanef &in aP1,
const cPlanef &in aP2,
const cPlanef &in aP3,
cVector3f &in avPoint |
|
bool |
cMath_PlaneParallel |
const cPlanef &in aPlaneA,
const cPlanef &in aPlaneB |
|
float |
cMath_PlaneToPointDist |
const cPlanef &in aPlane,
const cVector3f &in avVec |
|
float |
cMath_Pow |
float afX,
float afExp |
|
int |
cMath_Pow2 |
int alX |
|
cMatrixf |
cMath_ProjectionMatrixObliqueNearClipPlane |
const cMatrixf &in a_mtxProjMatrix,
const cPlanef &in aClipPlane |
|
cVector2f |
cMath_ProjectVector2D |
const cVector2f &in avSrcVec,
const cVector2f &in avDestVec |
|
cQuaternion |
cMath_QuaternionConjugate |
const cQuaternion &in aqA |
|
float |
cMath_QuaternionDot |
const cQuaternion &in aqA,
const cQuaternion &in aqB |
|
cQuaternion |
cMath_QuaternionEuler |
const cVector3f &in avEuler,
eEulerRotationOrder aOrder |
|
cQuaternion |
cMath_QuaternionInverse |
const cQuaternion &in aqA |
|
cQuaternion |
cMath_QuaternionLerp |
float afT,
const cQuaternion &in aqA,
const cQuaternion &in aqB |
|
cQuaternion |
cMath_QuaternionMatrix |
const cMatrixf &in a_mtxA |
|
cQuaternion |
cMath_QuaternionMul |
const cQuaternion &in aqA,
const cQuaternion &in aqB |
|
cQuaternion |
cMath_QuaternionNlerp |
float afT,
const cQuaternion &in aqA,
const cQuaternion &in aqB |
|
cQuaternion |
cMath_QuaternionNormalize |
const cQuaternion &in aqA |
|
cQuaternion |
cMath_QuaternionSlerp |
float afT,
const cQuaternion &in aqA,
const cQuaternion &in aqB,
bool abShortestPath |
|
cVector2f |
cMath_RandomCircleEdgePoint |
float afRadius |
|
void |
cMath_Randomize |
int alSeed |
|
cColor |
cMath_RandRectColor |
const cColor &in aMin,
const cColor &in aMax |
|
float |
cMath_RandRectf |
float alMin,
float alMax |
|
int |
cMath_RandRectl |
int alMin,
int alMax |
|
cVector2f |
cMath_RandRectVector2f |
const cVector2f &in avMin,
const cVector2f &in avMax |
|
cVector3f |
cMath_RandRectVector3f |
const cVector3f &in avMin,
const cVector3f &in avMax |
|
tString |
cMath_RGBToHex |
const cColor &in aRGB |
|
tWString |
cMath_RGBToHexW |
const cColor &in aRGB |
|
cVector3f |
cMath_RGBToHSB |
const cColor &in aX |
|
float |
cMath_Round |
float afVal |
|
float |
cMath_RoundFloatToDecimals |
float afVal,
int alPrecision |
|
int |
cMath_RoundToInt |
float afVal |
|
cVector2l |
cMath_RoundToInt |
const cVector2f &in avX |
|
cVector3l |
cMath_RoundToInt |
const cVector3f &in avX |
|
void |
cMath_SetBitFlag |
int &out alFlagNum,
int alBit,
bool abSet |
|
float |
cMath_SigmoidCurve |
float afX |
|
float |
cMath_Sign |
float afX |
|
int |
cMath_Sign |
int alX |
|
float |
cMath_Sin |
float afX |
|
float |
cMath_Sqrt |
float afX |
|
float |
cMath_Tan |
float afX |
|
float |
cMath_ToDeg |
float afAngle |
|
float |
cMath_ToRad |
float afAngle |
|
cPlanef |
cMath_TransformPlane |
const cMatrixf &in a_mtxTransform,
const cPlanef &in aPlane |
|
float |
cMath_TurnAngle |
float afAngle,
float afFinalAngle,
float afSpeed,
float afMaxAngle |
|
float |
cMath_TurnAngleDeg |
float afAngle,
float afFinalAngle,
float afSpeed |
|
float |
cMath_TurnAngleRad |
float afAngle,
float afFinalAngle,
float afSpeed |
|
cVector2f |
cMath_Vector2Abs |
const cVector2f &in avVec |
|
cVector2f |
cMath_Vector2CatmullRom |
const cVector2f &in avP0,
const cVector2f &in avP1,
const cVector2f &in avP2,
const cVector2f &in avP3,
float afFract |
|
cVector2f |
cMath_Vector2Ceil |
const cVector2f &in avVec |
|
float |
cMath_Vector2Dist |
const cVector2f &in avPosA,
const cVector2f &in avPosB |
|
float |
cMath_Vector2DistSqr |
const cVector2f &in avPosA,
const cVector2f &in avPosB |
|
float |
cMath_Vector2DistSqrXY |
const cVector3f &in avPosA,
const cVector3f &in avPosB |
|
float |
cMath_Vector2DistSqrXZ |
const cVector3f &in avPosA,
const cVector3f &in avPosB |
|
float |
cMath_Vector2DistSqrYZ |
const cVector3f &in avPosA,
const cVector3f &in avPosB |
|
float |
cMath_Vector2DistXY |
const cVector3f &in avPosA,
const cVector3f &in avPosB |
|
float |
cMath_Vector2DistXZ |
const cVector3f &in avPosA,
const cVector3f &in avPosB |
|
float |
cMath_Vector2DistYZ |
const cVector3f &in avPosA,
const cVector3f &in avPosB |
|
float |
cMath_Vector2Dot |
const cVector2f &in avPosA,
const cVector2f &in avPosB |
|
cVector2f |
cMath_Vector2Floor |
const cVector2f &in avVec |
|
cVector2f |
cMath_Vector2IncreaseTo |
const cVector2f &in avX,
const cVector2f &in avAdd,
const cVector2f &in avDest |
|
cVector2f |
cMath_Vector2Max |
const cVector2f &in avVecA,
const cVector2f &in avVecB |
|
float |
cMath_Vector2MaxElement |
const cVector2f &in avVec |
|
cVector2f |
cMath_Vector2Min |
const cVector2f &in avVecA,
const cVector2f &in avVecB |
|
float |
cMath_Vector2MinElement |
const cVector2f &in avVec |
|
cVector2f |
cMath_Vector2Normalize |
const cVector2f &in avVec |
|
cVector2f |
cMath_Vector2Rotate |
const cVector2f &in avVec,
float afAngle |
|
cVector2f |
cMath_Vector2ToDeg |
const cVector2f &in avVec |
|
cVector2f |
cMath_Vector2ToRad |
const cVector2f &in avVec |
|
cVector3f |
cMath_Vector3Abs |
const cVector3f &in avVec |
|
float |
cMath_Vector3Angle |
const cVector3f &in avVecA,
const cVector3f &in avVecB |
|
cVector3f |
cMath_Vector3AngleDistance |
const cVector3f &in avAngles1,
const cVector3f &in avAngles2,
float afMaxAngle |
|
cVector3f |
cMath_Vector3AngleDistanceDeg |
const cVector3f &in avAngles1,
const cVector3f &in avAngles2 |
|
cVector3f |
cMath_Vector3AngleDistanceRad |
const cVector3f &in avAngles1,
const cVector3f &in avAngles2 |
|
cVector3f |
cMath_Vector3CatmullRom |
const cVector3f &in avP0,
const cVector3f &in avP1,
const cVector3f &in avP2,
const cVector3f &in avP3,
float afFract |
|
cVector3f |
cMath_Vector3Ceil |
const cVector3f &in avVec |
|
cVector3f |
cMath_Vector3ClampLength |
const cVector3f &in avVec,
float afMinLength,
float afMaxLength |
|
void |
cMath_Vector3ClampToLength |
cVector3f &in avVec,
float afMaxLength |
|
cVector3f |
cMath_Vector3Cross |
const cVector3f &in avVecA,
const cVector3f &in avVecB |
|
float |
cMath_Vector3Dist |
const cVector3f &in avStartPos,
const cVector3f &in avEndPos |
|
float |
cMath_Vector3DistSqr |
const cVector3f &in avStartPos,
const cVector3f &in avEndPos |
|
float |
cMath_Vector3Dot |
const cVector3f &in avVecA,
const cVector3f &in avVecB |
|
cVector3f |
cMath_Vector3Floor |
const cVector3f &in avVec |
|
cVector3f |
cMath_Vector3IncreaseTo |
const cVector3f &in avX,
const cVector3f &in avAdd,
const cVector3f &in avDest |
|
cVector3f |
cMath_Vector3Max |
const cVector3f &in avVecA,
const cVector3f &in avVecB |
|
float |
cMath_Vector3MaxElement |
const cVector3f &in avVec |
|
cVector3f |
cMath_Vector3MaxLength |
const cVector3f &in avVec,
float afMaxLength |
|
cVector3f |
cMath_Vector3Min |
const cVector3f &in avVecA,
const cVector3f &in avVecB |
|
float |
cMath_Vector3MinElement |
const cVector3f &in avVec |
|
cVector3f |
cMath_Vector3MinLength |
const cVector3f &in avVec,
float afMinLength |
|
cVector3f |
cMath_Vector3Normalize |
const cVector3f &in avVec |
|
void |
cMath_Vector3OrthonormalizeBasis |
const cVector3f &in avSrcRight,
const cVector3f &in avSrcUp,
const cVector3f &in avSrcForward,
cVector3f &out avDstRight,
cVector3f &out avDstUp,
cVector3f &out avDstForward |
|
cVector3f |
cMath_Vector3Project |
const cVector3f &in avSrcVec,
const cVector3f &in avDestVec |
|
cVector3f |
cMath_Vector3ProjectOnPlane |
const cVector3f &in avSrcVec,
const cVector3f &in avPlaneNormal |
|
cVector3f |
cMath_Vector3Reflect |
const cVector3f &in avVec,
const cVector3f &in avNormal |
|
cVector3f |
cMath_Vector3SphereSurfacePoint |
const cVector2f &in avSeed,
float afRadius |
|
cVector3f |
cMath_Vector3ToDeg |
const cVector3f &in avVec |
|
cVector3f |
cMath_Vector3ToRad |
const cVector3f &in avVec |
|
cVector3f |
cMath_Vector3UnProject |
const cVector3f &in avVec,
const cRect2f &in aScreenRect,
const cMatrixf &in a_mtxViewProj |
|
float |
cMath_Wrap |
float afX,
float afMin,
float afMax |
|