normalizeradians.c (469B)
1 // normalize radians 2 3 #include "../lash_game_standard.h" 4 #include <stdio.h> 5 6 int main() { 7 printf("Normalize -2.7: %f\n", lash_normalizeRadians(-2.7)); 8 printf("Normalize -4.7: %f\n", lash_normalizeRadians(-4.7)); 9 printf("Normalize -9.7: %f\n", lash_normalizeRadians(-9.7)); 10 printf("Normalize 2.7: %f\n", lash_normalizeRadians(2.7)); 11 printf("Normalize 4.7: %f\n", lash_normalizeRadians(4.7)); 12 printf("Normalize 9.7: %f\n", lash_normalizeRadians(9.7)); 13 return 0; 14 }