RymlConverters for various pieces of math + tests
This commit is contained in:
@@ -80,9 +80,9 @@ namespace OpenVulkano::Math
|
||||
{
|
||||
}
|
||||
|
||||
uint8_t GetR() { return Unmake5(r); }
|
||||
uint8_t GetG() { return Unmake6(g); }
|
||||
uint8_t GetB() { return Unmake5(b); }
|
||||
uint8_t GetR() const { return Unmake5(r); }
|
||||
uint8_t GetG() const { return Unmake6(g); }
|
||||
uint8_t GetB() const { return Unmake5(b); }
|
||||
|
||||
template<typename T, std::enable_if_t<std::is_integral_v<T>, bool> = true>
|
||||
Math::Vector3<T> Get3()
|
||||
|
||||
Reference in New Issue
Block a user