Vector2DMixin:Add()

From Warcraft Wiki
(Redirected from API Vector3DMixin Add)
Jump to navigation Jump to search
These functions are implemented in :Add FrameXML/Vector2D.lua and FrameXML/Vector3D.lua.

Translates a vector by adding or subtracting another vector's coordinates.

vector:Add(other)
vector:Subtract(other)

Arguments

other
table - A Vector2DMixin or Vector3DMixin (must be the same kind as the vector being translated).

Patch changes

References

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