solstice-solver

Solver library of the solstice app
git clone git://git.meso-star.com/solstice-solver.git
Log | Files | Refs | README | LICENSE

commit cd1144b9f90db28fe655b1caccb2d3da368d2d97
parent 5937e63bb29b4ac19b5e7d3b444ee0e3c4a2fc06
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 14 Dec 2016 14:22:16 +0100

Fix the ssol_camera_look_at function

The camera position was not updated with the submitted position.

Diffstat:
Msrc/ssol_camera.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/ssol_camera.c b/src/ssol_camera.c @@ -137,6 +137,7 @@ ssol_camera_look_at f3_set(cam->axis_x, x); f3_mulf(cam->axis_y, y, cam->rcp_proj_ratio); f3_mulf(cam->axis_z, z, img_plane_depth); + f3_set(cam->position, posf); return RES_OK; }