0

尝试将 THREE.Scene 的实例传递给 Backbone.Model 时遇到错误,如下所示:

var scene = new THREE.Scene();
new (Backbone.Model)(scene);

最后得到警告:

DEPRECATED: Object3D's .eulerOrder has been moved to Object3D's .rotation.order. three.min.js:148
DEPRECATED: Object3D's .useQuaternion has been removed. The library now uses quaternions by default. three.min.js:148

我目前正在使用three.js r59 和backbone.js 1.0.0

4

1 回答 1

1

问题在于主干如何创建其模型。

要创建模型,它会读取对象的所有属性(这会导致警告)并将它们设置为模型上的命名属性。

于 2013-08-12T07:59:04.383 回答