1
0
mirror of https://github.com/Mauler125/r5sdk.git synced 2025-02-09 19:15:03 +01:00

Recast: fix comment

This commit is contained in:
Amos 2024-07-24 10:25:35 +02:00
parent aba31e5a75
commit 1c637230d5

@ -223,7 +223,7 @@ bool rdClosestHeightPointTriangle(const float* p, const float* a, const float* b
v = -v;
}
// If point lies inside the triangle, return interpolated ycoord.
// If point lies inside the triangle, return interpolated zcoord.
if (u >= 0.0f && v >= 0.0f && (u + v) <= denom) {
h = a[2] + (v0[2] * u + v1[2] * v) / denom;
return true;