Include the normals in the generated Plane geometry

This commit is contained in:
Eryn Wells 2018-11-10 21:10:03 -05:00
parent cb16b84ab9
commit 6a86368d3a
2 changed files with 13 additions and 13 deletions

View file

@ -24,16 +24,16 @@
typedef NS_ENUM(NSInteger, BufferIndex)
{
BufferIndexMeshPositions = 0,
BufferIndexMeshGenerics = 1,
BufferIndexMeshGridCoords = 2,
BufferIndexNormals = 1,
BufferIndexMeshGenerics = 2,
BufferIndexUniforms = 3,
};
typedef NS_ENUM(NSInteger, VertexAttribute)
{
VertexAttributePosition = 0,
VertexAttributeTexcoord = 1,
VertexAttributeGridCoord = 2,
VertexAttributeNormal = 1,
VertexAttributeTexcoord = 2,
};
typedef NS_ENUM(NSInteger, TextureIndex)