Moving camera along a custom plane

This commit is contained in:
Vladyslav Baranovskyi
2024-07-01 11:52:57 +03:00
parent 55eb910ff5
commit 4035d10c12
2 changed files with 29 additions and 20 deletions

View File

@@ -16,10 +16,13 @@ namespace OpenVulkano::Scene
{
Math::Vector3f m_planeNormal;
Math::Vector3f m_position;
Math::Vector3f m_planeRight;
Math::Vector3f m_planeForward;
Input::InputAction* m_actionForward;
Input::InputAction* m_actionSide;
Input::InputAction* m_actionBackward;
Input::InputAction* m_actionLeft;
Input::InputAction* m_actionRight;
Input::InputAction* m_actionUp;
Input::InputAction* m_actionBoost;
public:
enum class DefaultAxis