aboutsummaryrefslogtreecommitdiff
path: root/tools/plot_lighthouse/glutil.h
blob: 936701e0afe7ad64b48ff4a30c4f90b13aa152eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
//  glutil.h
//  
//
//  Created by user on 2/4/17.
//
//

#ifndef glutil_h
#define glutil_h

#include <stdio.h>
//#include "quaternion.h"
#include "linmath.h"

#include <stdio.h>
#ifdef __APPLE__
#include <OpenGL/gl.h>   // The GL Header File
#include <GLUT/glut.h>   // The GL Utility Toolkit (Glut) Header
#else
#include <GL/gl.h>
#include <GL/glu.h>
#endif

void DrawGrid(
	float minX, float maxX,
	float minY, float maxY,
	float minZ, float maxZ,
	float stepX, float stepY, float stepZ);

void DrawCoordinateSystem(
	float x, float y, float z,
	float qx, float qy, float qz, float qr);

#endif /* glutil_h */