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|__EDIT_ME__}}
{{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|__EDIT_ME__}}
{{FuncParam|x|Vector X}}
{{FuncParam|y|__EDIT_ME__}}
{{FuncParam|y|Vector Y}}
{{FuncParam|z|__EDIT_ME__}}
{{FuncParam|z|Vector Z}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns normalized vector, 3 float values X, Y and Z}}


== Example ==
== Example ==

Latest revision as of 18:22, 30 August 2020

NormalizeVector

Type: Function
Context: Client
Introduced: v1.0

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__