SFML community forums
Help => Graphics => Topic started by: Deftwun on January 18, 2012, 02:55:57 am
-
Just upgraded to sfml 2.0 before I got too far in my project. I was updating my debug draw class for box 2d to match the new API when I noticed there is no line segment shape in 2.0. Should I just use a really skinny rectangle? :)
-
Ok so I think I found it. (sorry for spamming) I think a vertex array is what I'm looking for... Which I suppose is more suitable than a line segment class. I didn't realize it inherited from sf::drawable. I assumed it was just some sort of data type :)