|
Blender V5.3
|
#include <GEO_xpbd_geometry_ref.hh>
Public Member Functions | |
| uint64_t | size () const |
Public Attributes | |
| MutableSpan< float3 > | positions |
| MutableSpan< float3 > | velocities |
| Span< float3 > | prev_positions |
| Span< float > | inv_masses |
| MutableSpan< math::Quaternion > | rotations |
| MutableSpan< float3 > | angular_velocities |
| Span< math::Quaternion > | prev_rotations |
| Span< float3 > | moments_of_inertia |
| Span< float3 > | inv_moments_of_inertia |
References to the data of a geometry that is being simulated.
Definition at line 16 of file GEO_xpbd_geometry_ref.hh.
|
inline |
Definition at line 37 of file GEO_xpbd_geometry_ref.hh.
References blender::MutableSpan< T >::size().
| MutableSpan<float3> blender::xpbd::GeometryRef::angular_velocities |
Optional angular_velocity data.
Definition at line 29 of file GEO_xpbd_geometry_ref.hh.
Inverse mass of each point.
Definition at line 24 of file GEO_xpbd_geometry_ref.hh.
Inverse of the above.
Definition at line 35 of file GEO_xpbd_geometry_ref.hh.
Optional moment of inertia of each point.
Definition at line 33 of file GEO_xpbd_geometry_ref.hh.
| MutableSpan<float3> blender::xpbd::GeometryRef::positions |
The position of each point.
Definition at line 18 of file GEO_xpbd_geometry_ref.hh.
Positions before time integration, at the beginning of the current substep.
Definition at line 22 of file GEO_xpbd_geometry_ref.hh.
| Span<math::Quaternion> blender::xpbd::GeometryRef::prev_rotations |
Rotations before time integration.
Definition at line 31 of file GEO_xpbd_geometry_ref.hh.
| MutableSpan<math::Quaternion> blender::xpbd::GeometryRef::rotations |
Optional rotation data.
Definition at line 27 of file GEO_xpbd_geometry_ref.hh.
| MutableSpan<float3> blender::xpbd::GeometryRef::velocities |
The linear velocity of each point.
Definition at line 20 of file GEO_xpbd_geometry_ref.hh.