Skip to content

Commit bc1bbd2

Browse files
authored
Added swizzle docs (#162)
1 parent c80a5d9 commit bc1bbd2

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
@@ -162,8 +162,8 @@ <h2>Lists</h2>
162162
<dd>&nbsp;&nbsp;create a list</dd>
163163
<dt><code><a href="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/General#Indexing_elements_within_vectors">var = list[2];</a></code></dt>
164164
<dd>&nbsp;&nbsp;index a list (from 0)</dd>
165-
<dt><code><a href="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/General#Dot_notation_indexing">var = list.z;</a></code></dt>
166-
<dd>&nbsp;&nbsp;dot notation indexing (x/y/z)</dd>
165+
<dt><code><a href="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Vectors#Vector_Swizzling">list2 = list1.xyzz;</a></code></dt>
166+
<dd>&nbsp;&nbsp;swizzling</dd>
167167
</dl>
168168
</article>
169169
<article>

0 commit comments

Comments
 (0)