geometry.nodebox
This package holds more than this page lists. See all of its files in its world.
README.md
geometry.transport
Carry a vector along as the unit direction from turns onto the unit direction onto: rotated about their common perpendicular by the angle between them, and made square to onto again. Frames carried this way along a curve stay free of twist.
Inputs
vector(Vec3). The Vec3 carried.from(Vec3). The unit direction before the turn.onto(Vec3). The unit direction after the turn.
Outputs
vector(Vec3). The carried unit vector, square toonto.
local carried = g.geometry.transport({ vector = vector.create(1, 0, 0), from = vector.create(0, 1, 0), onto = vector.create(0, 0, 1) })