Skip to content

Commit

Permalink
Games: Be consistent with code highlights (#37637)
Browse files Browse the repository at this point in the history
  • Loading branch information
nodeppo authored Jan 14, 2025
1 parent e90d157 commit 93eda4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Regardless of the type of camera, we would always need information regarding its

- `x` and `y`: The current position of the camera. In this implementation, we are assuming that `(x,y)` points to the top left corner of visible portion of the map.
- `width` and `height`: The size of the camera's viewport.
- `maxX` and `maxY`: The limit for the camera's position — The lower limit will nearly always be (0,0), and in this case the upper limit is equal to the size of the world minus the size of the camera's viewport.
- `maxX` and `maxY`: The limit for the camera's position — The lower limit will nearly always be `(0,0)`, and in this case the upper limit is equal to the size of the world minus the size of the camera's viewport.

## Rendering the map

Expand Down

0 comments on commit 93eda4e

Please sign in to comment.