UNPKG
@pmndrs/pointer-events
Version:
alpha (6.5.1-alpha.2)
latest (6.6.27)
6.6.27
6.6.26
6.6.25
6.6.24
6.6.23
6.6.22
6.6.21
6.6.20
6.6.19
6.6.18
6.6.17
6.6.16
6.6.15
6.6.14
6.6.13
6.6.12
6.6.11
6.6.10
6.6.9
6.6.8
6.6.7
6.6.6
6.6.5
6.6.4
6.6.3
6.6.2
6.6.1
6.6.0
6.5.6
6.5.5
6.5.4
6.5.3
6.5.2
6.5.1
6.5.1-alpha.2
6.5.0
6.4.12
6.4.12-alpha.54
6.4.12-alpha.48
6.4.12-alpha.46
6.4.12-alpha.36
6.4.12-alpha.33
6.4.12-alpha.31
6.4.12-alpha.30
6.4.11
6.4.10
6.4.9
6.4.8
6.4.7
6.4.6
6.4.5
6.4.4
6.4.3
6.4.2
6.4.1
6.4.0
6.3.0
6.2.19
6.2.18
6.2.17
6.2.16
6.2.15
6.2.14
6.2.13
6.2.12
6.2.11
6.2.10
6.2.9
6.2.8
6.2.7
6.2.6
6.2.5
6.2.4
6.2.3
6.2.2
6.2.1
6.2.0
6.1.1
6.1.0
6.0.0
framework agnostic pointer-events implementation for threejs
github.com/pmndrs/xr
pmndrs/xr
@pmndrs/pointer-events
/
dist
/
pointer
/
index.js
9 lines
(8 loc)
•
216 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
let
pointerIdCounter =
23412
;
export
function
generateUniquePointerId
(
) {
return
pointerIdCounter++; }
export
*
from
'./grab.js'
;
export
*
from
'./ray.js'
;
export
*
from
'./lines.js'
;
export
*
from
'./touch.js'
;