Browse Source

fix typo (#2899)

patrix=>matrix
pull/2900/head
Dor Shapira 2 years ago
committed by GitHub
parent
commit
df5a736c00
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/raymath.h

+ 1
- 1
src/raymath.h View File

@ -903,7 +903,7 @@ RMAPI Vector3 Vector3Unproject(Vector3 source, Matrix projection, Matrix view)
{
Vector3 result = { 0 };
// Calculate unproject matrix (multiply view patrix by projection matrix) and invert it
// Calculate unproject matrix (multiply view matrix by projection matrix) and invert it
Matrix matViewProj = { // MatrixMultiply(view, projection);
view.m0*projection.m0 + view.m1*projection.m4 + view.m2*projection.m8 + view.m3*projection.m12,
view.m0*projection.m1 + view.m1*projection.m5 + view.m2*projection.m9 + view.m3*projection.m13,

Loading…
Cancel
Save