mirror of
https://github.com/iAmInActions/SpaceCadetPinballPPC.git
synced 2024-11-22 03:55:21 +00:00
17 lines
406 B
C++
17 lines
406 B
C++
#pragma once
|
|
#include "maths.h"
|
|
#include "TEdgeSegment.h"
|
|
|
|
class TCircle :
|
|
public TEdgeSegment
|
|
{
|
|
public:
|
|
circle_type Circle{};
|
|
|
|
TCircle(TCollisionComponent* collComp, char* activeFlag, unsigned int collisionGroup, vector_type* center,
|
|
float radius);
|
|
float FindCollisionDistance(ray_type* ray) override;
|
|
void EdgeCollision(TBall* ball, float coef) override;
|
|
void place_in_grid() override;
|
|
};
|