Closed
Description
Description
For curvePath, a Vector3 curve, when the 'curvePath.closePath()' method is called, the points returned by 'curvePath.getPoints()' contain points of type Vector2
Reproduction steps
- Create a Vector3 CurvePath
- Call the closePath method
- Get points
curvePath.getPoints()
- Look at the last two points
Code
const curvePath = new CurvePath<Vector3>();
curvePath.add(curve);
curvePath.closePath();
curvePath.getPoints();
Live example
Screenshots
No response
Version
r156
Device
No response
Browser
No response
OS
No response
Activity