#include <assert.h>
#include <math.h>
Go to the source code of this file.
Defines | |
| #define | NULL 0 |
| #define | true 1 |
| #define | false 0 |
| #define | MIN(x, y) ( (x) < (y) ? (x) : (y) ) |
| #define | MAX(x, y) ( (x) > (y) ? (x) : (y) ) |
| #define | FloatToInt(a, b) *a = (int) floor((b)) |
Typedefs | |
| typedef float | v2_f [2] |
| 2 float vector | |
| typedef float | v3_f [3] |
| 3 float vector | |
| typedef float | v4_f [4] |
| 4 float vector | |
| typedef v2_f * | v2_fp |
| pointer to a 2 float vector | |
| typedef v4_f * | v4_fp |
| pointer to a 4 float vector | |
| typedef int | v4_i [4] |
| 4 unsigned int vector | |
| typedef v4_i * | v4_ip |
| pointer to a 4 unsigned int vector | |
Original Author: Scott Franke sfranke@gljournal.org
Creation date: 29 Feb 2000
Purpose: Might need more #ifdef's for different platforms
1.3.4