mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-01 02:25:15 +00:00
So the problem is that when your inside the sphere it won't render so it might make someone think that it's not working right. So what I did was determine if the camera is inside the sphere. If the camera is inside the sphere, then I find the distance from the center of the sphere to the camera Round down and use that as the radius to draw the sphere. That way if someone zooms in or out, their screen is still showing the sphere. |
||
|---|---|---|
| .. | ||
| bin | ||
| lib | ||
| source | ||