Vector:CapMagnitude

From Data Realms Wiki

Revision as of 00:44, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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