Thread: Recent Updates
View Single Post
Old 10-24-2009, 04:07 PM   #28
Jim Sachs
Developer
 
Jim Sachs's Avatar
 
Join Date: Dec 2000

Location: Southern Oregon
Posts: 9,774
Yes, that's a bounding sphere, and is actually much easier than it sounds. There's a DirectX function for measuring the distance between the center of your object and any point in space. The problem is figuring out which points in space to measure to.
Jim Sachs
Creator of SereneScreen Aquarium
Jim Sachs is offline   Reply With Quote