| 241 | return r<=other.r && g<=other.g && b<=other.b; |
| 242 | } |
| 243 | float dot(const rgbf& other) const |
| 244 | { |
| 245 | return r*other.r+g*other.g+b*other.b; |
| 246 | } |
| 247 | rgbf pow(const float exp) const |
| 248 | { |
| 249 | return rgbf(std::pow(r, exp), std::pow(g, exp), std::pow(b, exp)); |
no outgoing calls
no test coverage detected