|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include "client/compass.h"#include <imgui.h>#include <algorithm>#include <array>#include <cfloat>#include <cmath>#include <cstdint>#include <numbers>#include <optional>#include <string>#include <vector>#include "absl/strings/substitute.h"#include "client/atmosphere.h"#include "client/theme.h"#include "client/translations.h"#include "extras/IconsFontAwesome6.h"#include "terrain/lands.h"Go to the source code of this file.
Namespaces | |
| namespace | nanommo |
Functions | |
| float | nanommo::Bearing (Vector3 from, Vector3 to) |
| Which way a place is from another, the same way. | |
| float | nanommo::Heading (const Camera3D &camera) |
| std::optional< float > | nanommo::CompassAt (float heading, float bearing, float span) |
| std::vector< CompassMark > | nanommo::CompassMarks (const std::vector< Figure > &figures, int land, uint32_t target, std::optional< Vector3 > destination) |
| void | nanommo::DrawCompass (float heading, const std::vector< CompassMark > &marks) |