#version 330 core

in vec3 position;

out vec3 texCoords;

uniform mat4 projection;
uniform mat4 camera;

void main()
{
	texCoords = position;
	vec4 pos = projection * camera * vec4(position, 1.0);
	gl_Position = pos.xyww;
}
