javascript - Warnings in passing three.js scenes into backbone.js models -
i running errors when trying pass instance of three.scene backbone.model so:
var scene = new three.scene(); new (backbone.model)(scene);
and end warnings:
deprecated: object3d's .eulerorder has been moved object3d's .rotation.order. three.min.js:148 deprecated: object3d's .usequaternion has been removed. library uses quaternions default. three.min.js:148
i using three.js r59 , backbone.js 1.0.0
the problem lies in how backbone creates models.
to create model reads in properties of object( causes warning) , sets them named property on model.
Comments
Post a Comment