Include the normals in the generated Plane geometry
This commit is contained in:
parent
cb16b84ab9
commit
6a86368d3a
2 changed files with 13 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue