Sorry if the title doesn't make sense. I don't know how to word it as I'm fairly new to C++. Basically I have this:
If I want to access the
position inside, I would have to do this:
(*vArray).position = ...;
Is there a way to use the arrow notation instead? Why can't I do this:
vArray->position = ...;?
Any help would be appreciated!
sf::VertexArray is part of the SFML library: https://github.com/SFML/SFML/blob/master/src/SFML/Graphics/VertexArray.cpp