thunderbrew/src/math/Types.cpp
2023-01-02 13:17:18 -06:00

8 lines
137 B
C++

#include "math/Types.hpp"
#include "math/Utils.hpp"
#include <cmath>
fixed16::operator float() const {
return this->n / 32767.0f;
}