Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-12 | ray: fixup ray_object_plane_intersects_ray() bug | Vito Caputo | |
We should only consider dot products > 0 as intersected, or >= something very close to 0 (epsilon). As-is resulted in planes moving with camera movement along the plane normal axis. Also fixes plane distance to be non-negative in the current scene. | |||
2017-02-10 | ray: implement all orders in ray_euler_basis() | Vito Caputo | |
Originally I only implemented pitch->yaw->roll, and being new to all this didn't fully appreciate the limitation that resulted in. This adds all six permutations of pitch/yaw/roll, the scene must specify the desired order when setting up the camera with the euler angles, see the enum in ray_euler.h. | |||
2017-01-18 | *: move source into src/ subdir | Vito Caputo | |
Restoring some organizational sanity since adopting autotools. |