提交 1d7b7f74 编写于 作者: R rfm1201 提交者: Mr.doob

clockwise full ellipse (#9291)

The point returned by getPoint was always reverse clockwise on a full
ellipse even when the ellipse is clock wise.
上级 dc91443e
......@@ -46,9 +46,17 @@ THREE.EllipseCurve.prototype.getPoint = function( t ) {
}
if ( this.aClockwise === true && deltaAngle != twoPi && ! samePoints ) {
if ( this.aClockwise === true && ! samePoints ) {
deltaAngle = deltaAngle - twoPi;
if ( deltaAngle === twoPi ) {
deltaAngle = - twoPi;
} else {
deltaAngle = deltaAngle - twoPi;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册