three-d 0.19.0

2D/3D renderer - makes it simple to draw stuff across platforms (including web)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13

uniform mat4 view;
uniform mat4 projection;

in vec3 position;

out vec3 coords;

void main()
{
    coords = position;
    gl_Position = (projection * mat4(mat3(view)) * vec4(position, 1.)).xyww;
}