Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.mesh = new Mesh(Mesh.VertexDataType.VertexArray, false, initialMaxTriangles * 12, 0,
- new VertexAttribute(VertexAttributes.Usage.Position, 2, ShaderProgram.POSITION_ATTRIBUTE),
- new VertexAttribute(VertexAttributes.Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE));
Add Comment
Please, Sign In to add comment