Skip to content
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

this.geometry3js.computeCentroids() undefined #6247

Closed
gmuehl opened this issue Mar 18, 2015 · 1 comment
Closed

this.geometry3js.computeCentroids() undefined #6247

gmuehl opened this issue Mar 18, 2015 · 1 comment

Comments

@gmuehl
Copy link

gmuehl commented Mar 18, 2015

When using the ColladaLoader JavaScript throws an "undefined is not a function" error in line 2403 of ColladaLoader.js. Though - i am just loading the .dae like mentioned in the Example:

var loader = new THREE.ColladaLoader();
loader.options.convertUpAxis = true;
loader.load( './TestCubeCows.dae', function ( collada ) {
});

No idea what i am doing wrong!?

@titansoftime
Copy link
Contributor

I believe computeCentroids was removed a few versions back. Are you using the most recent version of three.js / colladaLoader ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants