#include <math.h>
#include <float.h>
#include <limits.h>
#include <string.h>
#include <stdlib.h>
Include dependency graph for StdMaths.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | M_PI ( 3.14159265358979323846264338327950288419716939937510) |
#define | M_2_PI ( 2*M_PI) |
#define | M_HALF_PI (M_PI/2) |
#define | DEGS_PER_RAD (57.29577951308232286465) |
#define | RADS_PER_DEG ( 0.01745329251994329547) |
#define | degs(x) (x*DEGS_PER_RAD) |
#define | rads(x) (x*RADS_PER_DEG) |
#define | acosf(x) (float)(acos(x)) |
#define | cosf(x) (float)(cos(x)) |
#define | sinf(x) (float)(sin(x)) |
#define | sqrtf(x) (float)(sqrt(x)) |
#define | isnan __isnan |
#define | MIN(a, b) ((a)<(b)?(a):(b)) |
#define | MAX(a, b) ((a)>(b)?(a):(b)) |
Definition in file StdMaths.h.
|
Definition at line 141 of file StdMaths.h. |
|
Definition at line 142 of file StdMaths.h. Referenced by Teddy::Maths::Matrix::rotateX, Teddy::Maths::Matrix::rotateXMatrix, Teddy::Maths::Matrix::rotateY, Teddy::Maths::Matrix::rotateYMatrix, Teddy::Maths::Matrix::rotateZ, and Teddy::Maths::Matrix::rotateZMatrix. |
|
Definition at line 128 of file StdMaths.h. |
|
Definition at line 126 of file StdMaths.h. |
|
Definition at line 150 of file StdMaths.h. |
|
|
Definition at line 125 of file StdMaths.h. |
|
Definition at line 123 of file StdMaths.h. Referenced by Teddy::Models::Capsule::Capsule, Teddy::Scenes::Camera::getPerspectiveMatrix, Teddy::Models::Geometry::makeSphericalTextureCoordinates, and Teddy::Models::Sphere::Sphere. |
|
|
Definition at line 154 of file StdMaths.h. Referenced by Teddy::Maths::TRect< int >::intersect, Teddy::Maths::TRect< int >::intersection, Teddy::PhysicalComponents::Projection::materialPass, and Teddy::PhysicalComponents::Projection::materialReapplyActive. |
|
Definition at line 129 of file StdMaths.h. |
|
Definition at line 127 of file StdMaths.h. |
|
Definition at line 143 of file StdMaths.h. Referenced by Teddy::Maths::Matrix::rotateX, Teddy::Maths::Matrix::rotateXMatrix, Teddy::Maths::Matrix::rotateY, Teddy::Maths::Matrix::rotateYMatrix, Teddy::Maths::Matrix::rotateZ, and Teddy::Maths::Matrix::rotateZMatrix. |
|
Definition at line 144 of file StdMaths.h. |