Add SPU memory allocation

This commit is contained in:
2024-08-07 23:01:43 -05:00
parent 0b340abb20
commit f18c1eb137
7 changed files with 181 additions and 4 deletions

View File

@@ -34,4 +34,14 @@ namespace JabyEngine {
}
return result;
}
template<typename T>
static constexpr T min_of(T a, T b) {
return (a < b) ? a : b;
}
template<typename T>
static constexpr T max_of(T a, T b) {
return (a > b) ? a : b;
}
}