@pmndrs/bvh
    Preparing search index...

    Function invertAffineInto

    • invertAffine into out (12 numbers), reading the matrix from offset in objectToWorld, without allocating: for the scene copy's per-instance writes, which setTransforms makes thousands of a frame. Returns the determinant, or 0 when the matrix is singular or the result isn't finite (then out holds garbage).

      Parameters

      • objectToWorld: Mat4
      • out: Float64Array
      • offset: number = 0

      Returns number