Log inGet started
Package

perpendicular.procNode

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

geometry.perpendicular

A unit vector perpendicular to a unit vector, per element, found against the world axis the vector leans on least so the result stays well conditioned.

Inputs

  • vector (Vec3). The unit vector the answer is square to: one value, or one per element of a column.

Outputs

  • perpendicular (Vec3). A unit vector with a zero dot product against vector.
local side = g.geometry.perpendicular({ vector = vector.create(0, 1, 0) })