Kinoko
A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectCollisionBox.hh
1
#pragma once
2
3
#include "game/field/ObjectCollisionConvexHull.hh"
4
5
namespace
Field
{
6
8
class
ObjectCollisionBox
:
public
ObjectCollisionConvexHull
{
9
public
:
10
ObjectCollisionBox
(f32 x, f32 y, f32 z,
const
EGG::Vector3f
¢er);
11
~ObjectCollisionBox
()
override
;
12
13
void
transform(
const
EGG::Matrix34f
&mat,
const
EGG::Vector3f
&scale,
14
const
EGG::Vector3f
&speed)
override
;
15
16
private
:
17
EGG::Vector3f
m_dimensions;
18
EGG::Vector3f
m_center;
19
EGG::Vector3f
m_scale;
20
};
21
22
}
// namespace Field
EGG::Matrix34f
A 3 x 4 matrix.
Definition
Matrix.hh:8
Field::ObjectCollisionBox
Definition
ObjectCollisionBox.hh:8
Field::ObjectCollisionConvexHull
Smallest convex shape that encloses a given set of points.
Definition
ObjectCollisionConvexHull.hh:8
Field
Pertains to collision.
Definition
BoxColManager.cc:8
EGG::Vector3f
A 3D float vector.
Definition
Vector.hh:83
game
field
ObjectCollisionBox.hh
Made by
Malleo
. Logo by
vabold
. Website generated by
Doxygen
1.12.0