You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All translate methods of the Object3D class takes their distance parameter as num.
The distance gets passed to Vector::scale which takes a double as scale factor.
This breaks when we use translate with an int typed distance.
OK:
object.translateX(100.0)
FAILS:
object.translateX(100)
The text was updated successfully, but these errors were encountered:
All translate methods of the Object3D class takes their distance parameter as num.
The distance gets passed to Vector::scale which takes a double as scale factor.
This breaks when we use translate with an int typed distance.
OK:
FAILS:
The text was updated successfully, but these errors were encountered: