# HG changeset patch # User John Tsiombikas # Date 1345203025 -10800 # Node ID 77c302306206db430974256e1bcebd5a18c1ec02 # Parent 8fb37db44fd89d0801cad1fa3e37f15431c83ec0 forgot to uncomment something diff -r 8fb37db44fd8 -r 77c302306206 prototype/src/camera.cc --- a/prototype/src/camera.cc Fri Aug 17 14:29:37 2012 +0300 +++ b/prototype/src/camera.cc Fri Aug 17 14:30:25 2012 +0300 @@ -130,9 +130,9 @@ void FpsCamera::calc_matrix(Matrix4x4 *mat) const { mat->reset_identity(); - /*mat->translate(Vector3(pos.x, pos.y, pos.z)); + mat->translate(Vector3(pos.x, pos.y, pos.z)); + mat->rotate(Vector3(0, theta, 0)); mat->rotate(Vector3(phi, 0, 0)); - mat->rotate(Vector3(0, theta, 0));*/ } void FpsCamera::calc_inv_matrix(Matrix4x4 *mat) const