Vector:CapMagnitude

From Data Realms Wiki

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