Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object3D Translations are to generic #138

Open
mrowdy opened this issue Jul 8, 2014 · 0 comments
Open

Object3D Translations are to generic #138

mrowdy opened this issue Jul 8, 2014 · 0 comments

Comments

@mrowdy
Copy link
Contributor

mrowdy commented Jul 8, 2014

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant