mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-18 03:59:20 +01:00
Lmao, git removed some things :>(
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
class Player;
|
||||
|
||||
class Camera
|
||||
{
|
||||
public:
|
||||
@@ -16,11 +18,15 @@ public:
|
||||
void BeginRendering() const;
|
||||
void EndRendering() const;
|
||||
|
||||
void SetTrackingPlayer(Player* player) { m_FollowingPlayer = player; }
|
||||
|
||||
Point2f TransformMouse (const Point2f& mousePos) const;
|
||||
Point2f TransformWorld (const Point2f& worldPos) const;
|
||||
Rectf Viewport = Rectf{ 0, 0, 846.f, 500.f };
|
||||
//TODO: Remove this and make it some static
|
||||
|
||||
private:
|
||||
Point2f m_Position;
|
||||
float m_Scale;
|
||||
Player* m_FollowingPlayer{ nullptr };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user