Wowpedia
Advertisement
Wowpedia
230,025
pages
These functions are implemented by FrameXML in FrameXML/Vector2D.lua and FrameXML/Vector3D.lua.

Creates a new vector which inherits the methods of Vector2DMixin or Vector3DMixin.

vector = CreateVector2D(x, y)
vector = CreateVector3D(x, y, z)

Arguments

x, y, z 
number - Cartesian coordinates.

Returns

vector 
table - A Vector2DMixin or Vector3DMixin.

Patch changes

References

 
  1. ^ 2017-03-28, Vector2D.lua, version 7.2.0.23835, near line 43, archived at Townlong-Yak
  2. ^ 2017-03-28, Vector3D.lua, version 7.2.0.23835, near line 49, archived at Townlong-Yak