Has anybody writen some code with geometry formulas like calculating the intersectionline of two planes and so on??

Is there a good link or book for that??

@(author-of-this-topic)

i also would prefer Eric’s book, it’s the more understandable guide (apart from that, it’s cheaper too, i think; or not?)

Dunno

I recommended Eberly because the book covers distance/intersection of just about everything you can imagine (lozengen!?), complete with source code.

It may well be that the other book is better.

lozengen!?

A Lozengen is the most versatile, not to mention near-sphere speed, collision primitive you can find. It makes human limbs very well.

Originally posted by Korval:

A Lozengen is the most versatile, not to mention near-sphere speed, collision primitive you can find. It makes human limbs very well.

google doesn’t show up anything useful about that… any free info about it?

What Eberly calls a lozenge is a rectangle with a thickness, and with rounded edges. Picture sweeping a sphere along a line segment: this gives you a cylinder with hemispheres as caps (instead of circles). Now extend this idea from a line to a rectangle.

The dictionary disagrees with Eberly, though: http://dictionary.reference.com/search?q=lozenge

– Tom

ahh, okay. thanks…

you could extend that to a box, too… right/wrong?