DOMO ARIGATO, MISUTA ROBOTO :trollface:

This commit is contained in:
MarcEricMartel
2023-11-06 16:43:52 -05:00
parent d49d5cdebc
commit 253e49b1cc
12 changed files with 180 additions and 28 deletions

View File

@@ -192,6 +192,8 @@ void Player::ApplyTransformation(Transformation& transformation, bool rel) const
if (rel) transformation.ApplyTranslation(-GetPOV());
}
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::GetVelocity() const { return m_velocity; }