there is just one small problem still exist in chapt3 from SFML GAME DEVELOPMENT;
in this code
virtual void draw(sf::RenderTarget& target, sf::RenderStates states) const
{
// Apply transform of current node
states.transform *= getTransform();
// Draw node and children with changed transform
drawCurrent(target, states);
drawChildren(target, states);
}
what (*=) or (combine) do in this code (I have read the documentation about this function but still cant understand what it is doing)
==========================
and just another small question .in the above function (draw)
draw current and draw children take the same state
how this is possible. and there is three planes draw themselves in three different locations.