I'm using TweenJS with Three.js and this is very annoying.
For example, I can't easily operate with THREE.Vector instances because of large amount of their inherited properties. Simple "Tween.get(vector1).to(vector2)"-pattern is inefficient for now.
a._cloneProps = function(a) {
var b = {};
for (var c in a) // if (a.hasOwnProperty(c)) would be nice here
b[c] = a[c];
return b
}
I'm using TweenJS with Three.js and this is very annoying.
For example, I can't easily operate with THREE.Vector instances because of large amount of their inherited properties. Simple "Tween.get(vector1).to(vector2)"-pattern is inefficient for now.