12345678910111213141516 |
- #include "math/Math.h"
- #include <math.h>
- void Core::Math::sinCos(float a, float& s, float& c) {
- #ifdef _GNU_SOURCE
- sincosf(a, &s, &c);
- #else
- s = sinf(a);
- c = cosf(a);
- #endif
- }
- float Core::Math::squareRoot(float f) {
- return sqrtf(f);
- }
|