11 constexpr
az_el() =
default;
12 constexpr
az_el(
float both)
15 constexpr az_el(
float azimuth,
float elevation)
17 , elevation{elevation} {}
33 float compute_azimuth(
const glm::vec3& pointing);
34 float compute_elevation(
const glm::vec3& pointing);
35 az_el compute_azimuth_elevation(
const glm::vec3& pointing);
37 glm::vec3 compute_pointing(
const az_el& azel);
39 constexpr
auto to_tuple(
az_el& x) {
40 return std::tie(x.azimuth, x.elevation);
43 constexpr
auto to_tuple(
const az_el&x) {
44 return std::tie(x.azimuth, x.elevation);
47 constexpr
auto operator==(
const az_el& a,
const az_el& b) {
48 return to_tuple(a) == to_tuple(b);
51 constexpr
auto operator!=(
const az_el& a,
const az_el& b) {
Definition: capsule_base.h:9