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.worldToLocal #3357
Comments
No. |
Which is exactly what I meant. A 4D vector with w = 1 corresponds to a 3D point with the same coordinates but what if you want to transform a vector instead (i.e. w = 0)? |
Sorry, I do not understand what you are saying.
|
my_obj.worldToLocal(new THREE.Vector3(1, 1, 1)); Without documentation/experimentation it's not clear if the input parameter is treated as point or as vector. |
In this context, "vector" means "point". |
The method treats the input vector as a point expressed in homogeneous coordinates. This behavior should be commented.
The text was updated successfully, but these errors were encountered: