Jump to content

Ssin()

From OpenBOR

Accepts a floating-point angle in degrees and calculates its sine using the C sin() function: sin(input * π / 180).

For integer angles, use sin() instead to take advantage of its faster lookup table.

float input = 1.0;  // Example input angle in degrees

float result = ssin(input); 

// result = 0.017452406