Skip to content

Commit 72975b7

Browse files
committed
Im dumb
1 parent 4beb4d0 commit 72975b7

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

datapack/data/advanced_math/modules/pid.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ end
192192
--
193193
-- @type PID
194194
local pid = {
195-
--- The setpoint to reach. Uses [Vector][https://tweaked.cc/module/vector.html] or Quaternion types when applicable.
195+
--- The setpoint to reach. Uses [Vector](https://tweaked.cc/module/vector.html) or Quaternion types when applicable.
196196
-- @field sp
197197
-- @tparam number|vector|quaternion sp
198198
-- @see quaternion
@@ -210,7 +210,7 @@ local pid = {
210210
-- @tparam number kd
211211

212212
--- Performs a PID control step
213-
-- Uses [Vector][https://tweaked.cc/module/vector.html] or Quaternion types when applicable.
213+
-- Uses [Vector](https://tweaked.cc/module/vector.html) or Quaternion types when applicable.
214214
-- @tparam PID self The PID instance
215215
-- @tparam number|vector|quaternion value The current value being measured
216216
-- @tparam number dt The time since the last step

datapack/data/advanced_math/rom/apis/matrix.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function from2DArray(arr)
5959
return new(#arr, #arr[1], function(r, c) return arr[r][c] or 0 end)
6060
end
6161

62-
--- Constructs a matrix from a [Vector][https://tweaked.cc/module/vector.html], as either a row or column matrix.
62+
--- Constructs a matrix from a [Vector](https://tweaked.cc/module/vector.html), as either a row or column matrix.
6363
--
6464
-- @tparam table v The vector to convert
6565
-- @tparam boolean row Whether to create a row matrix (true) or column matrix (false). Defaults to true.

datapack/data/advanced_math/rom/apis/quaternion.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
--- Constructs a new quaternion from a vector and a w parameter. Similarly to fromComponents, this method will not produce a normalized quaternion.
1818
--
19-
-- @tparam Vector vec imaginary component of the vector, stored in a vector. Uses [Vector][https://tweaked.cc/module/vector.html] type
19+
-- @tparam Vector vec imaginary component of the vector, stored in a vector. Uses [Vector](https://tweaked.cc/module/vector.html) type
2020
-- @tparam number w Real component of the quaternion
2121
-- @treturn The quaternion made from the given arguments
2222
-- @usage q = quaternion.new(vec, w)
@@ -36,7 +36,7 @@ end
3636

3737
--- Constructs a new quaternion from the provided axis - angle parameters. The resulting quaternion is already normalized.
3838
--
39-
-- @tparam Vector axis Rotation axis that will be used for the quaternion. The axis does not need to be normalized. Uses [Vector][https://tweaked.cc/module/vector.html] type
39+
-- @tparam Vector axis Rotation axis that will be used for the quaternion. The axis does not need to be normalized. Uses [Vector](https://tweaked.cc/module/vector.html) type
4040
-- @tparam number angle Angle in radians of the rotation
4141
-- @treturn The quaternion representing the rotation described by the axis angle parameters
4242
-- @usage q = quaternion.fromAxisAngle(axis, angle)
@@ -174,7 +174,7 @@ local expect = require "cc.expect"
174174
local expect = expect.expect
175175

176176
local quaternion = {
177-
--- The imaginary component of the quaternion, stored in a [Vector][https://tweaked.cc/module/vector.html].
177+
--- The imaginary component of the quaternion, stored in a [Vector](https://tweaked.cc/module/vector.html).
178178
-- @field v
179179
-- @tparam Vector v
180180

@@ -216,7 +216,7 @@ local quaternion = {
216216
)
217217
end,
218218

219-
--- Multiplies a quaternion by a scalar value, another quaternion, or a [Vector][https://tweaked.cc/module/vector.html].
219+
--- Multiplies a quaternion by a scalar value, another quaternion, or a [Vector](https://tweaked.cc/module/vector.html).
220220
--
221221
-- @tparam Quaternion self The quaternion to multiply
222222
-- @tparam number|Quaternion|Vector other The scalar value, quaternion, or vector to multiply with
@@ -416,7 +416,7 @@ local quaternion = {
416416
return 2 * math.acos(self.a)
417417
end,
418418

419-
--- Gets the normalized axis of rotation corresponding to the rotation defined by the given quaternion. Uses [Vector][https://tweaked.cc/module/vector.html] type.
419+
--- Gets the normalized axis of rotation corresponding to the rotation defined by the given quaternion. Uses [Vector](https://tweaked.cc/module/vector.html) type.
420420
--
421421
-- @tparam Quaternion self The quaternion to use as a rotation source
422422
-- @treturn Vector The resulting axis

0 commit comments

Comments
 (0)