CMSC23700 Common Code Library
Support code for CS23700 programming projects
cs237-types.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_TYPES_HXX_
14 #define _CS237_TYPES_HXX_
15 
16 #ifndef _CS237_HXX_
17 #error "c237-types.hxx should not be included directly"
18 #endif
19 
20 namespace cs237 {
21 
22  namespace __detail {
23 
24  /* Vector types */
25  template <typename T> struct vec2;
26  template <typename T> struct vec3;
27  template <typename T> struct vec4;
28 
29  /* Matrix types */
30  template <typename T> struct mat2x2;
31  template <typename T> struct mat2x3;
32  template <typename T> struct mat2x4;
33  template <typename T> struct mat3x2;
34  template <typename T> struct mat3x3;
35  template <typename T> struct mat3x4;
36  template <typename T> struct mat4x2;
37  template <typename T> struct mat4x3;
38  template <typename T> struct mat4x4;
39 
40  /* Quaternions */
41  template <typename T> struct quat;
42 
43  } /* namespace __detail */
44 
45  /* Colors */
46  struct color3ub;
47  struct color3f;
48  struct color4ub;
49  struct color4f;
50 
51 } /* namespace cs237 */
52 
53 #endif /* !_CS237_TYPES_HXX_ */
template class for quaternions
Definition: cs237-quat.hxx:26
Definition: cs237-color.hxx:83
Definition: cs237-color.hxx:22
Definition: cs237-color.hxx:37
template class for 2x3 matrices
Definition: cs237-mat2x3.hxx:26
Definition: cs237-types.hxx:37
template class for four-element vectors
Definition: cs237-types.hxx:27
template class for 3x3 matrices
Definition: cs237-mat3x3.hxx:26
Definition: cs237-aabb.hxx:18
Definition: cs237-types.hxx:32
template class for 4x4 matrices
Definition: cs237-mat4x4.hxx:26
template class for three-element vectors
Definition: cs237-types.hxx:26
Definition: cs237-types.hxx:35
template class for two-element vectors
Definition: cs237-types.hxx:25
Definition: cs237-color.hxx:57
template class for 2x2 matrices
Definition: cs237-mat2x2.hxx:26
Definition: cs237-types.hxx:36
template class for 3x2 matrices
Definition: cs237-mat3x2.hxx:26