Skip to content

Commit

Permalink
Minor optimization to grecian pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm committed Aug 4, 2023
1 parent fa1a77c commit c98e5a7
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions libraries/stdlib/stdlib_ng.mtlx
Original file line number Diff line number Diff line change
Expand Up @@ -1772,29 +1772,17 @@
<input name="in1" type="float" nodename="subX_1" />
<input name="in2" type="float" nodename="subY_1" />
</combine2>
<constant name="diag1_point1" type="vector2">
<input name="value" type="vector2" value="1, 1" />
</constant>
<constant name="diag1_point2" type="vector2">
<input name="value" type="vector2" value="-1, -1" />
</constant>
<constant name="diag2_point1" type="vector2">
<input name="value" type="vector2" value="-1, 1" />
</constant>
<constant name="diag2_point2" type="vector2">
<input name="value" type="vector2" value="1, -1" />
</constant>
<line name="line_diag1" type="float">
<input name="sample" type="vector2" nodename="sample_vec" />
<input name="radius" type="float" interfacename="thickness" />
<input name="point1" type="vector2" nodename="diag1_point1" />
<input name="point2" type="vector2" nodename="diag1_point2" />
<input name="point1" type="vector2" value="1, 1" />
<input name="point2" type="vector2" value="-1, -1" />
</line>
<line name="line_diag2" type="float">
<input name="sample" type="vector2" nodename="sample_vec" />
<input name="radius" type="float" interfacename="thickness" />
<input name="point1" type="vector2" nodename="diag2_point1" />
<input name="point2" type="vector2" nodename="diag2_point2" />
<input name="point1" type="vector2" value="-1, 1" />
<input name="point2" type="vector2" value="1, -1" />
</line>
<max name="composite_diags" type="float">
<input name="in1" type="float" nodename="line_diag1" />
Expand Down

0 comments on commit c98e5a7

Please sign in to comment.