#include <stdio.h>#include <stdlib.h>#include <GL/gl.h>#include <GL/glu.h>#include <GL/glext.h>#include <SDL/SDL.h>#include <SDL/SDL_image.h>#include <math.h>#include <string>#include <fstream>#include <iostream>#include <map>#include <list>#include "quat.h"#include "cardinfo.h"#include "globals.h"Include dependency graph for utility.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | UTILITY |
Defines | |
| #define | ENDOFFILESTRING "!!!END OF FILE!!!" |
| #define | EPSILON 0.000001 |
| #define | CROSS(dest, v1, v2) |
| #define | DOT(v1, v2) (v1[0]*v2[0]+v1[1]*v2[1]+v1[2]*v2[2]) |
| #define | SUB(dest, v1, v2) |
| #define | _(string) (string) |
| #define | _c(string) (string) |
| #define | _UTILITY_H |
|
|
Definition at line 74 of file utility.h. Referenced by VGUI::Wheel< wheel_t >::Draw(). |
|
|
Definition at line 75 of file utility.h. Referenced by VGUI::SpinningCar::LoadCar(). |
|
|
|
|
|
Value: dest[0]=v1[1]*v2[2]-v1[2]*v2[1]; \
dest[1]=v1[2]*v2[0]-v1[0]*v2[2]; \
dest[2]=v1[0]*v2[1]-v1[1]*v2[0];
|
|
|
|
|
|
Definition at line 54 of file utility.h. Referenced by UTILITY::GetEOFString(). |
|
|
Definition at line 56 of file utility.h. Referenced by UTILITY::IntersectQuadrilateralD(), UTILITY::IntersectQuadrilateralF(), UTILITY::IntersectTriangleD(), UTILITY::IntersectTriangleF(), UTILITY::MollerTriTriIsectWithLine(), and NoDivTriTriIsect(). |
|
|
Value: dest[0]=v1[0]-v2[0]; \
dest[1]=v1[1]-v2[1]; \
dest[2]=v1[2]-v2[2];
|
1.4.6