NormalizeVector: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|NormalizeVector(x, y, z)}} {{FuncParameters}} {{FuncParam|x|__EDIT_ME__}} {{FuncParam|y|__EDIT_ME_..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Normalizes a vector. | ||
https://en.wikipedia.org/wiki/Unit_vector}} | |||
{{FuncSyntax|NormalizeVector(x, y, z)}} | {{FuncSyntax|NormalizeVector(x, y, z)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|x| | {{FuncParam|x|Vector X}} | ||
{{FuncParam|y| | {{FuncParam|y|Vector Y}} | ||
{{FuncParam|z| | {{FuncParam|z|Vector Z}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns normalized vector, 3 float values X, Y and Z}} | ||
== Example == | == Example == |
Latest revision as of 18:22, 30 August 2020
Description
Normalizes a vector.
https://en.wikipedia.org/wiki/Unit_vector
Syntax
NormalizeVector(x, y, z)
Parameters
- x
Vector X - y
Vector Y - z
Vector Z
Return Value
- Returns normalized vector, 3 float values X, Y and Z
Example
__EDIT_ME__
See also
__EDIT_ME__