mirror of
https://github.com/AxioDL/zeus.git
synced 2025-12-21 02:39:24 +00:00
Various bug fixes
This commit is contained in:
@@ -12,7 +12,7 @@ public:
|
||||
|
||||
CSphere(const CVector3f& position, float radius) : position(position), radius(radius) {}
|
||||
|
||||
inline CVector3f getSurfaceNormal(const CVector3f& coord) const { return (position - coord).normalized(); }
|
||||
inline CVector3f getSurfaceNormal(const CVector3f& coord) const { return (coord - position).normalized(); }
|
||||
|
||||
inline bool intersects(const CSphere& other)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user