goat3dgfx
diff src/meshgen.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 |
line diff
1.1 --- a/src/meshgen.h Sat Nov 30 15:15:34 2013 +0200 1.2 +++ b/src/meshgen.h Sat Nov 30 20:52:21 2013 +0200 1.3 @@ -1,6 +1,8 @@ 1.4 #ifndef MESHGEN_H_ 1.5 #define MESHGEN_H_ 1.6 1.7 +namespace goatgfx { 1.8 + 1.9 class Mesh; 1.10 1.11 void gen_sphere(Mesh *mesh, float rad, int usub, int vsub, float urange = 1.0, float vrange = 1.0); 1.12 @@ -8,4 +10,6 @@ 1.13 void gen_cone(Mesh *mesh, float rad, float height, int usub, int vsub, int capsub = 0, float urange = 1.0, float vrange = 1.0); 1.14 void gen_plane(Mesh *mesh, float width, float height, int usub = 1, int vsub = 1); 1.15 1.16 +} // namespace goatgfx 1.17 + 1.18 #endif // MESHGEN_H_