Nano v1.0.0
Simulating Natural Selection
utils.h File Reference
#include "pch_bll.h"
#include "simulation_data.h"

Go to the source code of this file.

Namespaces

namespace  ss
 
namespace  ss::bll
 
namespace  ss::bll::utils
 

Functions

double ss::bll::utils::toRadian (double degrees)
 Converts degrees to radians. More...
 
double ss::bll::utils::toDegree (double radians)
 Converts radians to degrees. More...
 
float ss::bll::utils::getDistance (const types::fVec2 &p1, const types::fVec2 &p2)
 
float ss::bll::utils::getAngle (const types::fVec2 &p1, const types::fVec2 &p2)