Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: full vector functionality for vertexArray  (Read 2713 times)

0 Members and 1 Guest are viewing this topic.

Vovosunt

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
full vector functionality for vertexArray
« on: May 02, 2012, 06:19:26 pm »
Just thought, since vertexArray is basically a vector<Vertex>, why not add all the functionality, like insert, remove and so on.
It's really easy to do and quite damn useful  :)

Also a side question: do all the vertices in the draw call get stored into a VBO?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: full vector functionality for vertexArray
« Reply #1 on: May 02, 2012, 07:26:21 pm »
Why don't you use a std::vector if you need all its functions?

Quote
do all the vertices in the draw call get stored into a VBO?
No.
Laurent Gomila - SFML developer