A helper template to define a simple vertex type from a vector type. By default the unique field will be name "position". Note: it's important the struct isn't larger than the vector itself.
VertexSpecification!(VertexPosition!vec3f);
See Implementation
A helper template to define a simple vertex type from a vector type. By default the unique field will be name "position". Note: it's important the struct isn't larger than the vector itself.