Rev | Line | |
---|
[930] | 1 | //////////////////////////////////////////////////////////////////////////////////////////
|
---|
| 2 | // Maths.h
|
---|
| 3 | // Include maths headers
|
---|
| 4 | // You may use this code however you wish, but if you do, please credit me and
|
---|
| 5 | // provide a link to my website in a readme file or similar
|
---|
| 6 | // Downloaded from: www.paulsprojects.net
|
---|
| 7 | // Created: 20th July 2002
|
---|
| 8 | // Modified: 17th December 2002 - Removed QUATERNION
|
---|
| 9 | //////////////////////////////////////////////////////////////////////////////////////////
|
---|
| 10 | #include <math.h>
|
---|
| 11 |
|
---|
| 12 | //VC++ math.h (and others) do not define M_PI
|
---|
| 13 | #ifndef M_PI
|
---|
| 14 | #define M_PI 3.14159265358979323846
|
---|
| 15 | #endif
|
---|
| 16 |
|
---|
| 17 | //An epsilon value for comparisons
|
---|
| 18 | #ifndef EPSILON
|
---|
| 19 | #define EPSILON 0.01f
|
---|
| 20 | #endif
|
---|
| 21 |
|
---|
| 22 | #include "VECTOR2D.h"
|
---|
| 23 | #include "VECTOR3D.h"
|
---|
| 24 | #include "VECTOR4D.h"
|
---|
| 25 | #include "MATRIX4X4.h"
|
---|
| 26 | #include "PLANE.h"
|
---|
| 27 |
|
---|
| 28 | #include "COLOR.h" |
---|
Note: See
TracBrowser
for help on using the repository browser.