Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
circleCollider.h
1
#pragma once
2
3
#include <core.h>
4
#include <Entities/component.h>
5
#include "collider.h"
6
7
namespace
physics
{
8
9
class
RUNE_ENGINE
CircleCollider
:
public
Collider
,
rune::Component
10
{
11
private
:
12
double
radius;
13
14
public
:
15
AABB
computeAABB()
override
;
16
17
};
18
}
physics::CircleCollider
Definition:
circleCollider.h:10
physics::Collider
A collider that is to be used for registering collisions between objects in the scene.
Definition:
collider.h:24
physics
The physics module responsible for handling and resolving collisions between physics::Collider2D.
Definition:
AABB.h:7
rune::Component
A component of a rune::GameObject, this class is used to add functionality to a object in the game wo...
Definition:
component.h:23
physics::AABB
Axis aligned bounding box for each object.
Definition:
AABB.h:10
RuneEngine
src
Physics
Colliders
circleCollider.h
Generated on Tue Feb 2 2021 12:53:34 for the Rune Engine with
1.8.18.