Nano v1.0.0
Simulating Natural Selection
|
Functions | |
double | toRadian (double degrees) |
Converts degrees to radians. More... | |
double | toDegree (double radians) |
Converts radians to degrees. More... | |
float | getDistance (const types::fVec2 &p1, const types::fVec2 &p2) |
float | getAngle (const types::fVec2 &p1, const types::fVec2 &p2) |
float ss::bll::utils::getAngle | ( | const types::fVec2 & | p1, |
const types::fVec2 & | p2 | ||
) |
float ss::bll::utils::getDistance | ( | const types::fVec2 & | p1, |
const types::fVec2 & | p2 | ||
) |
double ss::bll::utils::toDegree | ( | double | radians | ) |
Converts radians to degrees.
radians | The radian to be converted from. |
double ss::bll::utils::toRadian | ( | double | degrees | ) |
Converts degrees to radians.
degrees | The angle to be converted from. |