Log inGet started
Package

rotate.procNode

Newest version

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

README.md

geometry.rotate

Turn a Vec3 by Euler angles in degrees, applied about X, then Y, then Z (R = Rz * Ry * Rx), per element.

Inputs

  • vector (Vec3). The vector turned: one value, or one per element of a column.
  • rotate (Vec3, default zero). Degrees about X, Y and Z.

Outputs

  • vector (Vec3). The turned vector.
local turned = g.geometry.rotate({ vector = vector.create(1, 0, 0), rotate = vector.create(0, 90, 0) })