10#ifdef JPH_DEBUG_RENDERER
30 virtual
void SaveBinaryState(
StreamOut &inStream) const = 0;
33 virtual
void RestoreBinaryState(
StreamIn &inStream) = 0;
72#ifdef JPH_DEBUG_RENDERER
#define JPH_EXPORT
Definition: Core.h:227
#define JPH_NAMESPACE_END
Definition: Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
#define JPH_OVERRIDE_NEW_DELETE
Macro to override the new and delete functions.
Definition: Memory.h:29
#define JPH_DECLARE_SERIALIZABLE_ABSTRACT(linkage, class_name)
Definition: SerializableObject.h:111
Definition: DebugRenderer.h:47
Class that makes another class non-copyable. Usage: Inherit from NonCopyable.
Definition: NonCopyable.h:11
Definition: PhysicsSystem.h:29
Definition: Reference.h:35
Definition: SerializableObject.h:147
Definition: StateRecorder.h:48
Simple binary input stream.
Definition: StreamIn.h:13
Simple binary output stream.
Definition: StreamOut.h:13
Definition: VehicleConstraint.h:66
Runtime data for interface that controls acceleration / deceleration of the vehicle.
Definition: VehicleController.h:41
virtual bool AllowSleep() const =0
virtual void PostCollide(float inDeltaTime, PhysicsSystem &inPhysicsSystem)=0
virtual void Draw(DebugRenderer *inRenderer) const =0
virtual void PreCollide(float inDeltaTime, PhysicsSystem &inPhysicsSystem)=0
virtual void RestoreState(StateRecorder &inStream)=0
virtual Wheel * ConstructWheel(const WheelSettings &inWheel) const =0
virtual bool SolveLongitudinalAndLateralConstraints(float inDeltaTime)=0
JPH_OVERRIDE_NEW_DELETE VehicleController(VehicleConstraint &inConstraint)
Constructor / destructor.
Definition: VehicleController.h:46
virtual ~VehicleController()=default
virtual void SaveState(StateRecorder &inStream) const =0
VehicleConstraint & mConstraint
The vehicle constraint we belong to.
Definition: VehicleController.h:77
Basic settings object for interface that controls acceleration / deceleration of the vehicle.
Definition: VehicleController.h:25
Base class for runtime data for a wheel, each VehicleController can implement a derived class of this...
Definition: Wheel.h:46
Base class for wheel settings, each VehicleController can implement a derived class of this.
Definition: Wheel.h:19