Public release of the DLU server code!

Have fun!
This commit is contained in:
Unknown
2021-12-05 18:54:36 +01:00
parent 5f7270e4ad
commit 0545adfac3
1146 changed files with 368646 additions and 1 deletions

17
dPhysics/dpShapeSphere.h Normal file
View File

@@ -0,0 +1,17 @@
#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;
};