diff options
author | Raul Santos <raulsntos@gmail.com> | 2023-01-16 04:21:17 +0100 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2023-01-24 15:01:26 +0100 |
commit | 8b07f95ba0df0ceac26eb789473d96610804708e (patch) | |
tree | 37ee17dc584180ab35a0b73448f9afe8856afbf6 /servers/rendering/shader_preprocessor.cpp | |
parent | 4fa6edc888cfacd5346bf08afa14b5f5a9bd6d0c (diff) |
C#: Add float an double overloads to Mathf
- Add `float` and `double` overloads to all methods of `Mathf`.
This allows the methods to be usable with `float`, `double` or `real_t`.
- Use `System.MathF` in the `float` overloads which may result in
better performance.
- Constants remain as `real_t` for the time being.
- Add aggresive inlining for methods that wrap `System.Math` calls.
Diffstat (limited to 'servers/rendering/shader_preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions