make static method

Pointer<JPH_Shape>? make(
  1. Shape3D shape
)

A new native shape for shape that the caller owns (one reference); null when it is not Shape3D.isValid or Jolt refuses it.

Implementation

static Pointer<JPH_Shape>? make(Shape3D shape) =>
    shape.isValid ? _make(shape) : null;