mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-02 19:11:00 +00:00
Take object scale into account.
This commit is contained in:
parent
61e106251d
commit
37159bf9ad
|
|
@ -78,6 +78,7 @@ U32 RecastPolyList::addPoint(const Point3F &p)
|
|||
verts = newverts;
|
||||
}
|
||||
Point3F v = p;
|
||||
v.convolve(mScale);
|
||||
mMatrix.mulP(v);
|
||||
// Insert the new vertex.
|
||||
verts[nverts*3] = v.x;
|
||||
|
|
|
|||
Loading…
Reference in a new issue