Color pixel functions.

This commit is contained in:
jussi
2022-02-27 19:31:28 +02:00
parent da446b40b6
commit c3ae0a6c28
6 changed files with 456 additions and 24 deletions

View File

@@ -70,27 +70,6 @@ function init()
matrix = RL_MatrixMultiply( RL_MatrixIdentity(), RL_MatrixTranslate( { -4, 0, -4 } ) )
end
function process( delta )
-- print( "RL_GetTouchPointCount()", RL_GetTouchPointCount() )
-- print( "RL_GetGestureDetected()", RL_GetGestureDetected() )
-- local gesture = RL_GetGestureDetected()
-- if gesture then
-- local dragVec = RL_GetGestureDragVector()
-- local pinchVec = RL_GetGesturePinchVector()
-- -- print( "gesture "..gesture, "dragVec "..dragVec[1]..", "..dragVec[2] )
-- print( "gesture "..gesture, "dragVec "..pinchVec[1]..", "..pinchVec[2] )
-- end
-- local vec = RL_GetGestureDragVector()
-- print( vec[1]..", "..vec[2] )
-- if RL_IsGestureDetected() then
-- print( RL_GetGestureDetected() )
-- end
end
function draw()
RL_ClearBackground( { 100, 150, 100 } )
RL_UpdateCamera3D( camera )