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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Chiller

Pages: [1]
1
Great! Thanks, everyone.

2
See the image. The triangle is a ConvexShape, the top side of the rectangle which can be seen is a RectangleShape, included for reference (in fact, the rectangle's x coordinates were set to be the same as those of the lower side of the triangle). There was a noticeable difference in size when the vertex coordinates were specified in clockwise order versus counter-clockwise order. All coordinates were integers.

For completeness - these were transparent shapes and what can be seen are the outlines.

[attachment deleted by admin]

3
Feature requests / Re: erase method in VertexArray
« on: December 12, 2012, 10:22:18 am »
Yeah you're right, it's pretty simple (just looked at the full code, I thought it would be a bit more complex). Still, it does more things than a naked vector. I guess it doesn't really matter.

4
Feature requests / erase method in VertexArray
« on: December 12, 2012, 10:10:31 am »
I found the VertexArray to be a pretty useful class. However, it lacks a way to delete individual vertices in the middle of the array, short of performing a full copy. Since I built my own SFML libs, I've edited an erase() method in, but I see no reason it shouldn't have been there in the first place. (It could be solved via inheritance, except it's not possible to inherit from most SFML classes in any useful way because member data is predominantly private).

Pages: [1]