Xrb::Dim Namespace Reference
Used for pendantically self-documenting vector indexing.
More...
|
Enumerations |
enum | Component {
X = 0,
Y,
Z,
R = 0,
G,
B,
A,
RED = R,
GREEN = G,
BLUE = B,
ALPHA = A
} |
| Gives textual names to the three most common vector components, as well as the 4 color components (RGBA). More...
|
Detailed Description
Used for pendantically self-documenting vector indexing.
Enumeration Type Documentation
Gives textual names to the three most common vector components, as well as the 4 color components (RGBA).
- Enumerator:
-
X |
The X-component index. |
Y |
The Y-component index. |
Z |
The Z-component index. |
R |
The red color component index. |
G |
The green color component index. |
B |
The blue color component index. |
A |
The alpha color component index. |
RED |
The red color component index. |
GREEN |
The green color component index. |
BLUE |
The blue color component index. |
ALPHA |
The alpha color component index. |
Definition at line 26 of file xrb_enums.hpp.