goat3dgfx
diff src/texgen.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/texgen.h Sat Nov 30 15:15:34 2013 +0200 1.2 +++ b/src/texgen.h Sat Nov 30 20:52:21 2013 +0200 1.3 @@ -4,6 +4,8 @@ 1.4 #include "image.h" 1.5 #include "vmath/vmath.h" 1.6 1.7 +namespace goatgfx { 1.8 + 1.9 Image *texgen_solid(int xsz, int ysz, const Vector4 &color); 1.10 Image *texgen_chess(int xsz, int ysz, int usub, int vsub, const Vector4 &col1, const Vector4 &col2); 1.11 Image *texgen_fbm(int xsz, int ysz, float usize, float vsize, int octaves, const Vector4 &col1, const Vector4 &col2); 1.12 @@ -11,4 +13,6 @@ 1.13 1.14 Image *texgen(int xsz, int ysz, float usize, float vsize, Vector4 (*eval)(float, float, void*), void *cls); 1.15 1.16 +} // namespace goatgfx 1.17 + 1.18 #endif // TEXGEN_H_