]> gitweb.factorcode.org Git - factor.git/commitdiff
raylib.ffi: Fix typo
authortimor <timor.dd@googlemail.com>
Sun, 23 May 2021 10:24:35 +0000 (12:24 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 23 May 2021 22:54:17 +0000 (15:54 -0700)
extra/raylib/ffi/ffi.factor

index fc1105947387775c8bcef3b0165e20031a22f970..2215530031312d26993e3c581e13c8b129fce0f7 100644 (file)
@@ -119,16 +119,16 @@ STRUCT: BoundingBox
     { max Vector3 } ;     ! Maximum vertex box-corner
 
 STRUCT: Mesh
-    { vertexCount int }   ! Number of verticles stored in arrays
+    { vertexCount int }   ! Number of vertices stored in arrays
     { triangleCount int } ! Number of triangles stored (indexed or not )
-    { verticles float* }  ! Vertex position (XYZ - 3 components per vertex)
     { texcoords float* }  ! Vertex texture coordinates (UV - 2 components per vertex )
+    { vertices float* }  ! Vertex position (XYZ - 3 components per vertex)
     { texcoords2 float* } ! Vertex second texture coordinates (useful for lightmaps)
     { normals float* }    ! Vertex normals (XYZ - 3 components per vertex)
     { tangents float* }   ! Vertex tangents (XYZW - 4 components per vertex )
     { colors uchar* }     ! Vertex colors (RGBA - 4 components per vertex)
     { indices ushort* }   ! Vertex indices (in case vertex data comes indexed)
-    { animVerticles float* }
+    { animVertices float* }
     { animNormals float* }
     { boneIds int* }
     { boneWeights float* }