aboutsummaryrefslogtreecommitdiff
path: root/dave/plot_lighthouse/glutil.h
blob: 101450610c03449e5e88c5120e303ff4ca0ee8d9 (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
//
//  glutil.h
//  
//
//  Created by user on 2/4/17.
//
//

#ifndef glutil_h
#define glutil_h

#include <stdio.h>
#include "quaternion.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 */