mirror of https://github.com/bjornbytes/lovr.git
Fix trailing whitespace;
This commit is contained in:
parent
80a33c0544
commit
eb319fdade
|
@ -907,8 +907,7 @@ void lovrCylinderShapeSetLength(CylinderShape* cylinder, float length) {
|
|||
|
||||
MeshShape* lovrMeshShapeInit(MeshShape* mesh, int vertexCount, float vertices[], int indexCount, dTriIndex indices[]) {
|
||||
dTriMeshDataID dataID = dGeomTriMeshDataCreate();
|
||||
dGeomTriMeshDataBuildSingle(dataID, vertices, 3 * sizeof(float), vertexCount,
|
||||
indices, indexCount, 3 * sizeof(dTriIndex));
|
||||
dGeomTriMeshDataBuildSingle(dataID, vertices, 3 * sizeof(float), vertexCount, indices, indexCount, 3 * sizeof(dTriIndex));
|
||||
dGeomTriMeshDataPreprocess2(dataID, (1U << dTRIDATAPREPROCESS_BUILD_FACE_ANGLES), NULL);
|
||||
mesh->id = dCreateTriMesh(0, dataID, 0, 0, 0);
|
||||
mesh->type = SHAPE_MESH;
|
||||
|
|
Loading…
Reference in New Issue