diff options
| author | andromeda <andromeda@lenovo> | 2026-02-08 15:08:46 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-02-08 15:08:46 +0100 |
| commit | 602507a60567faded8f9d2e0f9d173a4e3ab481b (patch) | |
| tree | 99305b5b820aefb76d2a8493e97cd65205446afc /src/Game/Internal/Types.hs | |
| parent | 4d59cd7569c4c45e6d37855523c905377a50fdca (diff) | |
better projection, transparency; 4d camera, controls r/f for +/-wdevelopment
Diffstat (limited to 'src/Game/Internal/Types.hs')
| -rw-r--r-- | src/Game/Internal/Types.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Game/Internal/Types.hs b/src/Game/Internal/Types.hs index 61173db..0a713d7 100644 --- a/src/Game/Internal/Types.hs +++ b/src/Game/Internal/Types.hs @@ -83,7 +83,7 @@ mkModel camera objects program wprop = -- | camera data Camera = Camera { -- | position in world space - camPos :: V3 Float, + camPos :: V4 Float, -- | pitch in radians, up positive camPitch :: Float, -- | yaw in radians, right positive @@ -107,7 +107,7 @@ data Camera = Camera -- | smart constructor for Camera mkCamera :: - V3 Float -> + V4 Float -> Float -> Float -> V3 Float -> |
