mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-10 01:10:30 +00:00
parent
be59f1a875
commit
9484315d37
@ -114,7 +114,7 @@ local vector = {
|
|||||||
--
|
--
|
||||||
-- @tparam Vector self The first vector to compute the dot product of.
|
-- @tparam Vector self The first vector to compute the dot product of.
|
||||||
-- @tparam Vector o The second 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)
|
-- @usage v1:dot(v2)
|
||||||
dot = function(self, o)
|
dot = function(self, o)
|
||||||
if getmetatable(self) ~= vmetatable then expect(1, self, "vector") end
|
if getmetatable(self) ~= vmetatable then expect(1, self, "vector") end
|
||||||
|
Loading…
Reference in New Issue
Block a user