ld33_umonster
view src/shadow.h @ 9:4f6168f3ca82
dynamic voxel field bounds
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 27 Aug 2015 01:58:26 +0300 |
parents | |
children |
line source
1 #ifndef SHADOW_H_
2 #define SHADOW_H_
4 #include "vmath/vmath.h"
6 extern bool shadow_pass;
8 bool init_shadow(int sz);
9 void destroy_shadow();
11 void begin_shadow_pass(const Vector3 &lpos, const Vector3 <arg, float lfov);
12 void end_shadow_pass();
14 Matrix4x4 get_shadow_matrix();
15 unsigned int get_shadow_tex();
17 #endif // SHADOW_H_