Removed some debug lines
This commit is contained in:
parent
c8c0bb9bc4
commit
0bd5d68da4
|
@ -112,8 +112,7 @@ void Camera_FPS::StrafeLeft( Float distance )
|
|||
|
||||
void Camera_FPS::PitchUp( Float radian )
|
||||
{
|
||||
//this->pitchUp = Clamp( this->pitchUp + radian, -0.48f * pi, 0.48f * pi );
|
||||
this->pitchUp = this->pitchUp + radian; // debug hack
|
||||
this->pitchUp = Clamp( this->pitchUp + radian, -0.48f * pi, 0.48f * pi );
|
||||
this->head.SetAngular( this->body.angularAxis + this->pitchUp * this->body.direction.v[0] );
|
||||
}
|
||||
|
||||
|
|
|
@ -87,12 +87,6 @@ bool GameState::Init( SharedStateContent &shared )
|
|||
|
||||
// Debugg hack
|
||||
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
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue