Skip to main content

Module physics

Module physics 

Source
Expand description

Physics computation module for haptic interactions. Provides utilities for calculating forces and interactions with virtual objects.

Structs§

Cube
A cube model with physical properties.
Sphere
A sphere model with physical properties.

Traits§

PhysicalObject
A trait representing a physical object that can compute a force given a position.

Functions§

compute_total_force
Computes the total force vector acting on a point in 3D space.