Collision Functions

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
Walka
Posts: 19
Joined: September 7th, 2014, 3:45 am

Collision Functions

Post by Walka » August 25th, 2019, 7:57 pm

I haven't been on here in a long time, so I'm sharing stuff that I've been working on. I'm including some files with this that handles various forms of collision testing: circle collision, point in circle, point in rectangle, line intersecting and more.
Attachments
Collision.h
(505 Bytes) Downloaded 10 times
Collision.cpp
(1.61 KiB) Downloaded 11 times

Walkabp
Posts: 8
Joined: September 6th, 2019, 6:02 am

Re: Collision Functions

Post by Walkabp » September 6th, 2019, 7:42 am

I kinda surprised this doesn’t haven’t but 1 download. This is actually pretty nifty and quick as well.

albinopapa
Posts: 3825
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Collision Functions

Post by albinopapa » September 9th, 2019, 6:31 pm

It's been kind of slow around here lately.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

User avatar
DEM0N194
Posts: 28
Joined: April 15th, 2017, 4:14 pm
Location: Slovakia
Contact:

Re: Collision Functions

Post by DEM0N194 » September 10th, 2019, 9:06 am

Yeah, Discord is where all the cool kids hang out these days. . .

User avatar
chili
Site Admin
Posts: 3852
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Collision Functions

Post by chili » September 12th, 2019, 9:40 am

Yep, the halcyon days of the forum are behind us it seems. Most of us scan the posts every now and then and sometimes reply. I posted a fun little challenge here a while back with naery a bite to be had :D
Chili

Walkabp
Posts: 8
Joined: September 6th, 2019, 6:02 am

Re: Collision Functions

Post by Walkabp » September 13th, 2019, 6:02 pm

DEM0N194 wrote:
September 10th, 2019, 9:06 am
Yeah, Discord is where all the cool kids hang out these days. . .
Where can I find a link to the discord

albinopapa
Posts: 3825
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Collision Functions

Post by albinopapa » September 14th, 2019, 2:02 am

If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Post Reply