summaryrefslogtreecommitdiffhomepage
path: root/src/models.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/models.c')
-rw-r--r--src/models.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models.c b/src/models.c
index 4ab27926..accab7e8 100644
--- a/src/models.c
+++ b/src/models.c
@@ -1979,7 +1979,7 @@ static Mesh LoadOBJ(const char *fileName)
// TODO: add binormals to mesh struct and assign buffers id and locations properly
/* // Calculate vertex binormal
- Vector3 binormal = VectorSubtract(b1, b2);
+ Vector3 binormal = Vector3Subtract(b1, b2);
Vector3Scale(&binormal, r);
// Apply calculated binormals data to mesh struct