mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2024-11-21 19:31:14 +00:00
Fix incorrect plane calculation in IntersectRayWithOBB
This commit is contained in:
parent
0d8dceea43
commit
56e46c606d
2 changed files with 2 additions and 2 deletions
|
@ -1666,7 +1666,7 @@ bool IntersectRayWithOBB( const Ray_t &ray, const matrix3x4_t &matOBBToWorld,
|
|||
}
|
||||
temp.type = 3;
|
||||
|
||||
MatrixITransformPlane( matOBBToWorld, temp, pTrace->plane );
|
||||
MatrixTransformPlane( matOBBToWorld, temp, pTrace->plane );
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1666,7 +1666,7 @@ bool IntersectRayWithOBB( const Ray_t &ray, const matrix3x4_t &matOBBToWorld,
|
|||
}
|
||||
temp.type = 3;
|
||||
|
||||
MatrixITransformPlane( matOBBToWorld, temp, pTrace->plane );
|
||||
MatrixTransformPlane( matOBBToWorld, temp, pTrace->plane );
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue