Skybox!
This commit is contained in:
		@@ -40,8 +40,8 @@ void Player::Move(bool front, bool back, bool left, bool right, float elapsedTim
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Player::ApplyTransformation(Transformation& transformation) const {
 | 
			
		||||
void Player::ApplyTransformation(Transformation& transformation, bool rel) const {
 | 
			
		||||
	transformation.ApplyRotation(-m_rotX, 1.f, 0, 0);
 | 
			
		||||
	transformation.ApplyRotation(-m_rotY, 0, 1.f, 0);
 | 
			
		||||
	transformation.ApplyTranslation(-m_position);
 | 
			
		||||
	if (rel) transformation.ApplyTranslation(-m_position);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user