Library: Zasurus' Useful Functions (LibZasUsefulFuncs)

Abandoned
This library is a few useful functions that most AddOns could use at one point or another.

File Details

V0.1-5 BETA-nolib

  • B
  • Sep 9, 2011
  • 6.75 KB
  • 19
  • 4.2.0
  • Retail

File Name

LibZasUsefulFuncs-V0.1-5_BETA-nolib.zip

Supported Versions

  • 4.2.0

2011-09-07  Zasurus  <Zasurus>

[69e793fed579] [V0.1-5 BETA]
* History.txt LibZasUsefulFuncs.lua

- Added a new function to rotate textures (as :SetRotate() sucks as it seems to resize
  them as well!). The new function is called "rotatetexture" and is practally a copy
  from: "http://www.wowpedia.org/SetTexCoord_Transformations#Simple_rotation_of_
  square_textures_around_the_center". to use it: "rotatetexture(texture, angle)".
  texture is just a pointer to the texture you want to rotate and angle is the angle
  you want it to end up at (positive is Counter Clock Wise). For example angle = 90
  would move it to 9 o'clock and angle = 270 would be 3 o'clock... If you keep giving
  it the same angle (say 90) it won't move it another 90deg it will just move it to
  9 o'clock again and again.
- Changed version to Version: "0.1-5"