Index
Functions
sdf
Round
Functions
Const
sdf
Round
sdf
Round
(
d
:
FloatTerm
, r
:
FloatTerm
)
:
Op2
<
"float"
>
Inline function. Essentially an isoline offset to create:
r > 0
: rounded/thicker shapes
r < 0
: sharper/thinner shapes
Parameters
d:
FloatTerm
-
r:
FloatTerm
-
Returns
Op2
<
"float"
>
Globals
"sdf/round"
sdf
Round
Generated using
TypeDoc
Inline function. Essentially an isoline offset to create:
r > 0
: rounded/thicker shapesr < 0
: sharper/thinner shapes