POV-Ray : Newsgroups : povray.general : Maths Question : Maths Question Server Time
2 Aug 2024 22:19:29 EDT (-0400)
  Maths Question  
From: Josh
Date: 30 Jun 2004 12:23:29
Message: <40e2e901$1@news.povray.org>
Hi,

I'm not a  maths guy, can any of you Gurus help me out here.

I've sussed detecting if two spheres intersect ( distance between centers
less combined radius ) but...

I want to detect if there is any collision between a box and a sphere with a
mathematical formular.  Can it be done?  How?

sphere is at    x1,y1,z1   and of radius n1.   Box is from    x2,y2,z2  to
x3,y3,z3

Thanks in advance...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.