mirror of
https://github.com/Squareville/TestEventServer.git
synced 2026-01-02 01:09:57 -06:00
17 lines
336 B
C++
17 lines
336 B
C++
#pragma once
|
|
#include "dpShapeBase.h"
|
|
|
|
class dpShapeSphere : public dpShapeBase {
|
|
public:
|
|
dpShapeSphere(dpEntity* parentEntity, float radius);
|
|
~dpShapeSphere();
|
|
|
|
bool IsColliding(dpShapeBase* other);
|
|
|
|
const float GetRadius() const { return m_Radius; }
|
|
|
|
void SetScale(float scale) { m_Radius = scale; }
|
|
|
|
private:
|
|
float m_Radius;
|
|
}; |