mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-04 14:42:02 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			337 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			337 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;
 | 
						|
};
 |