Give the grid coordinate vertex attribute a nice name
This commit is contained in:
parent
d4d4a0a7ba
commit
753e8eb311
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ class Terrain: NSObject {
|
|||
}
|
||||
attributes[VertexAttribute.position.rawValue].name = MDLVertexAttributePosition
|
||||
attributes[VertexAttribute.texcoord.rawValue].name = MDLVertexAttributeTextureCoordinate
|
||||
attributes[VertexAttribute.gridCoord.rawValue].name = "Grid Coordinate"
|
||||
|
||||
plane.vertexDescriptor = mdlVertexDescriptor
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue