Minor corrections in API doc

This commit is contained in:
Laurent Gomila 2012-04-04 22:19:29 +02:00
parent 8d0da1d9d6
commit 1a8488bd7b

View File

@ -83,11 +83,11 @@ private :
/// of derived classes to be drawn to a sf::RenderTarget.
///
/// All you have to do in your derived class is to override the
/// Draw virtual function.
/// draw virtual function.
///
/// Note that inheriting from sf::Drawable is not mandatory,
/// but it allows this nice syntax "window.Draw(object)" rather
/// than "object.Draw(window)", which is more consistent with other
/// but it allows this nice syntax "window.draw(object)" rather
/// than "object.draw(window)", which is more consistent with other
/// SFML classes.
///
/// Example:
@ -106,7 +106,7 @@ private :
/// target.draw(m_sprite, states);
///
/// // ... or use the low-level API
/// states.Texture = &m_texture;
/// states.texture = &m_texture;
/// target.draw(m_vertices, states);
///
/// // ... or draw with OpenGL directly