1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 12:10:30 +00:00

Fix some typos in the colors API

Closes #1072
This commit is contained in:
Jonathan Coates 2022-04-16 21:14:43 +01:00
parent 79b1872cab
commit e865d96f7b
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -268,7 +268,7 @@ end
--- Combine a three-colour RGB value into one hexadecimal representation. --- Combine a three-colour RGB value into one hexadecimal representation.
-- --
-- @tparam number r The red channel, should be between 0 and 1. -- @tparam number r The red channel, should be between 0 and 1.
-- @tparam number g The red channel, should be between 0 and 1. -- @tparam number g The green channel, should be between 0 and 1.
-- @tparam number b The blue channel, should be between 0 and 1. -- @tparam number b The blue channel, should be between 0 and 1.
-- @treturn number The combined hexadecimal colour. -- @treturn number The combined hexadecimal colour.
-- @usage -- @usage
@ -291,7 +291,7 @@ end
-- --
-- @tparam number rgb The combined hexadecimal colour. -- @tparam number rgb The combined hexadecimal colour.
-- @treturn number The red channel, will be between 0 and 1. -- @treturn number The red channel, will be between 0 and 1.
-- @treturn number The red channel, will be between 0 and 1. -- @treturn number The green channel, will be between 0 and 1.
-- @treturn number The blue channel, will be between 0 and 1. -- @treturn number The blue channel, will be between 0 and 1.
-- @usage -- @usage
-- ```lua -- ```lua