Rise
The Vieneo Province
Loading...
Searching...
No Matches
TerrainMapProjection.h File Reference
#include "../../Rendering/ClientRuntime11.h"
#include <cmath>
Include dependency graph for TerrainMapProjection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TerrainMapProjection

Functions

RiseMath::Vector2 TerrainMapProjection::Project (const RiseMath::Vector3 &terrainPosition, float radius, const RiseMath::Matrix &mapView, float pixelsPerKmX, float pixelsPerKmY, RiseMath::Vector2 center)
bool TerrainMapProjection::QuadTransform (const RiseMath::Vector2(&p)[4], float width, float height, float depth, RiseMath::Matrix &transform)
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)