tavli
diff src/shadow.h @ 18:986c0b76513f
shadows, not completed
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 29 Jun 2015 01:29:36 +0300 |
parents | |
children | 37dead56f01e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/shadow.h Mon Jun 29 01:29:36 2015 +0300 1.3 @@ -0,0 +1,15 @@ 1.4 +#ifndef SHADOW_H_ 1.5 +#define SHADOW_H_ 1.6 + 1.7 +#include "vmath/vmath.h" 1.8 + 1.9 +bool init_shadow(int sz); 1.10 +void destroy_shadow(); 1.11 + 1.12 +void begin_shadow_pass(const Vector3 &lpos, const Vector3 <arg, float lfov); 1.13 +void end_shadow_pass(); 1.14 + 1.15 +Matrix4x4 get_shadow_matrix(); 1.16 +unsigned int get_shadow_tex(); 1.17 + 1.18 +#endif // SHADOW_H_