mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 06:18:14 +00:00
Some tweaks
This commit is contained in:
@@ -71,7 +71,7 @@ int main()
|
|||||||
|
|
||||||
Begin3dMode(camera);
|
Begin3dMode(camera);
|
||||||
|
|
||||||
DrawModel(model, VectorZero(), 1.0f, WHITE);
|
DrawModel(model, Vector3Zero(), 1.0f, WHITE);
|
||||||
|
|
||||||
DrawGrid(10, 1.0f);
|
DrawGrid(10, 1.0f);
|
||||||
|
|
||||||
|
@@ -1979,7 +1979,7 @@ static Mesh LoadOBJ(const char *fileName)
|
|||||||
|
|
||||||
// TODO: add binormals to mesh struct and assign buffers id and locations properly
|
// TODO: add binormals to mesh struct and assign buffers id and locations properly
|
||||||
/* // Calculate vertex binormal
|
/* // Calculate vertex binormal
|
||||||
Vector3 binormal = VectorSubtract(b1, b2);
|
Vector3 binormal = Vector3Subtract(b1, b2);
|
||||||
Vector3Scale(&binormal, r);
|
Vector3Scale(&binormal, r);
|
||||||
|
|
||||||
// Apply calculated binormals data to mesh struct
|
// Apply calculated binormals data to mesh struct
|
||||||
|
Reference in New Issue
Block a user