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-4 BETA

  • B
  • Sep 5, 2011
  • 10.11 KB
  • 73
  • 4.2.0
  • Retail

File Name

LibZasUsefulFuncs-V0.1-4_BETA.zip

Supported Versions

  • 4.2.0

2011-09-05  Zasurus  <Zasurus>

[839a06293af8] [V0.1-4 BETA]
* History.txt LibZasUsefulFuncs.lua

- Updated to TAG "0.1-4"
- Added a new function to rotate textures (as :SetRotate() sucks as it seems to
  resize them as well!). The new function is called "SetRotation" and is practally
  a copy from: "http://www.wowpedia.org/SetTexCoord_Transformations#
  Simple_rotation_of_ square_textures_around_the_center". to use it:
  "SetRotation(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.