source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

perf: remove SinCos table

Open mastercoms opened this issue 10 months ago • 0 comments

It's only being used by a single effect. This is slower, worse for cache, and less accurate than using the builtins. Why software emulate a table?

To ensure backwards compact, I kept the functions and just redirected them to the function calls. But I did remove the constants; if anyone used these, I don't think they can/should be helped.

mastercoms avatar Feb 19 '25 01:02 mastercoms