master
outfrost 2020-05-27 02:53:46 +02:00
parent a27a62fff0
commit 12d840bc03
1 changed files with 0 additions and 1 deletions

View 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);
}