UNPKG
react-three
Version:
latest (0.9.7)
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.1
0.9.0
0.8.0
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0-SNAPSHOT
0.1.2-EXPERIMENTAL
0.1.1-EXPERIMENTAL
0.1.0-EXPERIMENTAL
Construct three.js scenes using React
github.com/Izzimach/react-three
Izzimach/react-three
react-three
/
src
/
Constants.js
10 lines
(6 loc)
•
177 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
*
as
THREE
from
'three'
;
export
default
{
X_AXIS
:
new
THREE
.
Vector3
(
1
,
0
,
0
),
Y_AXIS
:
new
THREE
.
Vector3
(
0
,
1
,
0
),
Z_AXIS
:
new
THREE
.
Vector3
(
0
,
0
,
1
) };