colour: describe the rationale for overloaded cast operator
This commit is contained in:
parent
94ef217778
commit
931dc65727
@ -29,6 +29,7 @@ namespace util {
|
|||||||
using coord::base<S,T,util::colour,coord::rgba,coord::hsv>::base;
|
using coord::base<S,T,util::colour,coord::rgba,coord::hsv>::base;
|
||||||
using base_t = coord::base<S,T,util::colour,coord::rgba,coord::hsv>;
|
using base_t = coord::base<S,T,util::colour,coord::rgba,coord::hsv>;
|
||||||
|
|
||||||
|
// overloaded cast operator which assumes values are unit normalised
|
||||||
template <typename U>
|
template <typename U>
|
||||||
colour<S,U>
|
colour<S,U>
|
||||||
cast (void) const;
|
cast (void) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user