Vector2DMixin :Add()
(Redirected from API Vector2DMixin Subtract)
Jump to navigation
Jump to search
- These functions are implemented in
and:Add FrameXML/Vector2D.lua FrameXML/Vector3D.lua
.
- These functions are implemented in
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
- Patch 7.2.0 (2017-03-28): Added.[1][2]
References
- ^ 2017-03-28, Vector2D.lua, version 7.2.0.23835, near line 82, archived at Townlong-Yak
- ^ 2017-03-28, Vector3D.lua, version 7.2.0.23835, near line 90, archived at Townlong-Yak