Skip to main content

Crate minkowski_space

Crate minkowski_space 

Source

Re-exports§

pub use m_vector::Causality;
pub use m_vector::MVector;

Modules§

m_vector

Structs§

Collision
A collision detected during a simulation step.
CollisionGroupId
A collision group configured before a world is created.
CollisionGroupPair
A pair of collision groups that is allowed to interact.
CollisionPair
The canonical identity of two objects in contact.
EventDetection
Information about a detected event, passed to the on_detection callback.
MWorld
A simulation world with a laboratory frame and a moving observer.
ObjectConfig
Immutable physical configuration used when spawning an object.
ObjectState
A snapshot of an object’s current physical state.
Vector2D
A 2D vector, containing an x and a y component. While many types can be used for a Vector2D’s components, the traits they implement determine what functions are available.
VisibleObjectObservation
The apparent state of an object reconstructed from light received by the observer.
WorldConfig
Configuration of a simulation world.

Enums§

CollisionGroup
Defines how an object participates in collision filtering.
ConfigError
Errors returned when a physical or world configuration violates the simulation invariants.
DetectionObject
Identifies the object that detected an event.
EventObservation
Observation of a spacetime event by the world’s observer.
MotionMode
The integration strategy used by an object.
ObjectObservation
Result of observing a registered object.
ObjectSelection
Selects either the observer or a registered object.
ProcessTimeCallback
A notification produced while advancing the simulation.
StartPosition
The initial position of a registered object.

Statics§

MAX_SAFE_SPEED
Maximum velocity magnitude accepted by the library.