19#ifndef HEADER_USER_POINTER_HPP
20#define HEADER_USER_POINTER_HPP
41 UP_PHYSICAL_OBJECT, UP_ANIMATION};
53 void set(
PhysicalObject* p) { m_user_pointer_type=UP_PHYSICAL_OBJECT;
57 void set(
Flyable* p) { m_user_pointer_type=UP_FLYABLE;
59 void set(
TriangleMesh* p) { m_user_pointer_type=UP_TRACK;
64 void zero() { m_user_pointer_type=UP_UNDEF;
An abstract interface for the actual karts.
Definition: abstract_kart.hpp:62
Definition: flyable.hpp:50
Definition: moveable.hpp:46
Definition: physical_object.hpp:40
A virtual base class for all animations.
Definition: three_d_animation.hpp:45
A special class to store a triangle mesh with a separate material per triangle.
Definition: triangle_mesh.hpp:35
A UserPointer is stored as a user pointer in all bullet bodies.
Definition: user_pointer.hpp:36
UserPointerType
List of all possibles STK objects that are represented in the physics.
Definition: user_pointer.hpp:40