add more NotePreset properties

This commit is contained in:
MihailRis
2024-11-14 02:21:15 +03:00
parent 78d5ab02c2
commit 5b6ada6e5d
8 changed files with 74 additions and 18 deletions
+5
View File
@@ -70,6 +70,11 @@ namespace util {
}
};
template<typename T>
inline T sqr(T value) {
return value * value;
}
/// @return integer square of distance between two points
/// @note glm::distance2 does not support integer vectors
inline int distance2(const glm::ivec3& a, const glm::ivec3& b) {