dungeon_crawler

changeset 8:77c302306206

forgot to uncomment something
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 17 Aug 2012 14:30:25 +0300
parents 8fb37db44fd8
children b10ba85f75e0
files prototype/src/camera.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/prototype/src/camera.cc	Fri Aug 17 14:29:37 2012 +0300
     1.2 +++ b/prototype/src/camera.cc	Fri Aug 17 14:30:25 2012 +0300
     1.3 @@ -130,9 +130,9 @@
     1.4  void FpsCamera::calc_matrix(Matrix4x4 *mat) const
     1.5  {
     1.6  	mat->reset_identity();
     1.7 -	/*mat->translate(Vector3(pos.x, pos.y, pos.z));
     1.8 +	mat->translate(Vector3(pos.x, pos.y, pos.z));
     1.9 +	mat->rotate(Vector3(0, theta, 0));
    1.10  	mat->rotate(Vector3(phi, 0, 0));
    1.11 -	mat->rotate(Vector3(0, theta, 0));*/
    1.12  }
    1.13  
    1.14  void FpsCamera::calc_inv_matrix(Matrix4x4 *mat) const