polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

commit e32ea507ab316ed87009652936945dc6f23db010
parent f7081520eaa6cb254f307486da3467c82e0422d7
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 28 Sep 2018 22:54:17 -0700

rotate camera up a bit

Diffstat:
Msrc/game.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/game.c b/src/game.c @@ -77,7 +77,8 @@ void game_init(struct game *game) { /* camera->mirrored = 1; */ node_translate(player, V3(terrain->size/2.,terrain->size/2.,0)); - node_translate(camera, V3(0,-30,100)); + node_rotate(camera, V3(100, 0, 0)); + node_translate(camera, V3(0,-30,20)); /* node_recalc(camera); */ terrain_node->pos[2] = 20.0;