1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-09 08:50:29 +00:00

Fix return type of Vector.dot

Closes #1932
This commit is contained in:
Jonathan Coates 2024-08-11 14:11:14 +01:00
parent be59f1a875
commit 9484315d37
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -114,7 +114,7 @@ local vector = {
--
-- @tparam Vector self The first vector to compute the dot product of.
-- @tparam Vector o The second vector to compute the dot product of.
-- @treturn Vector The dot product of `self` and `o`.
-- @treturn number The dot product of `self` and `o`.
-- @usage v1:dot(v2)
dot = function(self, o)
if getmetatable(self) ~= vmetatable then expect(1, self, "vector") end