Vector:CapMagnitude

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Beautifybot (Talk | contribs)
(updating function page)

Latest revision as of 00:44, 28 June 2012

Function
SyntaxCapMagnitude( * A float value that the magnitude will be capped by. )
Description:
Caps the magnitude of this Vector to a max value and keeps its angle intact.
ReturnsA reference to this after the change.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools