newton.utils.vec_min#

newton.utils.vec_min(a, b)[source]#

Compute the elementwise minimum of two 3D vectors.

Parameters:
  • a (wp.vec3) – The first vector.

  • b (wp.vec3) – The second vector.

Returns:

The elementwise minimum.

Return type:

wp.vec3