![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <IsometricProjection.h>
Static Public Member Functions | |
| static Vector | WorldToIso (float worldX, float worldY, int tileWidth, int tileHeight, int startX=0, int startY=0, float offsetX=0.0f, float offsetY=0.0f, float globalOffsetX=0.0f, float globalOffsetY=0.0f) |
| static Vector | IsoToWorld (float isoX, float isoY, int tileWidth, int tileHeight, int startX=0, int startY=0, float offsetX=0.0f, float offsetY=0.0f, float globalOffsetX=0.0f, float globalOffsetY=0.0f) |
| static void | ScreenToTile (float screenX, float screenY, int tileWidth, int tileHeight, int &outTileX, int &outTileY) |
| static Vector | TileToScreen (int tileX, int tileY, int tileWidth, int tileHeight) |
| static void | CalculateTMJOrigin (int minTileX, int minTileY, int maxTileX, int maxTileY, int tileWidth, int tileHeight, float &outOriginX, float &outOriginY) |
Definition at line 24 of file IsometricProjection.h.
|
static |
Definition at line 108 of file IsometricProjection.cpp.
References GetComponentTypeID_Static().
Referenced by World::GetIsometricOriginX(), and World::GetIsometricOriginY().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 71 of file IsometricProjection.cpp.
References GetComponentTypeID_Static(), and Vector::x.
Referenced by ScreenToTile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 94 of file IsometricProjection.cpp.
References GetComponentTypeID_Static(), IsoToWorld(), Vector::x, and Vector::y.
Here is the call graph for this function:
|
static |
Definition at line 102 of file IsometricProjection.cpp.
References WorldToIso().
Here is the call graph for this function:
|
static |
Definition at line 55 of file IsometricProjection.cpp.
References GetComponentTypeID_Static(), and Vector::x.
Referenced by TileToScreen().
Here is the call graph for this function:
Here is the caller graph for this function: