sourcelibs/Vector3/demos/pivot.xtl

1⍝!/usr/bin/env xetal 2⍝ A vane point rotates around a fixed point at (2, 0, 0). 3"v:" u̲se< "Vector3" 4points ← 2 3 r̲eshape 2 0 0 3 0 0 5((2 0 0 ᵛr̲otateY 0.5 × p̲i @) points) 6ᵛn̲ormalize 1 3 r̲eshape 3 0 4