OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Mathematics.h File Reference
#include "VectorTypes.h"
#include <cmath>
#include <cstdlib>

Go to the source code of this file.

Namespaces

 MaliSDK
 

Macros

#define M_PI   3.14159265358979323846f
 The value of pi approximation. More...
 
#define NUMBER_OF_CUBE_FACES   (6)
 Number of faces which make up a cubic shape. More...
 
#define NUMBER_OF_POINT_COORDINATES   (3)
 Number of coordinates for a point in 3D space. More...
 
#define NUMBER_OF_TRIANGLE_VERTICES   (3)
 Number of vertices which make up a traingle shape. More...
 
#define NUMBER_OF_TRIANGLES_IN_QUAD   (2)
 Number of triangles which make up a quad. More...
 

Functions

float MaliSDK::degreesToRadians (float degrees)
 Convert an angle in degrees to radians. More...
 
float MaliSDK::radiansToDegrees (float radians)
 Convert an angle in radians to degrees. More...
 

Macro Definition Documentation

#define M_PI   3.14159265358979323846f

The value of pi approximation.

Definition at line 31 of file Mathematics.h.

#define NUMBER_OF_CUBE_FACES   (6)

Number of faces which make up a cubic shape.

Definition at line 36 of file Mathematics.h.

#define NUMBER_OF_POINT_COORDINATES   (3)

Number of coordinates for a point in 3D space.

Definition at line 41 of file Mathematics.h.

#define NUMBER_OF_TRIANGLE_VERTICES   (3)

Number of vertices which make up a traingle shape.

Definition at line 46 of file Mathematics.h.

#define NUMBER_OF_TRIANGLES_IN_QUAD   (2)

Number of triangles which make up a quad.

Definition at line 51 of file Mathematics.h.