3 ms·
Very early games had lookup tables for trig functions. The cpu instructions were too slow or missing. The tables were either generated at run time or staticall
by hinkley 2y ago
Very early games had lookup tables for trig functions. The cpu instructions were too slow or missing. The tables were either generated at run time or statically defined in the code.
I think that’s one of those things Jai and Zig agree on - compile time functions have a place in preventing magic numbers that cannot be debugged.