goat3dgfx
diff src/xform_node.h @ 15:7d6b667821cf
wrapped everything in the goatgfx namespace
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 30 Nov 2013 20:52:21 +0200 |
parents | 1873dfd13f2d |
children | 7c593721547f |
line diff
1.1 --- a/src/xform_node.h Sat Nov 30 15:15:34 2013 +0200 1.2 +++ b/src/xform_node.h Sat Nov 30 20:52:21 2013 +0200 1.3 @@ -9,12 +9,15 @@ 1.4 #include "vmath/quat.h" 1.5 #include "vmath/matrix.h" 1.6 1.7 -enum Interp { INTERP_STEP, INTERP_LINEAR, INTERP_CUBIC }; 1.8 -enum Extrap { EXTRAP_EXTEND, EXTRAP_CLAMP, EXTRAP_REPEAT }; 1.9 1.10 struct anm_node; 1.11 struct anm_track; 1.12 1.13 +namespace goatgfx { 1.14 + 1.15 +enum Interp { INTERP_STEP, INTERP_LINEAR, INTERP_CUBIC }; 1.16 +enum Extrap { EXTRAP_EXTEND, EXTRAP_CLAMP, EXTRAP_REPEAT }; 1.17 + 1.18 // XXX all time arguments are milliseconds 1.19 1.20 class XFormNode { 1.21 @@ -131,4 +134,6 @@ 1.22 Vector3 operator ()(long tmsec = 0) const; 1.23 }; 1.24 1.25 +} // namespace goatgfx 1.26 + 1.27 #endif /* XFORM_NODE_H_ */