oops
parent
a27a62fff0
commit
12d840bc03
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue