16 years, 8 months ago
Highlights
You can calculate the angle by using the dot product beceause the dot product between two unit vectors is the cosine of the angle between them.In pseudocode:vector2d vec1 = line…
16 years, 8 months ago
16 years, 10 months ago
I've written a function to test if two obb's collide but it doesn't work. Well sometimes it works fine but other times it doesn't. So can someone tell me what i'm doing wrong? Y…
16 years, 10 months ago
I've read in some tutorials about maps that when you want to use a class in a map and you want to acces the map with an iterator you have to overload the < operator. I've don…
17 years, 8 months ago
When I compile my project with dev-c++ or code blocks(I didn't try other compilers) it gives lots of undefined reference errors for my logger class. My logger class is made a si…
17 years, 9 months ago
Latest Activity
See all in DiscussionsYou can calculate the angle by using the dot product beceause the dot product between two unit vectors is the …
16 years, 8 months ago
Max is indeed the halfsize. Now I have nearly the same code as you posted and it still isn't working.void …
16 years, 10 months ago
I rewrote my code again, because I wanted to split it up into several functions and I wanted to get …
16 years, 10 months ago