optimizing chunk mesh

This commit is contained in:
2025-05-20 16:15:23 +02:00
parent 84e5e437d0
commit 6fea3147ee
9 changed files with 199 additions and 125 deletions

View File

@@ -16,6 +16,10 @@ namespace Scop
[[nodiscard]] inline constexpr std::string GetCameraType() override { return "FirstPerson3D"; }
[[nodiscard]] const Vec3f& GetPosition() const noexcept override { return m_position; }
[[nodiscard]] const Vec3f& GetUp() const noexcept { return m_up; }
[[nodiscard]] const Vec3f& GetLeft() const noexcept { return m_left; }
[[nodiscard]] const Vec3f& GetTarget() const noexcept { return m_target; }
[[nodiscard]] const Vec3f& GetDirection() const noexcept { return m_direction; }
~FirstPerson3D() = default;