From: outfrost Date: Wed, 27 May 2020 00:53:46 +0000 (+0200) Subject: oops X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=12d840bc0344f042735c06c48baa89e9a977fd73;p=shadowclad.git oops --- diff --git a/src/engine/render.c b/src/engine/render.c index 0cfc49f..33b1625 100644 --- a/src/engine/render.c +++ b/src/engine/render.c @@ -97,7 +97,6 @@ static void setupCamera() { static void moveCameraTo(const Scene* anchor) { glMatrixMode(GL_PROJECTION); - // TODO This needs to account for parent nodes as well Vector3D pos = translationOf(worldTransform(anchor)); glTranslatef(-pos.x, -pos.y, -pos.z); }