Length to Scalar

From Terragen Documentation from Planetside Software
Revision as of 18:29, 1 June 2011 by JavaJones (talk | contribs)
Jump to navigation Jump to search

Length to Scalar

Node Description & Purpose:
The Length to scalar node calculates the length, or magnitude, of the Input vector and then outputs the length as a scalar. The length is calculated using the following formula:

scalar becomes square root of( vector.x x vector.x + vector.y x vector.y + vector.z x vector.z )

Node Type: Function

Settings:
This node has no other settings apart from the Input node.