A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectCollisionBox.cc
1#include "ObjectCollisionBox.hh"
2
3namespace Field {
4
6ObjectCollisionBox::ObjectCollisionBox(f32 x, f32 y, f32 z, const EGG::Vector3f &center)
7 : ObjectCollisionConvexHull(8), m_dimensions(x, y, z), m_center(center),
8 m_scale(1.0f, 1.0f, 1.0f) {
9 // TODO: define points of the convex hull
10}
11
13ObjectCollisionBox::~ObjectCollisionBox() = default;
14
16void ObjectCollisionBox::transform(const EGG::Matrix34f & /*mat*/, const EGG::Vector3f & /*scale*/,
17 const EGG::Vector3f & /*speed*/) {
18 ; // TODO
19}
20
21} // namespace Field
A 3 x 4 matrix.
Definition Matrix.hh:8
Pertains to collision.
A 3D float vector.
Definition Vector.hh:83