Dota 2 Workshop Tools/Scripting/API/Vector.Normalized: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 14: | Line 14: | ||
;Example | ;Example | ||
<source lang="lua"> | <source lang="lua"> | ||
v = | v = Vector(1, 2, 3) | ||
print(v:Normalized()) | print(v:Normalized()) | ||
</source> | </source> |
Revision as of 02:27, 26 August 2014

Function Description
Vector Normalized()
Returns the vector normalized
- Example
v = Vector(1, 2, 3)
print(v:Normalized())
Returns
Vector - No Description Set