#include <Math.hpp>
Metody publiczne | |
| COLORF () | |
| COLORF (float R, float G, float B) | |
| COLORF (float A, float R, float G, float B) | |
| COLORF (const float *Arr) | |
| operator float * () | |
| operator const float * () const | |
| bool | operator== (const COLORF &c) const |
| bool | operator!= (const COLORF &c) const |
| COLORF | operator+ () const |
| COLORF | operator- () const |
| COLORF | operator+ (const COLORF &c) const |
| COLORF | operator- (const COLORF &c) const |
| COLORF & | operator+= (const COLORF &c) |
| COLORF & | operator-= (const COLORF &c) |
| COLORF | operator* (float s) const |
| COLORF | operator/ (float s) const |
| COLORF & | operator*= (float s) |
| COLORF & | operator/= (float s) |
| COLORF | operator* (const COLORF &c) const |
| COLORF & | operator*= (const COLORF &c) |
| bool | IsValid () const |
| Sprawdza, czy składowe mieszczą się w zakresie 0.0 .. 1.0. | |
| void | Repair () |
| Sprowadza składowe do zakresu 0.0 .. 1.0. | |
Atrybuty publiczne | |
| float | R |
| float | G |
| float | B |
| float | A |
Operacje dodawania i odejmowania kolorów, a także dodawania, odejmowania, mnożenia i dzielenia przez liczbę nie pilnują zakresu i wartości składowych mogą urosnąć powyżej 1.0 albo zmaleć poniżej 0.0.
| common::COLORF::COLORF | ( | ) | [inline] |
| common::COLORF::COLORF | ( | float | R, | |
| float | G, | |||
| float | B | |||
| ) | [inline] |
| common::COLORF::COLORF | ( | float | A, | |
| float | R, | |||
| float | G, | |||
| float | B | |||
| ) | [inline] |
| common::COLORF::COLORF | ( | const float * | Arr | ) | [inline] |
| common::COLORF::operator float * | ( | ) | [inline] |
| common::COLORF::operator const float * | ( | ) | const [inline] |
| bool common::COLORF::operator== | ( | const COLORF & | c | ) | const [inline] |
| bool common::COLORF::operator!= | ( | const COLORF & | c | ) | const [inline] |
| COLORF common::COLORF::operator+ | ( | ) | const [inline] |
| COLORF common::COLORF::operator- | ( | ) | const [inline] |
| COLORF common::COLORF::operator* | ( | float | s | ) | const [inline] |
| COLORF common::COLORF::operator/ | ( | float | s | ) | const [inline] |
| COLORF& common::COLORF::operator*= | ( | float | s | ) | [inline] |
| COLORF& common::COLORF::operator/= | ( | float | s | ) | [inline] |
| bool common::COLORF::IsValid | ( | ) | const [inline] |
Sprawdza, czy składowe mieszczą się w zakresie 0.0 .. 1.0.
| void common::COLORF::Repair | ( | ) | [inline] |
Sprowadza składowe do zakresu 0.0 .. 1.0.
| float common::COLORF::R |
| float common::COLORF::G |
| float common::COLORF::B |
| float common::COLORF::A |
1.5.5