1
Graphics / SFML does not wan't to draw a line
« on: October 06, 2011, 08:42:33 am »
Yeah, I know the code is quite messy (it was written fast just to test some code, but you're wriht: this shouldn't be an excuse)
Yes vec2D is a mathematical 2dimensional vector, but I wanted it to have more functionalities(the startpoint) because for some calculations is is handy that you've got a startpoint.
The zerovectors were there to experiment with other functionalities, but this isn't that important too.
Yes I used using namespace sf, but some code I copy pasted from a former program, where I didn't use it. But that shouldn't be a problem i guess?
When I increase line thickness, nothing changes. But I just think it's weird, because it prints out the values i want it to print. And these values are being sent but nor printed in the screen.
The couts i put there were simply to test if the right values were given
Yes vec2D is a mathematical 2dimensional vector, but I wanted it to have more functionalities(the startpoint) because for some calculations is is handy that you've got a startpoint.
The zerovectors were there to experiment with other functionalities, but this isn't that important too.
Yes I used using namespace sf, but some code I copy pasted from a former program, where I didn't use it. But that shouldn't be a problem i guess?
When I increase line thickness, nothing changes. But I just think it's weird, because it prints out the values i want it to print. And these values are being sent but nor printed in the screen.
The couts i put there were simply to test if the right values were given