This function converts an angle from degrees to radians.
| Parameter | Description |
|---|---|
| angle | angle in degrees |
Returns the angle, converted to radians.
#include "Leadwerks.h"
using namespace Leadwerks;
int main(int argc, const char* argv[])
{
float a = 45;
float r = Radians(a);
Print(r);
Print(Degrees(r));
return 0;
}