Rise
The Vieneo Province
Loading...
Searching...
No Matches
TerrainMapProjection Namespace Reference

Functions

RiseMath::Vector2 Project (const RiseMath::Vector3 &terrainPosition, float radius, const RiseMath::Matrix &mapView, float pixelsPerKmX, float pixelsPerKmY, RiseMath::Vector2 center)
bool QuadTransform (const RiseMath::Vector2(&p)[4], float width, float height, float depth, RiseMath::Matrix &transform)
template<class Vertex>
bool CellTransform (const Vertex(&grid)[64][64], int u, int v, float radius, const RiseMath::Matrix &mapView, float pixelsPerKmX, float pixelsPerKmY, RiseMath::Vector2 center, RiseMath::Matrix &transform, float minimumPixels=0)

Function Documentation

◆ CellTransform()

template<class Vertex>
bool TerrainMapProjection::CellTransform ( const Vertex(&) grid[64][64],
int u,
int v,
float radius,
const RiseMath::Matrix & mapView,
float pixelsPerKmX,
float pixelsPerKmY,
RiseMath::Vector2 center,
RiseMath::Matrix & transform,
float minimumPixels = 0 )

Definition at line 50 of file TerrainMapProjection.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Project()

RiseMath::Vector2 TerrainMapProjection::Project ( const RiseMath::Vector3 & terrainPosition,
float radius,
const RiseMath::Matrix & mapView,
float pixelsPerKmX,
float pixelsPerKmY,
RiseMath::Vector2 center )
inline

Definition at line 10 of file TerrainMapProjection.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QuadTransform()

bool TerrainMapProjection::QuadTransform ( const RiseMath::Vector2(&) p[4],
float width,
float height,
float depth,
RiseMath::Matrix & transform )
inline

Definition at line 24 of file TerrainMapProjection.h.

Here is the call graph for this function:
Here is the caller graph for this function: