mjtSDFType — signed distance function (SDF) type. From MuJoCo's headers, as numbers. All 4 values carry a number in the header.
Summary
Functions
mjSDFTYPE_COLLISION is 3 — A + B + abs(max(A, B)).
mjSDFTYPE_INTERSECTION is 1 — max(A, B).
mjSDFTYPE_MIDSURFACE is 2 — A - B.
mjSDFTYPE_SINGLE is 0 — single SDF.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec collision() :: 3
mjSDFTYPE_COLLISION is 3 — A + B + abs(max(A, B)).
@spec intersection() :: 1
mjSDFTYPE_INTERSECTION is 1 — max(A, B).
@spec midsurface() :: 2
mjSDFTYPE_MIDSURFACE is 2 — A - B.
@spec single() :: 0
mjSDFTYPE_SINGLE is 0 — single SDF.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.