1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-10 11:59:59 +00:00

Fix channel names in colors documentation (#1467)

This commit is contained in:
Commandcracker 2023-06-04 14:10:04 +02:00 committed by GitHub
parent 8fdef542c9
commit d45f2bfe80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -273,7 +273,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
@ -296,7 +296,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