MOSprite:RotateOffset

From Data Realms Wiki

Revision as of 00:45, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxRotateOffset( * A vector which is supposed to be offset from this' center when upright. )
Description:
Takes a vector which is offset from the center of this when not rotated or flipped, and then rotates and/or flips it to transform it into this' 'local space', if applicable.
ReturnsThe resulting vector whihch has been flipped and rotated as appropriate.




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