This function returns the arc cosine of the specified value.
Parameter | Description |
---|---|
value | cosine value |
Returns the arc cosine.
#include "UltraEngine.h"
using namespace UltraEngine;
int main(int argc, const char* argv[])
{
float angle = -65.0f;
float s = Sin(angle);
float c = Cos(angle);
float t = Tan(angle);
Print("Sin: " + String(ASin(s)));
Print("Cos: " + String(ACos(c)));
Print("Tan: " + String(ATan(t)));
return 0;
}