Ejemplo n.º 1
0
func GetTouchFinger(touchId TouchID, index int) *Finger {
	_touchId := (C.SDL_TouchID)(touchId)
	_index := (C.int)(index)
	return (*Finger)(unsafe.Pointer(C.SDL_GetTouchFinger(_touchId, _index)))
}
Ejemplo n.º 2
0
func GetTouchFinger(t TouchID, index int) *Finger {
	return (*Finger)(unsafe.Pointer(C.SDL_GetTouchFinger(t.c(), C.int(index))))
}