2008-02-09 13:43:23 +01:00
|
|
|
#ifndef __EMATH_OPENGL
|
|
|
|
#define __EMATH_OPENGL
|
|
|
|
|
|
|
|
#include <cmath>
|
2008-06-17 02:46:39 +02:00
|
|
|
#include "punkt3d.h"
|
2008-02-09 13:43:23 +01:00
|
|
|
#include "emath.h"
|
|
|
|
#include "rotationsmatrix.h"
|
|
|
|
#include <SDL_opengl.h>
|
|
|
|
|
2008-08-10 17:14:54 +02:00
|
|
|
namespace segl {
|
|
|
|
|
2008-02-09 13:43:23 +01:00
|
|
|
void rotFrom2VecTo2Vec(Punkt3D a, Punkt3D b, Punkt3D c, Punkt3D d, Punkt3D *, float *, Punkt3D *, float *);
|
|
|
|
void rotFrom2VecTo2Vec(Punkt3D a, Punkt3D b, Punkt3D c, Punkt3D d);
|
2008-06-21 20:31:11 +02:00
|
|
|
void rotvec2(Punkt3D a, Punkt3D b, Punkt3D c, Punkt3D d, float *dega, Punkt3D *veca, float *degb, Punkt3D *vecb);
|
2008-08-10 17:14:54 +02:00
|
|
|
|
|
|
|
} // namespace segl
|
|
|
|
|
2008-02-09 13:43:23 +01:00
|
|
|
#endif
|