|
| virtual tF64 | Sqrt (tF64 v) const =0 |
| | Square root. More...
|
| |
| virtual tF64 | Sin (tF64 v) const =0 |
| | Sinus. More...
|
| |
| virtual tF64 | Cos (tF64 v) const =0 |
| | Cosinus. More...
|
| |
| virtual tF64 | ASin (tF64 v) const =0 |
| | Arc Sinus. More...
|
| |
| virtual tF64 | ACos (tF64 v) const =0 |
| | Arc Cosinus. More...
|
| |
| virtual tF64 | Tan (tF64 v) const =0 |
| | Tan. More...
|
| |
| virtual tF64 | ATan (tF64 v) const =0 |
| | Arc Tangent. More...
|
| |
| virtual tF64 | ATan2 (tF64 x, tF64 y) const =0 |
| | Arc Tangent 2. More...
|
| |
| virtual tF64 | LogX (tF64 v, tF64 n) const =0 |
| | Log base N. More...
|
| |
| virtual tF64 | LogE (tF64 v) const =0 |
| | Log base E. More...
|
| |
| virtual tF64 | Log2 (tF64 v) const =0 |
| | Log base 2. More...
|
| |
| virtual tF64 | Log10 (tF64 v) const =0 |
| | Log base 10. More...
|
| |
| virtual tF64 | Pow (tF64 v, tF64 e) const =0 |
| | Power. More...
|
| |
| virtual tF64 | Floor (tF64 v) const =0 |
| | Floor. More...
|
| |
| virtual tF64 | Ceil (tF64 v) const =0 |
| | Ceil. More...
|
| |
| virtual tF64 | Exp (tF64 v) const =0 |
| | Exponential. More...
|
| |
| virtual tF64 | Abs (tF64 v) const =0 |
| | Absolute value. More...
|
| |
| virtual tF64 | ToRad (tF64 afDeg) const =0 |
| | Convert degree to radian. More...
|
| |
| virtual tF64 | ToDeg (tF64 afRad) const =0 |
| | Convert radian to degree. More...
|
| |
| virtual tF64 | Min (tF64 a, tF64 b) const =0 |
| | Minimum between a and b. More...
|
| |
| virtual tF64 | Min3 (tF64 a, tF64 b, tF64 c) const =0 |
| | Minimum between a, b and c. More...
|
| |
| virtual tF64 | Max (tF64 a, tF64 b) const =0 |
| | Maximum between a and b. More...
|
| |
| virtual tF64 | Max3 (tF64 a, tF64 b, tF64 c) const =0 |
| | Maximum between a, b and c. More...
|
| |
| virtual tF64 | Mid (tF64 a, tF64 b, tF64 c) const =0 |
| | Middle value between a, b and c. More...
|
| |
| virtual tF64 | Clamp (tF64 v, tF64 afMin, tF64 afMax) const =0 |
| | Clamp the specified number between min and max. More...
|
| |
| virtual tF64 | ClampZeroOne (tF64 a) const =0 |
| | Clamp the specified number between zero and one. More...
|
| |
| virtual tF64 | Lerp (tF64 a, tF64 b, tF64 f) const =0 |
| | Linear interpolation between a and b. More...
|
| |
| virtual tF64 | BlendIntoAccumulator (tF64 accumulator, tF64 newValue, tF64 smoothRate) const =0 |
| | Blends new values into an accumulator to produce a smoothed time series. More...
|
| |
|
| virtual sVec2f | Vec2Add (const sVec2f &aLeft, const sVec2f &aRight) const =0 |
| | Add. More...
|
| |
| virtual sVec2f | Vec2Sub (const sVec2f &aLeft, const sVec2f &aRight) const =0 |
| | Subtract. More...
|
| |
| virtual sVec2f | Vec2Mul (const sVec2f &aLeft, const sVec2f &aRight) const =0 |
| | Multiply. More...
|
| |
| virtual sVec2f | Vec2Div (const sVec2f &aLeft, const sVec2f &aRight) const =0 |
| | Divide. More...
|
| |
| virtual sVec2f | Vec2Scale (const sVec2f &aLeft, tF32 afRight) const =0 |
| | Scale. More...
|
| |
| virtual tI32 | Vec2Compare (const sVec2f &aLeft, const sVec2f &aRight) const =0 |
| | Compare. More...
|
| |
| virtual tF32 | Vec2Length (const sVec2f &aV) const =0 |
| | Length. More...
|
| |
| virtual tF32 | Vec2LengthSq (const sVec2f &aV) const =0 |
| | Length squared. More...
|
| |
| virtual sVec2f | Vec2Normalize (const sVec2f &aV) const =0 |
| | Normalize. More...
|
| |
| virtual tBool | Vec2IsNormal (const sVec2f &aV) const =0 |
| | Return eTrue if it's a normal vector. More...
|
| |
| virtual tF32 | Vec2Dot (const sVec2f &aLeft, const sVec2f &aRight) const =0 |
| | Dot product. More...
|
| |
| virtual sVec2f | Vec2Lerp (const sVec2f &aLeft, const sVec2f &aRight, tF32 afF) const =0 |
| | Lerp. More...
|
| |
| virtual sVec2f | Vec2Lerp2 (const sVec2f &aLeft, const sVec2f &aRight, const sVec2f &aF) const =0 |
| | Lerp. More...
|
| |
| virtual sVec2f | Vec2BlendIntoAccumulator (const sVec2f &accumulator, const sVec2f &newValue, tF32 smoothRate) const =0 |
| | Blends new values into an accumulator to produce a smoothed time series. More...
|
| |
| virtual sVec2f | Vec2Abs (const sVec2f &aV) const =0 |
| | Abs. More...
|
| |
| virtual sVec2f | Vec2Min (const sVec2f &aLeft, const sVec2f &aRight) const =0 |
| | Min. More...
|
| |
| virtual sVec2f | Vec2Max (const sVec2f &aLeft, const sVec2f &aRight) const =0 |
| | Max. More...
|
| |
| virtual sVec2f | Vec2CatmullRom (const sVec2f &V1, const sVec2f &V2, const sVec2f &V3, const sVec2f &V4, tF32 s) const =0 |
| | CatmullRom spline. More...
|
| |
| virtual sVec2f | Vec2Hermite (const sVec2f &V1, const sVec2f &V2, const sVec2f &V3, const sVec2f &V4, tF32 s) const =0 |
| | Hermite spline. More...
|
| |
| virtual sVec2f | Vec2BaryCentric (const sVec2f &V1, const sVec2f &V2, const sVec2f &V3, tF32 u, tF32 v) const =0 |
| | BaryCentric. More...
|
| |
| virtual sVec4f | Vec2Transform (const sVec2f &aVec, const sMatrixf &aMatrix) const =0 |
| | Transform by the specified matrix. More...
|
| |
| virtual sVec2f | Vec2TransformCoord (const sVec2f &aVec, const sMatrixf &aMatrix) const =0 |
| | Transform by the specified matrix. More...
|
| |
| virtual sVec2f | Vec2TransformNormal (const sVec2f &aVec, const sMatrixf &aMatrix) const =0 |
| | Transform by the specified matrix. More...
|
| |
| virtual void | Vec2TransformCoordArray (tVec2fCVec *apVecs, const sMatrixf &aMatrix) const =0 |
| | Transform an array by the specified matrix. More...
|
| |
| virtual void | Vec2TransformNormalArray (tVec2fCVec *apVecs, const sMatrixf &aMatrix) const =0 |
| | Transform an array by the specified matrix. More...
|
| |
|
| virtual sVec3f | Vec3Add (const sVec3f &aLeft, const sVec3f &aRight) const =0 |
| | Add. More...
|
| |
| virtual sVec3f | Vec3Sub (const sVec3f &aLeft, const sVec3f &aRight) const =0 |
| | Subtract. More...
|
| |
| virtual sVec3f | Vec3Mul (const sVec3f &aLeft, const sVec3f &aRight) const =0 |
| | Multiply. More...
|
| |
| virtual sVec3f | Vec3Div (const sVec3f &aLeft, const sVec3f &aRight) const =0 |
| | Divide. More...
|
| |
| virtual sVec3f | Vec3Scale (const sVec3f &aLeft, tF32 afRight) const =0 |
| | Scale. More...
|
| |
| virtual tI32 | Vec3Compare (const sVec3f &aLeft, const sVec3f &aRight) const =0 |
| | Compare. More...
|
| |
| virtual tF32 | Vec3Length (const sVec3f &aV) const =0 |
| | Length. More...
|
| |
| virtual tF32 | Vec3LengthSq (const sVec3f &aV) const =0 |
| | Length squared. More...
|
| |
| virtual sVec3f | Vec3Normalize (const sVec3f &aV) const =0 |
| | Normalize. More...
|
| |
| virtual tBool | Vec3IsNormal (const sVec3f &aV) const =0 |
| | Return eTrue if it's a normal vector. More...
|
| |
| virtual tF32 | Vec3Dot (const sVec3f &aLeft, const sVec3f &aRight) const =0 |
| | Dot product. More...
|
| |
| virtual sVec3f | Vec3Cross (const sVec3f &aLeft, const sVec3f &aRight) const =0 |
| | Cross product. More...
|
| |
| virtual sVec3f | Vec3Lerp (const sVec3f &aLeft, const sVec3f &aRight, tF32 afF) const =0 |
| | Lerp. More...
|
| |
| virtual sVec3f | Vec3Lerp2 (const sVec3f &aLeft, const sVec3f &aRight, const sVec3f &aF) const =0 |
| | Lerp. More...
|
| |
| virtual sVec3f | Vec3BlendIntoAccumulator (const sVec3f &accumulator, const sVec3f &newValue, tF32 smoothRate) const =0 |
| | Blends new values into an accumulator to produce a smoothed time series. More...
|
| |
| virtual sVec3f | Vec3Abs (const sVec3f &aV) const =0 |
| | Abs. More...
|
| |
| virtual sVec3f | Vec3Min (const sVec3f &aLeft, const sVec3f &aRight) const =0 |
| | Min. More...
|
| |
| virtual sVec3f | Vec3Max (const sVec3f &aLeft, const sVec3f &aRight) const =0 |
| | Max. More...
|
| |
| virtual sVec3f | Vec3CatmullRom (const sVec3f &V1, const sVec3f &V2, const sVec3f &V3, const sVec3f &V4, tF32 s) const =0 |
| | CatmullRom spline. More...
|
| |
| virtual sVec3f | Vec3Hermite (const sVec3f &V1, const sVec3f &V2, const sVec3f &V3, const sVec3f &V4, tF32 s) const =0 |
| | Hermite spline. More...
|
| |
| virtual sVec3f | Vec3BaryCentric (const sVec3f &V1, const sVec3f &V2, const sVec3f &V3, tF32 u, tF32 v) const =0 |
| | BaryCentric. More...
|
| |
| virtual sVec4f | Vec3Transform (const sVec3f &aVec, const sMatrixf &aMatrix) const =0 |
| | Transform by the specified matrix. More...
|
| |
| virtual sVec3f | Vec3TransformCoord (const sVec3f &aVec, const sMatrixf &aMatrix) const =0 |
| | Transform by the specified matrix. More...
|
| |
| virtual sVec3f | Vec3TransformNormal (const sVec3f &aVec, const sMatrixf &aMatrix) const =0 |
| | Transform by the specified matrix. More...
|
| |
| virtual void | Vec3TransformCoordArray (tVec3fCVec *apVecs, const sMatrixf &aMatrix) const =0 |
| | Transform an array by the specified matrix. More...
|
| |
| virtual void | Vec3TransformNormalArray (tVec3fCVec *apVecs, const sMatrixf &aMatrix) const =0 |
| | Transform an array by the specified matrix. More...
|
| |
| virtual sVec3f | Vec3Unproject (const sVec3f &avIn, const sRectf &aVP, const sMatrixf &amtxViewProj) const =0 |
| | Unproject a vector. More...
|
| |
| virtual sVec3f | Vec3Project (const sVec3f &avPos, const sMatrixf &amtxWVP, const sRectf &aRect) const =0 |
| | Project a vector. More...
|
| |
| virtual sVec4f | Vec3ProjectRHW (const sVec3f &avPos, const sMatrixf &amtxWVP, const sRectf &aRect) const =0 |
| | Project a vector. More...
|
| |
| virtual sVec3f | Vec3Reflect (const sVec3f &Dir, const sVec3f &Normal) const =0 |
| | Returns a vector reflected about the plane indicated by the specified normal. More...
|
| |
|
| virtual sVec4f | Vec4Add (const sVec4f &aLeft, const sVec4f &aRight) const =0 |
| | Add. More...
|
| |
| virtual sVec4f | Vec4Sub (const sVec4f &aLeft, const sVec4f &aRight) const =0 |
| | Subtract. More...
|
| |
| virtual sVec4f | Vec4Mul (const sVec4f &aLeft, const sVec4f &aRight) const =0 |
| | Multiply. More...
|
| |
| virtual sVec4f | Vec4Div (const sVec4f &aLeft, const sVec4f &aRight) const =0 |
| | Divide. More...
|
| |
| virtual sVec4f | Vec4Scale (const sVec4f &aLeft, tF32 afRight) const =0 |
| | Scale. More...
|
| |
| virtual tI32 | Vec4Compare (const sVec4f &aLeft, const sVec4f &aRight) const =0 |
| | Compare. More...
|
| |
| virtual tF32 | Vec4Length (const sVec4f &aV) const =0 |
| | Length. More...
|
| |
| virtual tF32 | Vec4LengthSq (const sVec4f &aV) const =0 |
| | Length squared. More...
|
| |
| virtual sVec4f | Vec4Normalize (const sVec4f &aV) const =0 |
| | Normalize. More...
|
| |
| virtual tBool | Vec4IsNormal (const sVec4f &aV) const =0 |
| | Return eTrue if it's a normal vector. More...
|
| |
| virtual tF32 | Vec4Dot (const sVec4f &aLeft, const sVec4f &aRight) const =0 |
| | Dot product. More...
|
| |
| virtual sVec4f | Vec4Cross (const sVec4f &aA, const sVec4f &aB, const sVec4f &aC) const =0 |
| | Cross product. More...
|
| |
| virtual sVec4f | Vec4Lerp (const sVec4f &aLeft, const sVec4f &aRight, tF32 afF) const =0 |
| | Lerp. More...
|
| |
| virtual sVec4f | Vec4Lerp2 (const sVec4f &aLeft, const sVec4f &aRight, const sVec4f &aF) const =0 |
| | Lerp. More...
|
| |
| virtual sVec4f | Vec4BlendIntoAccumulator (const sVec4f &accumulator, const sVec4f &newValue, tF32 smoothRate) const =0 |
| | Blends new values into an accumulator to produce a smoothed time series. More...
|
| |
| virtual sVec4f | Vec4Abs (const sVec4f &aV) const =0 |
| | Abs. More...
|
| |
| virtual sVec4f | Vec4Min (const sVec4f &aLeft, const sVec4f &aRight) const =0 |
| | Min. More...
|
| |
| virtual sVec4f | Vec4Max (const sVec4f &aLeft, const sVec4f &aRight) const =0 |
| | Max. More...
|
| |
| virtual sVec4f | Vec4CatmullRom (const sVec4f &V1, const sVec4f &V2, const sVec4f &V3, const sVec4f &V4, tF32 s) const =0 |
| | CatmullRom spline. More...
|
| |
| virtual sVec4f | Vec4Hermite (const sVec4f &V1, const sVec4f &V2, const sVec4f &V3, const sVec4f &V4, tF32 s) const =0 |
| | Hermite spline. More...
|
| |
| virtual sVec4f | Vec4BaryCentric (const sVec4f &V1, const sVec4f &V2, const sVec4f &V3, tF32 u, tF32 v) const =0 |
| | BaryCentric. More...
|
| |
| virtual sVec4f | Vec4Transform (const sVec4f &aVec, const sMatrixf &aMatrix) const =0 |
| | Transform by the specified matrix. More...
|
| |
| virtual void | Vec4TransformArray (tVec4fCVec *apVecs, const sMatrixf &aMatrix) const =0 |
| | Transform an array by the specified matrix. More...
|
| |
|
| virtual sMatrixf | MatrixIdentity () const =0 |
| | Get the identity matrix. More...
|
| |
| virtual tBool | MatrixIsIdentity (const sMatrixf &M) const =0 |
| | Check if a matrix is identity. More...
|
| |
| virtual sMatrixf | MatrixAdd (const sMatrixf &aLeft, const sMatrixf &aRight) const =0 |
| | Add. More...
|
| |
| virtual sMatrixf | MatrixSub (const sMatrixf &aLeft, const sMatrixf &aRight) const =0 |
| | Subtract. More...
|
| |
| virtual sMatrixf | MatrixScale (const sMatrixf &aLeft, tF32 afRight) const =0 |
| | Scale. More...
|
| |
| virtual sMatrixf | MatrixLerp (const sMatrixf &A, const sMatrixf &B, tF32 fFac) const =0 |
| | Lerp. More...
|
| |
| virtual tI32 | MatrixCompare (const sMatrixf &aLeft, const sMatrixf &aRight) const =0 |
| | Compare. More...
|
| |
| virtual sMatrixf | MatrixMultiply (const sMatrixf &M1, const sMatrixf &M2) const =0 |
| | Multiply two matrix. More...
|
| |
| virtual tF32 | MatrixDeterminant2 (const sMatrixf &M) const =0 |
| | Compute the top left 2x2 matrix determinant. More...
|
| |
| virtual tF32 | MatrixDeterminant3 (const sMatrixf &M) const =0 |
| | Compute the top left 3x3 matrix determinant. More...
|
| |
| virtual tF32 | MatrixDeterminant (const sMatrixf &M) const =0 |
| | Compute matrix determinant. More...
|
| |
| virtual tF32 | MatrixGetHandeness (const sMatrixf &M) const =0 |
| | Compute matrix handeness. More...
|
| |
| virtual sMatrixf | MatrixInverse (const sMatrixf &M) const =0 |
| | Inverse the given matrix. More...
|
| |
| virtual sMatrixf | MatrixTransformInverse (const sMatrixf &M) const =0 |
| | Inverse the transformation part. Means transpose the rotation and negate the translation. More...
|
| |
| virtual sMatrixf | MatrixLookAtRH (const sVec3f &Eye, const sVec3f &At, const sVec3f &Up) const =0 |
| | Make a right handed look at matrix. More...
|
| |
| virtual sMatrixf | MatrixLookAtLH (const sVec3f &Eye, const sVec3f &At, const sVec3f &Up) const =0 |
| | Make a left handed look at matrix. More...
|
| |
| virtual sMatrixf | MatrixOrthoRH (tF32 w, tF32 h, tF32 zn, tF32 zf) const =0 |
| | Make a right handed orthogonal projection matrix. More...
|
| |
| virtual sMatrixf | MatrixOrthoLH (tF32 w, tF32 h, tF32 zn, tF32 zf) const =0 |
| | Make a left handed orthogonal projection matrix. More...
|
| |
| virtual sMatrixf | MatrixOrthoOffCenterRH (tF32 l, tF32 r, tF32 t, tF32 b, tF32 zn, tF32 zf) const =0 |
| | Make a right handed orthogonal projection matrix. More...
|
| |
| virtual sMatrixf | MatrixOrthoOffCenterLH (tF32 l, tF32 r, tF32 t, tF32 b, tF32 zn, tF32 zf) const =0 |
| | Make a left handed orthogonal projection matrix. More...
|
| |
| virtual sMatrixf | MatrixPerspectiveRH (tF32 w, tF32 h, tF32 zn, tF32 zf) const =0 |
| | Make a right handed perspective projection matrix. More...
|
| |
| virtual sMatrixf | MatrixPerspectiveLH (tF32 w, tF32 h, tF32 zn, tF32 zf) const =0 |
| | Make a left handed perspective projection matrix. More...
|
| |
| virtual sMatrixf | MatrixPerspectiveFovRH (tF32 fovy, tF32 aspect, tF32 zn, tF32 zf) const =0 |
| | Make a right handed perspective projection matrix. More...
|
| |
| virtual sMatrixf | MatrixPerspectiveFovLH (tF32 fovy, tF32 aspect, tF32 zn, tF32 zf) const =0 |
| | Make a left handed perspective projection matrix. More...
|
| |
| virtual sMatrixf | MatrixPerspectiveOffCenterRH (tF32 l, tF32 r, tF32 t, tF32 b, tF32 zn, tF32 zf) const =0 |
| | Make a right handed perspective projection matrix. More...
|
| |
| virtual sMatrixf | MatrixPerspectiveOffCenterLH (tF32 l, tF32 r, tF32 t, tF32 b, tF32 zn, tF32 zf) const =0 |
| | Make a left handed perspective projection matrix. More...
|
| |
| virtual sMatrixf | MatrixReflect (const sPlanef &Plane) const =0 |
| | Make a reflection matrix. More...
|
| |
| virtual sMatrixf | MatrixRotationAxis (const sVec3f &V, tF32 angle) const =0 |
| | Make a rotation matrix. More...
|
| |
| virtual sMatrixf | MatrixRotationQuat (const sQuatf &Q) const =0 |
| | Make a rotation matrix. More...
|
| |
| virtual sMatrixf | MatrixRotationX (tF32 angle) const =0 |
| | Make a rotation matrix. More...
|
| |
| virtual sMatrixf | MatrixRotationY (tF32 angle) const =0 |
| | Make a rotation matrix. More...
|
| |
| virtual sMatrixf | MatrixRotationZ (tF32 angle) const =0 |
| | Make a rotation matrix. More...
|
| |
| virtual sMatrixf | MatrixRotationYawPitchRoll (tF32 yaw, tF32 pitch, tF32 roll) const =0 |
| | Make a rotation matrix. More...
|
| |
| virtual sVec3f | MatrixDecomposeYawPitchRoll (const sMatrixf &M) const =0 |
| | Extract the rotation contained in the provided matrix as yaw/heading/Y, pitch/X and roll/bank/Z in radians. More...
|
| |
| virtual sMatrixf | MatrixScaling (const sVec3f &V) const =0 |
| | Make a scaling matrix. More...
|
| |
| virtual sMatrixf | MatrixVecScale (const sMatrixf &M, const sVec3f &V) const =0 |
| | Scale a matrix. More...
|
| |
| virtual sMatrixf | MatrixShadow (const sVec4f &vLight, const sPlanef &Plane) const =0 |
| | Make a shadow projection matrix. More...
|
| |
| virtual sMatrixf | MatrixTranslation (const sVec3f &V) const =0 |
| | Make a translation matrix. More...
|
| |
| virtual sMatrixf | MatrixTranspose (const sMatrixf &M) const =0 |
| | Transpose a matrix. More...
|
| |
| virtual sMatrixf | MatrixTranspose3x3 (const sMatrixf &M) const =0 |
| | Transpose a matrix. More...
|
| |
| virtual sMatrixf | MatrixTextureOffset (tF32 fBias, tI32 nTexW, tI32 nTexH)=0 |
| | Texture offset matrix. More...
|
| |
| virtual sMatrixf | MatrixTextureOffset2 (tF32 fBias, tI32 nTexW, tI32 nTexH, tI32 nDepthBits)=0 |
| | Texture offset matrix that takes in account a bit depth. More...
|
| |
| virtual sVec3f | MatrixGetForward (const sMatrixf &M) const =0 |
| | Get the forward vector of a matrix. More...
|
| |
| virtual sVec3f | MatrixGetUp (const sMatrixf &M) const =0 |
| | Get the up vector of a matrix. More...
|
| |
| virtual sVec3f | MatrixGetRight (const sMatrixf &M) const =0 |
| | Get the right vector of a matrix. More...
|
| |
| virtual sVec3f | MatrixGetTranslation (const sMatrixf &M) const =0 |
| | Get the translation vector of a matrix. More...
|
| |
| virtual sMatrixf | MatrixSetForward (const sMatrixf &M, const sVec3f &V) const =0 |
| | Set the forward vector of a matrix. More...
|
| |
| virtual sMatrixf | MatrixSetUp (const sMatrixf &M, const sVec3f &V) const =0 |
| | Set the up vector of a matrix. More...
|
| |
| virtual sMatrixf | MatrixSetRight (const sMatrixf &M, const sVec3f &V) const =0 |
| | Set the right vector of a matrix. More...
|
| |
| virtual sMatrixf | MatrixSetTranslation (const sMatrixf &M, const sVec3f &V) const =0 |
| | Set the translation vector of a matrix. More...
|
| |
| virtual tBool | MatrixIsNormal (const sMatrixf &M) const =0 |
| | Check if a matrix is normalized. More...
|
| |
| virtual tBool | MatrixIsOrthogonal (const sMatrixf &M) const =0 |
| | Check if a matrix is orthogonal. More...
|
| |
| virtual tBool | MatrixIsOrthoNormal (const sMatrixf &M) const =0 |
| | Check if a matrix is orthonormal. More...
|
| |
| virtual sMatrixf | MatrixSetRotation (const sMatrixf &In, const sMatrixf &RotM) const =0 |
| | Set the rotation part of a matrix. More...
|
| |
| virtual sVec3f | MatrixToEuler (const sMatrixf &M) const =0 |
| | Get euler angles from a rotation matrix. More...
|
| |
| virtual sMatrixf | MatrixToCoordinateSystem (const sVec3f &avRight, const sVec3f &avUp, const sVec3f &avFwd, const sVec3f &avOrg) const =0 |
| | Make a coordinate system conversion matrix. More...
|
| |
| virtual sVec3f | MatrixGetProjectedTranslation (const sMatrixf &In) const =0 |
| | Get the translation by 'unprojecting' the translation from the matrix's axis (translation of inverse matrix). More...
|
| |
| virtual sMatrixf | MatrixSetProjectedTranslation (const sMatrixf &In, const sVec3f &avT) const =0 |
| | Set the translation by projecting it onto the matrix's axis. More...
|
| |
| virtual sMatrixf | MatrixSetNotRotation (const sMatrixf &In, const sMatrixf &M) const =0 |
| | Set the non-rotation part of the matrix. More...
|
| |
| virtual sMatrixf | MatrixRotate (const sMatrixf &M1, const sMatrixf &M2) const =0 |
| | Rotate the matrix, this affects only the 3x3 top-left rotation part of the matrix. More...
|
| |
| virtual sMatrixf | MatrixViewport (const sVec4f &aVP, tF32 afMinZ, tF32 afMaxZ)=0 |
| | Compute a viewport matrix. More...
|
| |
| virtual sMatrixf | MatrixAdjustViewport (const sVec4f &aContextVP, const sVec4f &aVirtualVP, tF32 afMinZ, tF32 afMaxZ)=0 |
| | Compute a matrix that will compensate the projection matrix to fit into a viewport which is different of the context/physical viewport. More...
|
| |
| virtual sVec3f | MatrixDecomposeGetTranslation (const sMatrixf &aMatrix)=0 |
| | Get the translation part of a matrix. More...
|
| |
| virtual sVec3f | MatrixDecomposeGetZYX (const sMatrixf &aMatrix)=0 |
| | Get the rotation part of a matrix as euler angle in the Z*Y*X rotation order. More...
|
| |
| virtual sQuatf | MatrixDecomposeGetQ (const sMatrixf &aMatrix)=0 |
| | Get the rotation part of a matrix as a quaternion. More...
|
| |
| virtual sVec4f | MatrixDecomposeGetScale (const sMatrixf &aMatrix)=0 |
| | Get the local scaling part of a matrix (x,y,z,handness) More...
|
| |
| virtual sMatrixf | MatrixCompose (const sVec3f &aT, const sVec3f &aZYX, const sVec4f &aS)=0 |
| | Build a matrix from a translation, zyx euler rotation and scale. More...
|
| |
| virtual sMatrixf | MatrixComposeQ (const sVec3f &aT, const sQuatf &aQ, const sVec4f &aS)=0 |
| | Build a matrix from a translation, rotation quaternion and scale. More...
|
| |
|
| virtual sQuatf | QuatIdentity () const =0 |
| | Get the identity quaternion. More...
|
| |
| virtual tBool | QuatIsIdentity (const sQuatf &Q) const =0 |
| | Check if the quaternion is identity. More...
|
| |
| virtual sQuatf | QuatAdd (const sQuatf &aLeft, const sQuatf &aRight) const =0 |
| | Add. More...
|
| |
| virtual sQuatf | QuatSub (const sQuatf &aLeft, const sQuatf &aRight) const =0 |
| | Subtract. More...
|
| |
| virtual sQuatf | QuatScale (const sQuatf &aLeft, tF32 afRight) const =0 |
| | Scale. More...
|
| |
| virtual tI32 | QuatCompare (const sQuatf &aLeft, const sQuatf &aRight) const =0 |
| | Compare. More...
|
| |
| virtual sQuatf | QuatBaryCentric (const sQuatf &Q1, const sQuatf &Q2, const sQuatf &Q3, tF32 f, tF32 g) const =0 |
| | BaryCenter. More...
|
| |
| virtual sQuatf | QuatConjugate (const sQuatf &Q) const =0 |
| | Quat conjugate. More...
|
| |
| virtual tF32 | QuatDot (const sQuatf &Q1, const sQuatf &Q2) const =0 |
| | Quat dot. More...
|
| |
| virtual sQuatf | QuatExp (const sQuatf &Q) const =0 |
| | Quat exponentials. More...
|
| |
| virtual sQuatf | QuatInverse (const sQuatf &Q) const =0 |
| | Quat inverse. More...
|
| |
| virtual tF32 | QuatLength (const sQuatf &Q) const =0 |
| | Quat length. More...
|
| |
| virtual tF32 | QuatLengthSq (const sQuatf &Q) const =0 |
| | Quat length squared. More...
|
| |
| virtual sQuatf | QuatLn (const sQuatf &Q) const =0 |
| | Calculates the natural logarithm. More...
|
| |
| virtual sQuatf | QuatMultiply (const sQuatf &Q1, const sQuatf &Q2) const =0 |
| | Quat multiply. More...
|
| |
| virtual sQuatf | QuatNormalize (const sQuatf &Q) const =0 |
| | Quat normalize. More...
|
| |
| virtual sQuatf | QuatRotationAxis (const sVec3f &V, tF32 angle) const =0 |
| | Rotation quaternion. More...
|
| |
| virtual sQuatf | QuatRotationX (tF32 angle) const =0 |
| | Rotation quaternion. More...
|
| |
| virtual sQuatf | QuatRotationY (tF32 angle) const =0 |
| | Rotation quaternion. More...
|
| |
| virtual sQuatf | QuatRotationZ (tF32 angle) const =0 |
| | Rotation quaternion. More...
|
| |
| virtual sQuatf | QuatRotationXYZ (const sVec3f &V) const =0 |
| | Rotation quaternion. More...
|
| |
| virtual sQuatf | QuatRotationMatrix (const sMatrixf &M) const =0 |
| | Rotation quaternion. More...
|
| |
| virtual sQuatf | QuatRotationYawPitchRoll (const tF32 yaw, const tF32 pitch, const tF32 roll) const =0 |
| | Rotation quaternion. More...
|
| |
| virtual sQuatf | QuatRotationVector (const sVec3f &vFrom, const sVec3f &vTo) const =0 |
| | Rotation quaternion. More...
|
| |
| virtual sQuatf | QuatSlerp (const sQuatf &Q1, const sQuatf &Q2, tF32 t, eQuatSlerp mode) const =0 |
| | Quat slerp. More...
|
| |
| virtual sQuatf | QuatSquad (const sQuatf &Q1, const sQuatf &Q2, const sQuatf &Q3, const sQuatf &Q4, tF32 t) const =0 |
| | Quat squad. More...
|
| |
| virtual sVec4f | QuatToAxisAngle (const sQuatf &Q) const =0 |
| | Quat to axis angle. More...
|
| |
| virtual sVec3f | QuatToEuler (const sQuatf &Q) const =0 |
| | Quat to euler. More...
|
| |
|
| virtual tF32 | PlaneDot (const sPlanef &P, const sVec4f &V) const =0 |
| | 4D dot product between a plane and a 4d vector. More...
|
| |
| virtual tF32 | PlaneDotCoord (const sPlanef &P, const sVec3f &V) const =0 |
| | 4D dot product between a plane and a 3d vector (w is assumed 1). More...
|
| |
| virtual tF32 | PlaneDotNormal (const sPlanef &P, const sVec3f &V) const =0 |
| | 3D dot product between a plane and a 3d vector. More...
|
| |
| virtual tF32 | PlaneDistance (const sPlanef &P, const sVec3f &V) const =0 |
| | Distance between a plane and the specified point. More...
|
| |
| virtual sPlanef | PlaneFromPointNormal (const sVec3f &vPoint, const sVec3f &vNormal) const =0 |
| | Construct a plane from a point and a normal. More...
|
| |
| virtual sPlanef | PlaneFromPoints (const sVec3f &V1, const sVec3f &V2, const sVec3f &V3) const =0 |
| | Construct a plane from three points. More...
|
| |
| virtual sVec4f | PlaneIntersectLine (const sPlanef &P, const sVec3f &V1, const sVec3f &V2) const =0 |
| | Compute the intersection between a plane and a line. More...
|
| |
| virtual sVec4f | PlaneIntersectRay (const sPlanef &P, const sVec3f &avRayPos, const sVec3f &avRayDir) const =0 |
| | Compute the intersection between a plane and a ray. More...
|
| |
| virtual sPlanef | PlaneNormalize (const sPlanef &P) const =0 |
| | Normalize the specified plane. More...
|
| |
| virtual sPlanef | PlaneTransform (const sPlanef &P, const sMatrixf &M) const =0 |
| | Transform the plane by the specified matrix. More...
|
| |
| virtual sPlanef | PlaneTransformInversedMatrix (const sPlanef &P, const sMatrixf &M) const =0 |
| | Transform the plane by the inverse of the specified matrix. More...
|
| |
| virtual sVec3f | PlaneIntersection (const sPlanef &PA, const sPlanef &PB, const sPlanef &PC) const =0 |
| | Get the intersection point between 3d planes. More...
|
| |
| virtual sVec3f | PlaneClosest (const sPlanef &P, const sVec3f &A) const =0 |
| | Get the closest point on the plane to the specified vector. More...
|
| |
| virtual ePlaneType | PlaneType (const sPlanef &Plane) const =0 |
| | Get the type of plane. More...
|
| |
| virtual ePlaneType | PlaneMaxType (const sPlanef &Plane) const =0 |
| | Get the type of plane's maximum component. More...
|
| |
| virtual sMatrixf | PlaneExtractCoordinateSystem (const sPlanef &Plane, const sVec3f &avFwdDir) const =0 |
| | Extract a coordinate system from the plane. More...
|
| |
| virtual tBool | PlaneIntersectSphere (const sPlanef &plane, const sVec3f &avCenter, const tF32 afRadius) const =0 |
| | Check if the specified sphere intersect the specified plane. More...
|
| |
|
| virtual tF32 | WrapFloat (tF32 aX, tF32 aMin, tF32 aMax) const =0 |
| | Wrap a floating value between the specified min and max values. More...
|
| |
| virtual tI32 | WrapInt (tI32 aX, tI32 aMin, tI32 aMax) const =0 |
| | Wrap an integer value between the specified min and max values. More...
|
| |
| virtual tF32 | WrapRad (tF32 aX) const =0 |
| | Wrap a radian between 0 and 2pi. More...
|
| |
| virtual tF32 | WrapRad2 (tF32 aX) const =0 |
| | Wrap a radian between -pi and pi. More...
|
| |
| virtual tF32 | GetAngleFromPoints2D (const sVec2f &aStartPos, const sVec2f &aGoalPos) const =0 |
| | Get the angle between two 2d vectors, returns an angle in [0;2pi]. More...
|
| |
| virtual sVec2f | GetAngleFromPoints3D (const sVec3f &aStartPos, const sVec3f &aGoalPos) const =0 |
| | Get the angles between two 3d vectors. More...
|
| |
| virtual eClassify | ClassifyPoint (const sPlanef &plane, const sVec3f &point) const =0 |
| | Check whether a point is in-front, behind or on a plane. More...
|
| |
| virtual tBool | IsPointInsideEdge (const sVec3f &A, const sVec3f &B, const sVec3f &P) const =0 |
| | Check whether a point is on the specified edge. More...
|
| |
| virtual sVec3f | ClosestPointOnLine (const sVec3f &A, const sVec3f &B, const sVec3f &P) const =0 |
| | Return the closest point to the specified vector P on the specified AB line. More...
|
| |
| virtual sVec3f | ClosestPointOnTriangle (const sVec3f &A, const sVec3f &B, const sVec3f &C, const sVec3f &P) const =0 |
| | Return the closest point to the specified vector P on the specified ABC triangle. More...
|
| |
| virtual tF32 | GetAngularDifference (tF32 afA, tF32 afB) const =0 |
| | Get the shortest 'distance' (angular difference) between two angles, no matter if the angles are in the [0;pi][-0;-pi] range or the [0;2pi] range. More...
|
| |
| virtual sVec3f | GetScreenPosition (const sVec3f &avPos, const sMatrixf &mtxVP, const sRectf &aRect) const =0 |
| | Get the screen position of the specified 3d world position. More...
|
| |
| virtual sVec3f | Vec3SphericalToCartesian (const sVec3f &avS) const =0 |
| | Convert a 3d spherical coordinate to a 3d cartesian coordinate. More...
|
| |
| virtual sVec3f | Vec3CartesianToSpherical (const sVec3f &avC) const =0 |
| | Convert a 3d cartesian coordinate to a 3d spherical coordinate. More...
|
| |
| virtual sVec3f | Vec3OrbitPitch (const sVec3f &aTarget, const sVec3f &aPos, tF32 afPitch) const =0 |
| | Orbit/rotate a 3d position of the specified yaw (Y-axis) angle around the specified target. More...
|
| |
| virtual sVec3f | Vec3OrbitYaw (const sVec3f &aTarget, const sVec3f &aPos, tF32 afYaw) const =0 |
| | Orbit/rotate a 3d position of the specified pitch (X-axis) angle around the specified target. More...
|
| |
| virtual sVec3f | Vec3OrbitYawPitch (const sVec3f &aTarget, const sVec3f &aPos, tF32 afYaw, tF32 afPitch) const =0 |
| | Orbit/rotate a 3d position of the specified yaw (Y-axis) and then pitch (X-axis) angle around the specified target. More...
|
| |
| virtual tF32 | ComputePixelScaleX (const sVec3f &aPos, const sMatrixf &amtxWorldView, const sMatrixf &amtxProj, const sRectf &aVP) const =0 |
| | Compute a pixel to world unit scale value, based on the X-axis delta. More...
|
| |
| virtual tF32 | ComputePixelScaleY (const sVec3f &aPos, const sMatrixf &amtxWorldView, const sMatrixf &amtxProj, const sRectf &aVP) const =0 |
| | Compute a pixel to world unit scale value, based on the Y-axis delta. More...
|
| |
| virtual tF32 | ComputePixelWorldSizeX (const tF32 afPixelSize, const sVec3f &avPos, const sMatrixf &mtxWorldView, const sMatrixf &mtxProj, const sRectf &aVP) const =0 |
| | Compute the world size of the given pixel size, scale based on the X-axis delta. More...
|
| |
| virtual tF32 | ComputePixelWorldSizeY (const tF32 afPixelSize, const sVec3f &avPos, const sMatrixf &mtxWorldView, const sMatrixf &mtxProj, const sRectf &aVP) const =0 |
| | Compute the world size of the given pixel size, scale based on the Y-axis delta. More...
|
| |
| virtual sVec2f | ComputePixelWorldSizeVec2 (const tF32 afPixelSize, const sVec3f &avPos, const sMatrixf &mtxWorldView, const sMatrixf &mtxProj, const sRectf &aVP) const =0 |
| | Compute the world size of the given pixel size, scale based on the X and Y axis delta. More...
|
| |
| virtual tF32 | ComputePixelWorldSize (const tF32 afPixelSize, const sVec3f &avPos, const sMatrixf &amtxWorldView, const sMatrixf &amtxProj, const sRectf &aVP) const =0 |
| | Compute the world size of the give pixel size, scale based on the axis with the highest resolution. More...
|
| |
| virtual tF32 | Det2x2f (const tF32 a, const tF32 b, const tF32 c, const tF32 d) const =0 |
| | Computes a 2x2 matrix determinant. More...
|
| |
| virtual tF32 | Det3x3f (const tF32 a0, const tF32 a1, const tF32 a2, const tF32 a3, const tF32 a4, const tF32 a5, const tF32 a6, const tF32 a7, const tF32 a8) const =0 |
| | Computes a 3x3 matrix determinant. More...
|
| |
| virtual tF32 | Det4x4f (const tF32 a0, const tF32 a1, const tF32 a2, const tF32 a3, const tF32 a4, const tF32 a5, const tF32 a6, const tF32 a7, const tF32 a8, const tF32 a9, const tF32 a10, const tF32 a11, const tF32 a12, const tF32 a13, const tF32 a14, const tF32 a15) const =0 |
| | Computes a 4x4 matrix determinant. More...
|
| |
| virtual tF64 | Det2x2d (const tF64 a, const tF64 b, const tF64 c, const tF64 d) const =0 |
| | Computes a 2x2 matrix determinant. More...
|
| |
| virtual tF64 | Det3x3d (const tF64 a0, const tF64 a1, const tF64 a2, const tF64 a3, const tF64 a4, const tF64 a5, const tF64 a6, const tF64 a7, const tF64 a8) const =0 |
| | Computes a 3x3 matrix determinant. More...
|
| |
| virtual tF64 | Det4x4d (const tF64 a0, const tF64 a1, const tF64 a2, const tF64 a3, const tF64 a4, const tF64 a5, const tF64 a6, const tF64 a7, const tF64 a8, const tF64 a9, const tF64 a10, const tF64 a11, const tF64 a12, const tF64 a13, const tF64 a14, const tF64 a15) const =0 |
| | Computes a 4x4 matrix determinant. More...
|
| |
| virtual tF32 | FovHzToVt (tF32 afHFov, tF32 afWbyHAspect) const =0 |
| | Convert an horizontal fov to a vertical fov. More...
|
| |
| virtual tF32 | FovVtToHz (tF32 afVFov, tF32 afWbyHAspect) const =0 |
| | Convert a vertical fov to an horizontal fov. More...
|
| |