three 0.3.0

Three.js inspired 3D engine in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define MAX_LIGHTS  4U

struct Light {
    mat4 projection;
    vec4 pos;
    vec4 dir;
    vec4 focus;
    vec4 color;
    vec4 color_back;
    vec4 intensity;
    ivec4 shadow_params;
};

layout(std140) uniform b_Lights {
    Light u_Lights[MAX_LIGHTS];
};