|
Zappy GUI
C++ graphic client: renderer, camera, network
|
#include <RenderingHelper.hpp>
Collaboration diagram for RenderingHelper:Static Public Member Functions | |
| static Vector3 | tileToWorld (int tileX, int tileY, int worldWidth, int worldHeight, float tileSize) |
| Converts tile coordinates to world coordinates (centered on tile). | |
Definition at line 5 of file RenderingHelper.hpp.
|
static |
Converts tile coordinates to world coordinates (centered on tile).
| tileX | Tile X coordinate. |
| tileY | Tile Y coordinate. |
| worldWidth | Total world width in tiles. |
| worldHeight | Total world height in tiles. |
| tileSize | Size of each tile in world units. |
Definition at line 3 of file RenderingHelper.cpp.
Referenced by GameState::_applyEggNew(), GameState::_applyPlayerNew(), GameState::_applyServerSpawnedEgg(), RaylibRenderer::_drawSelectionHighlight(), RaylibRenderer::_groupLabelAnchor(), RaylibRenderer::_render3D(), SelectionFinder::findFromRay(), and MoveBehavior::MoveBehavior().
Here is the caller graph for this function: