Skip to content

Commit

Permalink
Update comments for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm authored Jul 21, 2023
1 parent 60ae1e5 commit ffa6651
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/stdlib/stdlib_defs.mtlx
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@

<!--
Node: <circle>
Returns 1 (float) if sample is inside a circle defined by center and radius. Otherwise returns 0
Returns 1 if sample is inside a circle defined by center and radius; otherwise returns 0.
-->
<nodedef name="ND_circle_float" node="circle" nodegroup="procedural2d">
<input name="sample" type="vector2" value="0, 0" />
Expand All @@ -1102,7 +1102,7 @@

<!--
Node: <cloverleaf>
Returns 1 (float) if sample is inside a cloverleaf shape inscribed by a circle defined by center and radius. Otherwise returns 0
Returns 1 if sample is inside a cloverleaf shape inscribed by a circle defined by center and radius; otherwise returns 0.
-->
<nodedef name="ND_cloverleaf_float" node="cloverleaf" nodegroup="procedural2d">
<input name="sample" type="vector2" value="0, 0" />
Expand All @@ -1113,7 +1113,7 @@

<!--
Node: <hexagon>
Returns 1 (float) if sample is inside a hexagon shape inscribed by a circle defined by center and radius. Otherwise returns 0
Returns 1 if sample is inside a hexagon shape inscribed by a circle defined by center and radius; otherwise returns 0.
Uses formulas from Inigo Quilez SDF samples (iquilezles.org)
-->
<nodedef name="ND_hexagon_float" node="hexagon" nodegroup="procedural2d">
Expand All @@ -1125,7 +1125,7 @@

<!--
Node: <line>
Returns 1 (float) if sample is at less than radius distance from a line segment defined by point1 and point2. Otherwise returns 0
Returns 1 if sample is at less than radius distance from a line segment defined by point1 and point2; otherwise returns 0.
Segment ends will be rounded.
Uses formulas from Inigo Quilez SDF samples (iquilezles.org)
-->
Expand Down

0 comments on commit ffa6651

Please sign in to comment.