Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix) ray: use appropriate function to instantiate ray
This commit fixes ray creation which fixes a bit of unexpected behaviour of object picking. See the `observation` note towards the end of this comment: #222 The origin library provides a couple of functions to create a ray. Prior to this, we used a helper function which expected the ray `origin` and `direction` as parameters while what was actually being passed were the `from` and `to` coordinates. In this commit we use the more appropriate function which expects the `from` and `to` coordinates.
- Loading branch information