Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>obj_shear()</b> c_exam14 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
OBJ_SHEAR()                                                         C_EXAM14
   Distorts the shape of an object.

   Syntax
         nIndex = OBJ_SHEAR(nIndex,nX,xY,nShearX,nShearY)

   Arguments
         nIndex      Object number.
         nX          X point to shear about.
         nY          Y point to shear about.
         nShearX     Horizontal distortion multiplier.
         nShearY     Vertical distortion multiplier.

   Returns
         nIndex      Returns object number.

   Description
         OBJ_SHEAR() produces a shape distortion that resembles a twisting
         effect. nShearX effects the horizontal direction, while nShearY
         effects the vertical direction.

         If the object number is not in the drawing, a 0 is returned.

See Also: OBJ_MIRROR() OBJ_ROTATE() OBJ_SCALE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson