tavli
view 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 source
1 #ifndef SHADOW_H_
2 #define SHADOW_H_
4 #include "vmath/vmath.h"
6 bool init_shadow(int sz);
7 void destroy_shadow();
9 void begin_shadow_pass(const Vector3 &lpos, const Vector3 <arg, float lfov);
10 void end_shadow_pass();
12 Matrix4x4 get_shadow_matrix();
13 unsigned int get_shadow_tex();
15 #endif // SHADOW_H_