Module xplm::position
[−]
[src]
Position types
Types that represent positions in X-Plane
Structs
LatLon |
Stores a position as latitude and longitude |
LatLonAlt |
Stores a position as latitude, longitude, and altitude |
Local |
A position in local OpenGL coordinates |
Vec3 |
A generic 3-dimensional vector |
Traits
Positioned |
A trait for things that have positions |
Functions
local_origin |
Returns the latitude and longitude of the origin of the local coordinate system |
local_to_world |
Converts from local coordinates into latitude, longitude, and altitude |
world_to_local |
Converts from latitude, longitude, and altitude into local coordinates |