]> git.lizzy.rs Git - shadowclad.git/commitdiff
oops
authoroutfrost <kotlet.bahn@gmail.com>
Wed, 27 May 2020 00:53:46 +0000 (02:53 +0200)
committeroutfrost <kotlet.bahn@gmail.com>
Wed, 27 May 2020 00:53:46 +0000 (02:53 +0200)
src/engine/render.c

index 0cfc49f1f57af34cc913d99a37c424f6a1bdebef..33b162516a1324a64c5e9f686e456d02f393d72d 100644 (file)
@@ -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);
 }