nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
compass.h File Reference
#include <imgui.h>
#include <raylib.h>
#include <cstdint>
#include <optional>
#include <vector>
#include "client/animator.h"

Go to the source code of this file.

Classes

struct  nanommo::CompassMark
 Something the compass shows the way to. More...

Namespaces

namespace  nanommo

Functions

float nanommo::Heading (const Camera3D &camera)
float nanommo::Bearing (Vector3 from, Vector3 to)
 Which way a place is from another, the same way.
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)