blob: 34a648c3b46c081ad34a3e3eb9d3dd37ba510aa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include "core/math/aabb.hh"
class Dimension;
struct Collision final {
math::AABBf aabb;
public:
// NOTE: Collision::fixed_update must be called
// before Transform::fixed_update and Velocity::fixed_update
// because both transform and velocity may be updated internally
static void fixed_update(Dimension* dimension);
};
|