A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
KartReject.hh
1#pragma once
2
3#include "game/kart/KartObjectProxy.hh"
4
5namespace Kinoko {
6
7namespace Field {
8struct CollisionInfo;
9}
10
11namespace Kart {
12
15public:
16 KartReject();
18
19 void reset();
20
21 void calcRejectRoad();
22 bool calcRejection();
23
24private:
25 bool calcCollision(Field::CollisionInfo &colInfo, Field::KCLTypeMask mask,
26 EGG::Vector3f &tangentOff);
27
28 f32 m_rejectSign;
29};
30
31} // namespace Kart
32
33} // namespace Kinoko
Base class for most kart-related objects.
Pertains to handling reject road.
Definition KartReject.hh:14
A 3D float vector.
Definition Vector.hh:107