CMSC23700 Common Code Library
Support code for CS23700 programming projects
cs237.hxx
Go to the documentation of this file.
1 
8 /*
9  * COPYRIGHT (c) 2013 John Reppy (http://cs.uchicago.edu/~jhr)
10  * All rights reserved.
11  */
12 
13 #ifndef _CS237_HXX_
14 #define _CS237_HXX_
15 
16 #define GL_GLEXT_PROTOTYPES
17 #define GLFW_INCLUDE_GLCOREARB
18 #include <GLFW/glfw3.h>
19 #if defined(__APPLE_CC__)
20  #include <OpenGL/glext.h>
21 #else
22 # include <GL/glext.h>
23 #endif
24 
25 #include <cmath>
26 #include <cstdint>
27 #include <iostream>
28 #include <memory>
29 #include <assert.h>
30 
31 #include "cs237-types.hxx"
32 
33 /* Vector types */
34 #include "cs237-vec2.hxx"
35 #include "cs237-vec3.hxx"
36 #include "cs237-vec4.hxx"
37 
38 /* Matrix types */
39 #include "cs237-mat2x2.hxx"
40 #include "cs237-mat2x3.hxx"
41 #ifdef TODO
42 #include "cs237-mat2x4.hxx"
43 #endif /* TODO */
44 #include "cs237-mat3x2.hxx"
45 #include "cs237-mat3x3.hxx"
46 #ifdef TODO
47 #include "cs237-mat3x4.hxx"
48 #include "cs237-mat4x2.hxx"
49 #include "cs237-mat4x3.hxx"
50 #endif /* TODO */
51 #include "cs237-mat4x4.hxx"
52 
53 #include "cs237-quat.hxx"
54 
55 /* Geometry */
56 #include "cs237-aabb.hxx"
57 
58 /* Color types */
59 #include "cs237-color.hxx"
60 
61 /* transformations */
62 #include "cs237-transform.hxx"
63 
64 /* Images and textures */
65 #include "cs237-image.hxx"
66 #include "cs237-texture.hxx"
67 
68 /* Shader support */
69 #include "cs237-shader.hxx"
70 
71 /* Inline operations */
72 #include "cs237-util.inl"
73 
74 #include "cs237-vec2.inl"
75 #include "cs237-vec3.inl"
76 #include "cs237-vec4.inl"
77 
78 #include "cs237-mat2x2.inl"
79 #include "cs237-mat2x3.inl"
80 #ifdef TODO
81 #include "cs237-mat2x4.inl"
82 #endif /* TODO */
83 #include "cs237-mat3x2.inl"
84 #include "cs237-mat3x3.inl"
85 #ifdef TODO
86 #include "cs237-mat3x4.inl"
87 #include "cs237-mat4x2.inl"
88 #include "cs237-mat4x3.inl"
89 #endif /* TODO */
90 #include "cs237-mat4x4.inl"
91 
92 #include "cs237-quat.inl"
93 
94 #include "cs237-aabb.inl"
95 
96 #include "cs237-color.inl"
97 
98 #include "cs237-shader.inl"
99 
100 #include "cs237-sphere.hxx"
101 
102 #include "cs237-window.hxx"
103 
104 namespace cs237 {
105 
113  void DumpGLState (std::ostream &os);
114 
115 } // namespace cs237
116 
117 #endif // !_CS237_HXX_
void DumpGLState(std::ostream &os)
Definition: cs237-aabb.hxx:18