Euphoria
|
angle.cc File Reference
#include "base/angle.h"
#include "assert/assert.h"
#include "base/range.h"
#include "base/random.h"
#include <cmath>
Go to the source code of this file.
Namespaces | |
eu | |
Functions | |
Angle | eu::get_random_angle (::eu::Random *random) |
float | eu::sin (const Angle &ang) |
float | eu::cos (const Angle &ang) |
float | eu::tan (const Angle &ang) |
Angle | eu::asin (float v) |
Angle | eu::acos (float v) |
Angle | eu::atan (float v) |
Angle | eu::atan2 (float y, float x) |
Angle | eu::operator+ (const Angle &lhs, const Angle &rhs) |
Angle | eu::operator- (const Angle &lhs, const Angle &rhs) |
Angle | eu::operator/ (const Angle &lhs, float rhs) |
Angle | eu::operator* (const Angle &lhs, float rhs) |
Angle | eu::operator* (float rhs, const Angle &lhs) |
std::string | eu::to_string (const Angle &a) |
bool | eu::operator< (const Angle &lhs, const Angle &rhs) |
bool | eu::operator<= (const Angle &lhs, const Angle &rhs) |
bool | eu::operator> (const Angle &lhs, const Angle &rhs) |
bool | eu::operator>= (const Angle &lhs, const Angle &rhs) |
Angle | eu::lerp_angle (const Angle &from, float v, const Angle &to) |