colour: add srgba1 and srgba1f convenience typedefs

This commit is contained in:
Danny Robson 2020-03-12 12:44:20 +11:00
parent 30f2db920c
commit 0c199eaf44

View File

@ -76,6 +76,10 @@ namespace cruft {
using colour<S,T,srgba<S,T>>::colour;
};
template <typename T>
using srgba1 = srgba<1,T>;
using srgba1f = srgba1<float>;
using srgba3f = srgba<3,float>;
using srgba4f = srgba<4,float>;