/******************************************************** * BoundingSphere.h * * * * XFX BoundingSphere definition file * * Copyright © XFX Team. All Rights Reserved * ********************************************************/ #ifndef _XFX_BOUNDINGSPHERE_ #define _XFX_BOUNDINGSPHERE_ #include #include "Vector3.h" using namespace System; namespace XFX { // Defines a sphere. struct BoundingSphere : public IEquatable, virtual Object { Vector3 Center; float Radius; BoundingSphere(const Vector3 center, const float radius); BoundingSphere(const BoundingSphere &obj); BoundingSphere(); bool Equals(const BoundingSphere other) const; int GetHashCode() const; const char* ToString() const; int operator==(const BoundingSphere other) const; int operator!=(const BoundingSphere other) const; }; } #endif //_XFX_BOUNDINGSPHERE_