mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Redesigned gestures module to header-only
This commit is contained in:
10
src/rlua.h
10
src/rlua.h
@ -1313,12 +1313,6 @@ int lua_IsGestureDetected(lua_State* L)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int lua_UpdateGestures(lua_State* L)
|
||||
{
|
||||
UpdateGestures();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int lua_GetTouchPointsCount(lua_State* L)
|
||||
{
|
||||
int result = GetTouchPointsCount();
|
||||
@ -3576,10 +3570,8 @@ static luaL_Reg raylib_functions[] = {
|
||||
|
||||
REG(SetGesturesEnabled)
|
||||
REG(IsGestureDetected)
|
||||
//REG(ProcessGestureEvent)
|
||||
REG(UpdateGestures)
|
||||
REG(GetTouchPointsCount)
|
||||
REG(GetGestureDetected)
|
||||
REG(GetTouchPointsCount)
|
||||
REG(GetGestureHoldDuration)
|
||||
REG(GetGestureDragVector)
|
||||
REG(GetGestureDragAngle)
|
||||
|
||||
Reference in New Issue
Block a user