Removed some debug lines

This commit is contained in:
Dander7BD 2014-02-18 11:12:47 +01:00
parent c8c0bb9bc4
commit 0bd5d68da4
2 changed files with 1 additions and 8 deletions

View File

@ -112,8 +112,7 @@ void Camera_FPS::StrafeLeft( Float distance )
void Camera_FPS::PitchUp( Float radian ) void Camera_FPS::PitchUp( Float radian )
{ {
//this->pitchUp = Clamp( this->pitchUp + radian, -0.48f * pi, 0.48f * pi ); this->pitchUp = Clamp( this->pitchUp + radian, -0.48f * pi, 0.48f * pi );
this->pitchUp = this->pitchUp + radian; // debug hack
this->head.SetAngular( this->body.angularAxis + this->pitchUp * this->body.direction.v[0] ); this->head.SetAngular( this->body.angularAxis + this->pitchUp * this->body.direction.v[0] );
} }

View File

@ -87,12 +87,6 @@ bool GameState::Init( SharedStateContent &shared )
// Debugg hack // Debugg hack
this->InitiatePlayer( 0, "crate_generic.dan",Float3( 0,132, 10), Quaternion::identity, Float3(1), true ); this->InitiatePlayer( 0, "crate_generic.dan",Float3( 0,132, 10), Quaternion::identity, Float3(1), true );
Graphics::Definitions::Pointlight light;
light.Pos = Float3( 0,132,0);
light.Color = Float3( 1.0f );
light.Bright = 1.0f;
light.Radius = 1000.0f;
Graphics::API::AddLight( light );
// end debug hack // end debug hack
return true; return true;