Describe the bug
The documentation states "The index of the component to access. Use 0 for the alpha component, 1 for the red component, 2 for the green component, and 3 for the blue component".
The actual implementation uses:
switch (index)
{
case 0: return R;
case 1: return G;
case 2: return B;
case 3: return A;
}
Expected behavior
Documentation should match the implementation
The text was updated successfully, but these errors were encountered:
/// <paramname="index">The index of the component to access. Use 0 for the alpha component, 1 for the red component, 2 for the green component, and 3 for the blue component.</param>
Release Type: Github
Version: master
Describe the bug
The documentation states "The index of the component to access. Use 0 for the alpha component, 1 for the red component, 2 for the green component, and 3 for the blue component".
The actual implementation uses:
Expected behavior
Documentation should match the implementation
The text was updated successfully, but these errors were encountered: