goat3dgfx

annotate src/gfxutil.h @ 20:d9c8cd19c606

fixed the face index loading bug
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 08 Dec 2013 03:00:49 +0200
parents 1873dfd13f2d
children dc5918c62a64
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@0 8 class Texture2D;
nuclear@0 9 class ShaderProg;
nuclear@0 10
nuclear@0 11 void draw_rect(const Vector3 &v1, const Vector3 &v2, Texture2D *tex = 0, ShaderProg *sdr = 0);
nuclear@0 12
nuclear@15 13 } // namespace goatgfx
nuclear@15 14
nuclear@0 15 #endif // GFXUTIL_H_