| 1234567891011121314151617181920212223242526 |
- export module Core.View;
- export import Core.Matrix;
- export namespace Core {
- class View {
- Matrix view{};
- Vector3 back{};
- Vector3 down{};
- Vector3 front{};
- Vector3 left{};
- Vector3 right{};
- Vector3 up{};
- public:
- void updateDirections(float lengthAngle, float widthAngle) noexcept;
- void updateDirections(const Quaternion& q) noexcept;
- const Matrix& updateMatrix(const Vector3& pos) noexcept;
- const Vector3& getBack() const noexcept;
- const Vector3& getDown() const noexcept;
- const Vector3& getFront() const noexcept;
- const Vector3& getLeft() const noexcept;
- const Vector3& getRight() const noexcept;
- const Vector3& getUp() const noexcept;
- };
- }
|