Eh baswell

This commit is contained in:
MarcEricMartel
2023-11-24 12:41:20 -05:00
parent 06a5bb67d3
commit bc7127ef7d
4 changed files with 44 additions and 38 deletions

View File

@@ -248,6 +248,8 @@ void Player::SetDirection(Vector3f dir) { m_direction = dir; }
Vector3f Player::GetPosition() const { return Vector3f(m_position.x + CHUNK_SIZE_X * WORLD_SIZE_X / 2, m_position.y, m_position.z + CHUNK_SIZE_Z * WORLD_SIZE_Y / 2); }
Vector3f Player::GetPositionAbs() const { return m_position; }
Vector3f Player::GetVelocity() const { return m_velocity; }
Vector3f Player::GetPOV() const { return Vector3f(GetPosition().x, m_POV, GetPosition().z); }