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 - Csharpest

Pages: [1]
1
Graphics / Re: Lines Primitive collision with Quads
« on: March 10, 2016, 08:52:24 pm »
Ah thank you, I was thinking of how I'd done collison in SFML before by using bounding boxes and such.

Didn't want to implement something like this if it was already in the SFML libraries.

Hopefully will get this to work, but if anyone has other ideas I'd love to hear them too

2
Graphics / Lines Primitive collision with Quads
« on: March 10, 2016, 07:50:22 pm »
Hi all,

I'm hoping you guys can help me. I've created my own vertexArray classes via the tutorials available on the site to build a class which displays a two dimensional graph using Lines.

My issue is now I have another vertexArray of Quads, which is the sections of the graph. (like the squares on graph paper). I'm struggling to do collision detection on these two objects.

Is there a way that I can test if a line has passed through a quad shape?
e.g. I have a line at point 0,0 to 100,100. The quads are in sizes of 10,10. Which of these quads have the line passed through?

Many thanks for any and all help, it would be really helpful.

3
General / Eclipse IDE Linux setup help
« on: March 24, 2015, 04:38:42 pm »
Hello,

I've been trying for a few hours now to set up SFML on my Linux mint machine and cannot get it to work in my preferred IDE of Eclipse c++.

Everything seems to be an issue. I've installed the libraries from the apt-get commands and tried linking in project settings but nothing seems to work.

Everything is on its defaults as it's a clean install. I can't get minGW tool chain to show or work either?

So stuck for this. Does anyone else use Eclipse on Linux (none of the windows version of Eclipse walk throughs have worked for me)

Any help of a walk through would be so appreciated.

Pages: [1]