Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

math.d File Reference


Detailed Description

Implements the vec2, vec3, vec4, mat2, mat3, and mat4 structs. These more/less come from OpenGL 2.0 and have a bloody lot of functionality.


Compounds

struct  box2
 A two-dimensional bounding box. More...

struct  box3
 A three-dimensional bounding box. More...

struct  mat2
 A 2x2 matrix. More...

struct  mat3
 A 3x3 matrix. More...

struct  mat4
 A 4x4 matrix. More...

struct  obb3
 An oriented three-dimensional bounding box. More...

struct  plane3
 A three-dimensional plane. More...

struct  quat3
 A quaternion object. More...

struct  ray3
 A three-dimensional ray (origin plus direction). More...

struct  sphere3
 A three-dimensional sphere. More...

struct  vec2
 A 2d float point. More...

struct  vec3
 A 3d float point. More...

struct  vec4
 A 4d float point. More...


Functions

quat3 aquat3 (float w, float x, float y, float z)
 Assign parameters.


Variables

plane3 aplane3 (vec3[] points)
 Create a plane from a polygon.


Generated on Thu Sep 4 13:12:50 2003 for dig by doxygen 1.3.2