-
-
Notifications
You must be signed in to change notification settings - Fork 36k
CatmullRomCurve3 supports .closed property #7686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Added depreciation message - Some code tidy
btw @gero3 - nice stuff, I see ci.threejs also works on the tests :) http://ci.threejs.org/api/pullrequests/7686/test/unit/unittests_sources.html?filter=curve just curious, where is ci hosted on? are you able to turn on gzip compression (would help speed up the loading ;) |
Don't you need to create a How does |
I believe Where else this |
How about setting |
hmm, I didn't think of that, now updated |
👌Updated documentation too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THREE.ClosedSplineCurve3 has been deprecated. Please use THREE.CatmullRomCurve3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @WestLangley
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your welcome, but I think you mean deprecated, not depreciated. (2 instances)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
argh yes!!! fixed again..
bump |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this go in Curve.js
instead?
THREE.Curve = function () {
this.closed = false;
};
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now it feels to me that .closed
is a property of CatmullRomCurve3
rather than Curve
. If .closed
is a property of Curve
then all curves should support using this property which we currently don't...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Yeah, that makes sense.
CatmullRomCurve3 supports .closed property
Thanks! |
.closed
propertyRelates to #7587
If we are ok on the change, I could help to update the documentation too
@WestLangley @mrdoob