Integrate new Jaby sprite

This commit is contained in:
Jaby
2024-04-05 19:57:02 -05:00
parent d68fea41ed
commit 1eba386663
9 changed files with 52 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ namespace math {
template<typename T>
struct raw_math {
constexpr T operator-() const {
return T{.raw = -(static_cast<const T&>(*this).raw)};
return T{.raw = static_cast<decltype(T::raw)>(-(static_cast<const T&>(*this).raw))};
}
constexpr T operator+(const T& obj) const {