Kazade/kazmath

Collision/response related functions

Cloudef opened this issue · 2 comments

I'm probably going to contribute some collision/response related functions to kazmath somewhere in near future, and introduce new types such as kmOBB, kmEllipse, kmTriangle, ...

You can see video of the math in action here:
http://www.youtube.com/watch?v=HYW2lI3alG0

You can see the current code that is still unfinished and some math is broken here (at top of file everything prefixed with km):
https://github.com/Cloudef/colhck/blob/master/test/coltest.c

Though, I have question regarding kmAABBExtent, will this kind of type be pulled in or should the original kmAABB be replaced?

The reason for introducing kmAABBExtent is reduced memory usage.

This looks amazing!

Replace the original kmAABB.. no point keeping duplication :)

On 22 November 2013 14:56, Jari Vetoniemi notifications@github.com wrote:

I'm probably going to contribute some collision/response related functions
to kazmath somewhere in near future, and introduce new types such as kmOBB,
kmEllipse, kmTriangle, ...

You can see video of the math in action here:
http://www.youtube.com/watch?v=HYW2lI3alG0

You can see the current code that is still unfinished and some math is
broken here (at top of file everything prefixed with km):
https://github.com/Cloudef/colhck/blob/master/test/coltest.c

Though, I have question regarding kmAABBExtent, will this kind of type be
pulled in or should the original kmAABB be replaced?

The reason for introducing kmAABBExtent is reduced memory usage.


Reply to this email directly or view it on GitHubhttps://github.com//issues/21
.

All right, of course I'll fix all current kmAABB functions to use the extent format :)
I'll send pull requests when I have stuff working and tested.