[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Intersection of two cylinders
- To: linuxgames@sunsite.dk
- Subject: Intersection of two cylinders
- From: Chris <chris@starforge.co.uk>
- Date: Thu, 14 Mar 2002 18:57:27 +0000
- Delivered-To: archiver@seul.org
- Delivered-To: mailing list linuxgames@sunsite.dk
- Delivery-Date: Thu, 14 Mar 2002 13:57:26 -0500
- Mailing-List: contact linuxgames-help@sunsite.dk; run by ezmlm
- Organization: I'd tell you, but then I'd have to kill you
- Reply-To: linuxgames@sunsite.dk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Does anyone know a fast algorithm to calculate the volume of the
intersection of two cylinders, or wher eI might find one? All the examples I
have so far been able to dig up through google requires some pretty
heavy-duty number crunching just to get an approximation :(
I need to me able to detect when, and by how much, two cylinders defined
by a fixed point, a vector and a radius intersect as part of one of the
calculations my game needs to do for a high energy vortex simulation..
Chris
- --
.------{ http://www.starforge.co.uk }-----. .---------------------------.
=[ Explorer2260, Designer and Coder \=\ P: TexMaker, Draktar \
=[_[ You will obey the corporate masters. ]_]==[ Stack: EEOeOeOeTmTmDD---- ]
- --
Good day to let down old friends who need help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8kPKXtwxr0HXns0wRAh1uAKCwlXGxh/1adNlfAvsEn40jh0T7tgCgzy90
a8hcEgFV1s6AZd3VHkt9Asw=
=JtZq
-----END PGP SIGNATURE-----