goat3dgfx
annotate src/gfxutil.h @ 34:3eb6c8f89fe1
merge
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Mar 2014 17:41:10 +0200 |
parents | 7d6b667821cf |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef GFXUTIL_H_ |
nuclear@0 | 2 #define GFXUTIL_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include <vmath/vmath.h> |
nuclear@0 | 5 |
nuclear@15 | 6 namespace goatgfx { |
nuclear@15 | 7 |
nuclear@24 | 8 class Texture; |
nuclear@0 | 9 class ShaderProg; |
nuclear@0 | 10 |
nuclear@24 | 11 void draw_rect(const Vector3 &v1, const Vector3 &v2, Texture *tex = 0, ShaderProg *sdr = 0); |
nuclear@0 | 12 |
nuclear@15 | 13 } // namespace goatgfx |
nuclear@15 | 14 |
nuclear@0 | 15 #endif // GFXUTIL_H_ |