Fixed Point Arithmetic  0
Fixed-point math library.
Data Structures | Macros | Typedefs | Enumerations
vector_types.h File Reference
#include "types.h"

Go to the source code of this file.

Data Structures

struct  mvec3
 Mixed integer/fractional 3D vector. More...
 
struct  vec3
 Single precision 3D vector. More...
 
struct  dvec3
 Double precision 3D vector. More...
 
struct  evec3
 Extended precision 3D vector. More...
 

Macros

#define VEC0   {{0},{0},{0}}
 Literal for the Zero vector. More...
 

Typedefs

typedef vec3 vec3_s16
 3d vector with 16 bit signed components. More...
 
typedef dvec3 vec3_s32
 3d vector with 32 bit signed components More...
 

Enumerations

enum  vec_axis { AXIS_X, AXIS_Y, AXIS_Z }
 This type is used to indicate the axis. More...
 

Detailed Description

Author
Juan I Carrano

Type definitions for 3D vectors.

Definition in file vector_types.h.