Commits

Trammell Hudson  committed dd0a724

Test cos lookup, too

  • Participants
  • Parent commits 2c67029

Comments (0)

Files changed (1)

 	{
 		double sx = sin_lookup(theta) / 128.0;
 		double sf = sin(theta * 2 * M_PI / 256.0);
+		double cx = cos_lookup(theta) / 128.0;
+		double cf = cos(theta * 2 * M_PI / 256.0);
 
 		printf("%.4f %.4f %.4f\n",
-			sx,
-			sf,
-			sf - sx
+			cx,
+			cf,
+			cf - cx
 		);
 	}
 }