Go to the source code of this file.
Namespaces | |
namespace | Gosu |
Functions | |
long | Gosu::trunc (double value) |
long | Gosu::round (double value) |
double | Gosu::random (double min, double max) |
double | Gosu::gosuToRadians (double angle) |
double | Gosu::radiansToGosu (double angle) |
double | Gosu::offsetX (double angle, double radius) |
double | Gosu::offsetY (double angle, double radius) |
double | Gosu::angle (double fromX, double fromY, double toX, double toY, double def=0) |
double | Gosu::angleDiff (double angle1, double angle2) |
double | Gosu::normalizeAngle (double angle) |
template<typename T> | |
T | Gosu::square (T value) |
template<typename T> | |
T | Gosu::clamp (T value, T min, T max) |
template<typename T> | |
T | Gosu::boundBy (T value, T min, T max) |
double | Gosu::distanceSqr (double x1, double y1, double x2, double y2) |
double | Gosu::distance (double x1, double y1, double x2, double y2) |
template<typename T> | |
T | Gosu::interpolate (T a, T b, double weight=0.5) |
Variables | |
const double | Gosu::pi = 3.1415926536 |