Dota 2 Workshop Tools/Scripting/API/Vector.Normalized: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
 
(Dota_Lebot push: Updated Page)
Line 14: Line 14:
;Example
;Example
<source lang="lua">
<source lang="lua">
v = Vec(1, 2, 3)
v = Vector(1, 2, 3)
print(v:Normalized())
print(v:Normalized())
</source>
</source>

Revision as of 02:27, 26 August 2014

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

Vector Normalized()

Returns the vector normalized


Example
v = Vector(1, 2, 3)
print(v:Normalized())

Returns

Vector - No Description Set