mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 10:32:20 +02:00
Update
This commit is contained in:
@@ -5,6 +5,7 @@ local COLOR_WHITE = vmath.vector4(1, 1, 1, 1)
|
||||
local COLOR_X = hash("color.x")
|
||||
local COLOR_Y = hash("color.y")
|
||||
local COLOR_Z = hash("color.z")
|
||||
local ALPHA = hash("color.w")
|
||||
|
||||
local M = {}
|
||||
|
||||
@@ -83,7 +84,6 @@ function M.lerp(t, color1, color2)
|
||||
end
|
||||
|
||||
|
||||
|
||||
---Convert hex color to rgb values.
|
||||
---@param hex string Hex color. #00BBAA or 00BBAA or #0BA or 0BA
|
||||
---@return number, number, number
|
||||
|
Reference in New Issue
Block a user