commit 4e54fd135acb816fc775056961953ade73af428c
parent e7b851cb2fd942564d57c2036cff2f404f723460
Author: William Casarin <jb55@jb55.com>
Date: Tue, 13 Nov 2018 19:23:44 -0800
adjust orbit look pos
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/update.c b/src/update.c
@@ -282,7 +282,7 @@ void orbit_update_from_mouse(struct orbit *camera, struct input *input,
node_recalc(target_node);
vec3_copy(node_world(target_node), target);
- /* vec3_add(target, V3(0.0, 0.0, player->model.geom.max[2]), target); */
+ vec3_add(target, V3(0.0, 0.0, player->model.geom.max[2] * 2.0), target);
/* vec3_add(target, V3(0.0, 0.0, 10.0), target); */
float mx = 0.0, my = 0.0;