![]() |
Kochol Game Engine
0.1.0
|
Go to the source code of this file.
Namespaces | |
| namespace | kge |
| namespace | kge::math |
| Mathematics classes. | |
Enumerations | |
| enum | kge::math::CollisionType { kge::math::ECT_Out, kge::math::ECT_In, kge::math::ECT_Front, kge::math::ECT_Behind, kge::math::ECT_Intersect, kge::math::ECT_NotIntersect } |
| The collision type of objects. More... | |
Functions | |
| float | kge::math::DegToRad (float Degree) |
| Darage ra be radian tabdil mikone. | |
| float | kge::math::RadToDeg (float Radian) |
| Radian ra be darage tabdil mikone. | |
| float | kge::math::abs (float Number) |
| int | kge::math::pow (int x, int y) |
| power x ^ y | |
| float | kge::math::Max (float A, float B) |
| float | kge::math::Min (float A, float B) |
| bool | kge::math::SweptSpherePlaneIntersect (float &t0, float &t1, const Plane &plane, const Sphere &sphere, const Vector &sweepDir) |
| this function tests if the projection of a bounding sphere along the light direction intersects the view frustum | |
Variables | |
| const float | kge::math::PI = 3.141592654f |
| P number. | |
| const float | kge::math::TwoPI = 6.283185307f |
| const float | kge::math::PiOver2 = 1.570796326f |
| const float | kge::math::fDegToRad = 0.0174532925f |
| const float | kge::math::fRadToDeg = 57.295779513f |
| const float | kge::math::fEpsilon = 0.000001f |