| 113 | } |
| 114 | |
| 115 | void viewportFocusOnEntity(Window& main, EntityId targetEntity) |
| 116 | { |
| 117 | if (main.viewports[0] == nullptr) |
| 118 | { |
| 119 | return; |
| 120 | } |
| 121 | |
| 122 | main.viewportConfigurations[0].viewportTargetSprite = targetEntity; |
| 123 | } |
| 124 | |
| 125 | bool viewportIsFocusedOnEntity(const Window& main, EntityId targetEntity) |
| 126 | { |
no outgoing calls
no test coverage detected