Skip to content

Commit d1efaec

Browse files
committed
Added swizzle docs
1 parent 90caadc commit d1efaec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cheatsheet/snapshot.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ <h2>Lists</h2>
148148
<dd>&nbsp;&nbsp;create a list</dd>
149149
<dt><code><a href="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/General#Indexing_elements_within_vectors">var = list[2];</a></code></dt>
150150
<dd>&nbsp;&nbsp;index a list (from 0)</dd>
151-
<dt><code><a href="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/General#Dot_notation_indexing">var = list.z;</a></code></dt>
152-
<dd>&nbsp;&nbsp;dot notation indexing (x/y/z)</dd>
151+
<dt><code><a href="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Vectors#Vector_Swizzling">list2 = list1.xyzz;</a></code></dt>
152+
<dd>&nbsp;&nbsp;swizzling</dd>
153153
</dl>
154154
</article>
155155
<article>

0 commit comments

Comments
 (0)