dungeon_crawler
diff prototype/src/sdr.h @ 23:fa8f89d06f6f
progress with light rendering
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 23 Aug 2012 00:10:10 +0300 |
parents | 3a3236a4833c |
children |
line diff
1.1 --- a/prototype/src/sdr.h Tue Aug 21 06:34:14 2012 +0300 1.2 +++ b/prototype/src/sdr.h Thu Aug 23 00:10:10 2012 +0300 1.3 @@ -34,6 +34,7 @@ 1.4 1.5 int set_uniform_int(unsigned int prog, const char *name, int val); 1.6 int set_uniform_float(unsigned int prog, const char *name, float val); 1.7 +int set_uniform_float2(unsigned int prog, const char *name, float x, float y); 1.8 int set_uniform_float3(unsigned int prog, const char *name, float x, float y, float z); 1.9 int set_uniform_float4(unsigned int prog, const char *name, float x, float y, float z, float w); 1.10 int set_uniform_matrix4(unsigned int prog, const char *name, float *mat);