mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: fix bug in rdVisfinite2D (XZY -> XYZ)
Should be checking the x-y plane instead, issue was spotted during the creation of commit 5f90ea08f210e8a327e70e48afc770404f850fda.
This commit is contained in:
parent
5f90ea08f2
commit
5a09fc39c8
@ -301,7 +301,7 @@ inline bool rdVisfinite(const float* v)
|
|||||||
/// @param[in] v A point. [(x, y, z)]
|
/// @param[in] v A point. [(x, y, z)]
|
||||||
inline bool rdVisfinite2D(const float* v)
|
inline bool rdVisfinite2D(const float* v)
|
||||||
{
|
{
|
||||||
bool result = rdMathIsfinite(v[0]) && rdMathIsfinite(v[2]);
|
bool result = rdMathIsfinite(v[0]) && rdMathIsfinite(v[1]);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user