Redesigned gestures module to header-only
This commit is contained in:
parent
d5f5f0a930
commit
3b80e2c1e0
6 changed files with 458 additions and 494 deletions
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue