polyadvent

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

commit cff1ee0c2406cfd95201db625be7560c69d9038a
parent 1eb515faf1cea880b1b913261f98e6f0cbd877ca
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 13 Nov 2018 10:03:37 -0800

don't need to attach skybox to player

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

diff --git a/src/game.c b/src/game.c @@ -114,7 +114,6 @@ void game_init(struct game *game, int width, int height) { assert(ok); player->node.label = "player"; node_attach(&player->node, root); - node_attach(&res->skybox.node, &player->node); /* node_attach(&res->camera.node, &player->node); */ node_translate(&player->node, V3(terrain->size/2.,terrain->size/2.,0.0));