LoadBufferFromString, LoadWaveFromMemory and LoadMusicStreamFromMemory.
This commit is contained in:
@@ -14,7 +14,7 @@ local function setupWindow()
|
||||
RL.SetWindowPosition( { mPos[1] + mSize[1] / 2 - winSize[1] / 2, mPos[2] + mSize[2] / 2 - winSize[2] / 2 } )
|
||||
end
|
||||
|
||||
function ray_collision()
|
||||
local function ray_collision()
|
||||
rayCol = RL.GetRayCollisionMesh( ray, sphereMesh, RL.MatrixIdentity() )
|
||||
|
||||
if rayCol ~= nil and rayCol.hit then
|
||||
|
||||
@@ -36,6 +36,7 @@ local function addButton( bounds, text, callback )
|
||||
callback,
|
||||
{
|
||||
{ RL.LABEL, RL.TEXT_ALIGNMENT, RL.TEXT_ALIGN_CENTER },
|
||||
{ RL.DEFAULT, RL.TEXT_SIZE, 32 },
|
||||
{ RL.LABEL, RL.TEXT_COLOR_NORMAL, RL.ColorToInt( { 84, 59, 22 } ) },
|
||||
{ RL.LABEL, RL.TEXT_COLOR_PRESSED, RL.ColorToInt( { 84/2, 59/2, 22/2 } ) },
|
||||
{ RL.LABEL, RL.TEXT_COLOR_FOCUSED, RL.ColorToInt( RL.GREEN ) },
|
||||
|
||||
@@ -101,7 +101,7 @@ function PropertyList:updateContent()
|
||||
self._forceCheckScroll = true
|
||||
end
|
||||
|
||||
-- Leave control bounds size to 0 to use default. Optional group for parameter 2
|
||||
-- Leave control bounds size to 0 to use default. Optional group for parameter 2.
|
||||
function PropertyList:addControl( control, group, noYAdvance )
|
||||
control._noYAdvance = noYAdvance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user