Hi all,
I was attempting to extend sf::Vertex, by creating my own custom vertex class and inheriting from this. I am able to create the methods I want fine, and sf::VertexArray will append with my custom Vertex class. However, when I try to access my new methods from an index within my sf::VertexArray container, I only have access to to the existing sf::Vertex properties, such as position, color, and texCoords. The strange thing is I can access my new methods outside of the sf::VertexArray object, just not within it.
Am I going about this the wrong way? or was this just not intended to work this way?
- Thanks All