From 9698e6523f6b6946134858933dfa6a60f198c6d1 Mon Sep 17 00:00:00 2001 From: eklmt <124016157+eklmt@users.noreply.github.com> Date: Mon, 30 Jan 2023 19:16:24 -0800 Subject: [PATCH] Fix parameter type for vector.rotate --- classes/vector.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/vector.lua b/classes/vector.lua index 29fdb29..66b3ae8 100644 --- a/classes/vector.lua +++ b/classes/vector.lua @@ -183,9 +183,9 @@ function vector.multiply(v, s) end ---@nodiscard function vector.divide(v, s) end ----Applies the rotation `r` (in radians) to `v` and returns the result. +---Applies the rotation vector `r` {x = pitch, y = yaw, z = roll} (in radians) to `v`, and returns the result. ---@param v Vector ----@param r number +---@param r Vector ---@return Vector ---@nodiscard function vector.rotate(v, r) end