aboutsummaryrefslogtreecommitdiff
path: root/scene.c
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-03-26 21:19:51 +0100
committerJulian T <julian@jtle.dk>2020-03-26 21:47:33 +0100
commitcdfd399ea9d79dcfac3107b23cbab7b25c7a12e0 (patch)
tree86290f54255b881b0ca127cbd97c6d893ace2bd3 /scene.c
parent7359b43f9fde19b6911b3ed95c8b31ea5e6a689b (diff)
Y axis is now up as it should be
Diffstat (limited to 'scene.c')
-rw-r--r--scene.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene.c b/scene.c
index 6008942..a0fa46c 100644
--- a/scene.c
+++ b/scene.c
@@ -27,6 +27,7 @@ container_t *container_init(container_t *c, unsigned objs, unsigned mats, unsign
space_t *container_prepare_space(container_t *c)
{
memset(&c->space, 0, sizeof(space_t));
+ return &c->space;
}
// Finds the next empty object_t space