Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Vector2DMixin Dot

Last wiki revision 2020-06-28

Computes the dot product of one vector with another or itself. vector:Dot(other) vector:GetLengthSquared

  • other : - A Vector2DMixin or Vector3DMixin (must be the same kind as the original vector).
  • GetLengthSquared is equivalent to, resulting in the sum of the squares of its coordinates.

local vector = CreateVector2D(3, 4) print vector:GetLengthSquared -- 25

  • on Wikipedia.

Source

https://warcraft.wiki.gg/wiki/API_Vector2DMixin_Dot · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.