asPxVec3#
Fully qualified name: isaacsim::core::includes::conversions::asPxVec3
- inline ::physx::PxVec3 isaacsim::core::includes::conversions::asPxVec3(
- const pxr::GfVec3d &v,
Converts pxr::GfVec3d into PhysX vector.
Performs component-wise conversion with precision demotion:
x, y, z components are converted from double to float
Warning
Potential precision loss during double to float conversion
- Parameters:
v – [in] Input vector in USD format (double precision)
- Returns:
PxVec3 Equivalent vector in PhysX format (single precision)