Optimization du renderer.
This commit is contained in:
		| @@ -158,7 +158,7 @@ Vector3f Player::GetPOV() const { return Vector3f(GetPosition().x, m_POV, GetPos | ||||
|  | ||||
| Vector3f Player::GetDirection() const { return m_direction; } | ||||
|  | ||||
| void Player::Transpose(int& x, int& z) { | ||||
| void Player::Teleport(int& x, int& z) { | ||||
| 	m_position.x -= x * CHUNK_SIZE_X; | ||||
| 	m_position.z -= z * CHUNK_SIZE_Z; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user