Object libraries like Vector2 optimizations.

This commit is contained in:
jussi
2024-04-17 00:35:58 +03:00
parent 41b6739824
commit 70b40f6782
31 changed files with 527 additions and 370 deletions

View File

@@ -323,13 +323,13 @@ function RL.init()
local colorpicker = Gui:ColorPicker(
Rect:new( 1500, 32, 128, 128 ),
"Color Picker",
Color:new(),
Color:new( 255, 255, 255, 255 ),
{} -- Callbacks.
)
local colorpanel = Gui:ColorPanel(
Rect:new( 1700, 32, 128, 128 ),
"Color Panel",
Color:new(),
Color:new( 255, 255, 255, 255 ),
{} -- Callbacks.
)
local colorbaralpha = Gui:ColorBarAlpha(