CSS3DSprite with parent scale (#22235)
CSS3DSprite with parent scale (#22235)

* CSS3DSprite with parent scale

CSS3DSprite seems to ignore parent scale completely; this seems to fix it, but I don't know if there are better / cleaner solutions

* CSS3DSprite set scale from world matrix

use the world matrix of the same object to fix scale

* Fix getWorldMatrix deprecation warning

Put a target for getWorldMatrix

* Reusing Vectors and calling decompose directly

Vectors are declared at the top and reused; getWorldScale is replaced by direct use of decompose in order to reuse vectors

* use decompose to also set position

call setPosition with the result from decompose
donmccurdy/three.js,aardgoose/three.js,06wj/three.js,greggman/three.js,06wj/three.js,donmccurdy/three.js,Liuer/three.js,WestLangley/three.js,looeee/three.js,makc/three.js.fork,mrdoob/three.js,gero3/three.js,gero3/three.js,Liuer/three.js,greggman/three.js,aardgoose/three.js,mrdoob/three.js,fyoudine/three.js,makc/three.js.fork,jpweeks/three.js,fyoudine/three.js,WestLangley/three.js,looeee/three.js,jpweeks/three.js