mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-07-22 05:06:26 +03:00
Fix incorrect plane calculation in IntersectRayWithOBB
This commit is contained in:
parent
0d8dceea43
commit
56e46c606d
@ -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…
x
Reference in New Issue
Block a user