realXtend/naali — Issue #298: Add a function for querying the world coordinate frame at a given map point.
Author: juj
Created: 2011-12-08 09:34:21+00:00
State: open
Labels: Feature Request

float3x4 EC_Terrain::LocalToWorld(const float2 &mapPoint)

Add a function which, given a 2D point on the map, returns a 3x4 affine coordinate frame (in world space), that is tangent and normal to the surface at the given map point.

Delete any leftover code that might exist related to the old function

float3 EC_Terrain::GetTerrainRotationAngles(float x, float y, float z, const float3& direction) const;