MOSprite:UnRotateOffset

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxUnRotateOffset( * 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', but in REVERSE.
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