mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: fix incorrect vertex flip in dtNavMeshQuery::raycast
This shouldn't be flipped.
This commit is contained in:
parent
fadb53cb46
commit
492fea89f6
@ -2578,8 +2578,8 @@ dtStatus dtNavMeshQuery::raycast(dtPolyRef startRef, const float* startPos, cons
|
||||
}
|
||||
|
||||
// Check for partial edge links.
|
||||
const int v1 = poly->verts[link->edge];
|
||||
const int v0 = poly->verts[(link->edge+1) % poly->vertCount];
|
||||
const int v0 = poly->verts[link->edge];
|
||||
const int v1 = poly->verts[(link->edge+1) % poly->vertCount];
|
||||
const float* left = &tile->verts[v0*3];
|
||||
const float* right = &tile->verts[v1*3];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user