You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest update to THREE.EllipseCurve on the dev branch, the angle calculations are incorrect. You can no longer create a clockwise, full circle, as using 0/2Pi as the angles inverts/reverse the curve.
The problematic changes are in THREE.EllipseCurve.prototype.getPoint
Example:
// v-- full, counter-clockwise circle with origin on right
shape.absellipse(0, 0, 10, 10, 0, 2 * Math.PI, true);
// v-- full, clockwise circle with origin on right
shape.absellipse(0, 0, 10, 10, 0, 2 * Math.PI + Number.EPSILON*2.1, true);
Expected behaviour is to get a clockwise circle when using 0/2Pi as start/end angles and true for the clockwise flag.
Description of the problem
With the latest update to THREE.EllipseCurve on the dev branch, the angle calculations are incorrect. You can no longer create a clockwise, full circle, as using 0/2Pi as the angles inverts/reverse the curve.
The problematic changes are in THREE.EllipseCurve.prototype.getPoint
Example:
Expected behaviour is to get a clockwise circle when using 0/2Pi as start/end angles and true for the clockwise flag.
Three.js version
Browser
OS
Hardware Requirements (graphics card, VR Device, ...)
The text was updated successfully, but these errors were encountered: