Minor corrections in API doc
This commit is contained in:
parent
459bc291f5
commit
3a64ca8943
2 changed files with 3 additions and 2 deletions
|
@ -199,8 +199,8 @@ SFML_GRAPHICS_API Color& operator *=(Color& left, const Color& right);
|
|||
///
|
||||
/// \code
|
||||
/// sf::Color color(255, 0, 0); // red
|
||||
/// color.red = 0; // make it black
|
||||
/// color.blue = 128; // make it dark blue
|
||||
/// color.r = 0; // make it black
|
||||
/// color.b = 128; // make it dark blue
|
||||
/// \endcode
|
||||
///
|
||||
/// The fourth component of colors, named "alpha", represents
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue