| 12345678910111213141516171819 |
- // ----------------------------------------------------------------
- // From Game Programming in C++ by Sanjay Madhav
- // Copyright (C) 2017 Sanjay Madhav. All rights reserved.
- //
- // Released under the BSD License
- // See LICENSE in root directory for full details.
- // ----------------------------------------------------------------
- #pragma once
- #include "Component.h"
- #include "Math.h"
- class CameraComponent : public Component
- {
- public:
- CameraComponent(class Actor* owner, int updateOrder = 200);
- protected:
- void SetViewMatrix(const Matrix4& view);
- };
|