1#ifndef NANOMMO_CLIENT_COMPASS_H_
2#define NANOMMO_CLIENT_COMPASS_H_
18float Heading(
const Camera3D& camera);
21float Bearing(Vector3 from, Vector3 to);
26std::optional<float>
CompassAt(
float heading,
float bearing,
float span);
41std::vector<CompassMark>
CompassMarks(
const std::vector<Figure>& figures,
42 int land, uint32_t target,
43 std::optional<Vector3> destination);
49void DrawCompass(
float heading,
const std::vector<CompassMark>& marks);
float Heading(const Camera3D &camera)
void DrawCompass(float heading, const std::vector< CompassMark > &marks)
std::vector< CompassMark > CompassMarks(const std::vector< Figure > &figures, int land, uint32_t target, std::optional< Vector3 > destination)
float Bearing(Vector3 from, Vector3 to)
Which way a place is from another, the same way.
std::optional< float > CompassAt(float heading, float bearing, float span)
Something the compass shows the way to.