super-three 0.170.0 → 0.170.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/three.cjs +24410 -24422
- package/build/three.core.js +37002 -0
- package/build/three.core.min.js +6 -0
- package/build/three.module.js +10573 -47578
- package/build/three.module.min.js +1 -1
- package/build/three.tsl.js +533 -0
- package/build/three.tsl.min.js +6 -0
- package/build/three.webgpu.js +2907 -37975
- package/build/three.webgpu.min.js +1 -1
- package/build/three.webgpu.nodes.js +2914 -37959
- package/build/three.webgpu.nodes.min.js +1 -1
- package/examples/jsm/capabilities/WebGPU.js +1 -10
- package/examples/jsm/controls/ArcballControls.js +25 -21
- package/examples/jsm/controls/OrbitControls.js +41 -9
- package/examples/jsm/controls/PointerLockControls.js +2 -5
- package/examples/jsm/csm/CSMShadowNode.js +7 -5
- package/examples/jsm/geometries/DecalGeometry.js +5 -1
- package/examples/jsm/lighting/TiledLighting.js +1 -1
- package/examples/jsm/lines/LineGeometry.js +25 -0
- package/examples/jsm/lines/LineMaterial.js +1 -7
- package/examples/jsm/lines/webgpu/Line2.js +2 -1
- package/examples/jsm/lines/webgpu/LineSegments2.js +2 -1
- package/examples/jsm/lines/webgpu/Wireframe.js +2 -1
- package/examples/jsm/loaders/KTX2Loader.js +3 -0
- package/examples/jsm/loaders/MMDLoader.js +2 -6
- package/examples/jsm/loaders/MaterialXLoader.js +2 -2
- package/examples/jsm/materials/MeshGouraudMaterial.js +2 -6
- package/examples/jsm/misc/ProgressiveLightMapGPU.js +2 -2
- package/examples/jsm/objects/InstancedPoints.js +2 -4
- package/examples/jsm/objects/LensflareMesh.js +4 -2
- package/examples/jsm/objects/SkyMesh.js +5 -3
- package/examples/jsm/objects/Water2Mesh.js +7 -3
- package/examples/jsm/objects/WaterMesh.js +5 -3
- package/examples/jsm/transpiler/AST.js +2 -2
- package/examples/jsm/transpiler/GLSLDecoder.js +57 -25
- package/examples/jsm/transpiler/TSLEncoder.js +11 -6
- package/examples/jsm/tsl/display/AfterImageNode.js +3 -3
- package/examples/jsm/tsl/display/AnaglyphPassNode.js +2 -2
- package/examples/jsm/tsl/display/AnamorphicNode.js +2 -2
- package/examples/jsm/tsl/display/BloomNode.js +3 -3
- package/examples/jsm/tsl/display/DenoiseNode.js +48 -12
- package/examples/jsm/tsl/display/DepthOfFieldNode.js +3 -2
- package/examples/jsm/tsl/display/DotScreenNode.js +2 -2
- package/examples/jsm/tsl/display/FXAANode.js +3 -3
- package/examples/jsm/tsl/display/FilmNode.js +3 -2
- package/examples/jsm/tsl/display/GTAONode.js +62 -27
- package/examples/jsm/tsl/display/GaussianBlurNode.js +6 -8
- package/examples/jsm/tsl/display/LensflareNode.js +3 -3
- package/examples/jsm/tsl/display/Lut3DNode.js +3 -2
- package/examples/jsm/tsl/display/OutlineNode.js +2 -2
- package/examples/jsm/tsl/display/ParallaxBarrierPassNode.js +2 -1
- package/examples/jsm/tsl/display/PixelationPassNode.js +4 -4
- package/examples/jsm/tsl/display/RGBShiftNode.js +2 -1
- package/examples/jsm/tsl/display/SMAANode.js +3 -3
- package/examples/jsm/tsl/display/SSAAPassNode.js +2 -2
- package/examples/jsm/tsl/display/SSRNode.js +31 -8
- package/examples/jsm/tsl/display/SobelOperatorNode.js +3 -3
- package/examples/jsm/tsl/display/StereoCompositePassNode.js +4 -4
- package/examples/jsm/tsl/display/StereoPassNode.js +2 -2
- package/examples/jsm/tsl/display/TRAAPassNode.js +2 -2
- package/examples/jsm/tsl/display/TransitionNode.js +3 -2
- package/examples/jsm/tsl/lighting/TiledLightsNode.js +6 -9
- package/examples/jsm/utils/SceneOptimizer.js +410 -0
- package/examples/jsm/utils/UVsDebug.js +1 -1
- package/package.json +3 -3
- package/src/Three.Core.js +178 -0
- package/src/Three.TSL.js +526 -0
- package/src/Three.WebGPU.Nodes.js +5 -186
- package/src/Three.WebGPU.js +4 -186
- package/src/Three.js +1 -177
- package/src/animation/AnimationClip.js +2 -2
- package/src/animation/AnimationObjectGroup.js +2 -2
- package/src/audio/Audio.js +38 -0
- package/src/cameras/PerspectiveCamera.js +6 -6
- package/src/cameras/StereoCamera.js +2 -2
- package/src/constants.js +1 -1
- package/src/core/BufferGeometry.js +5 -3
- package/src/core/InterleavedBuffer.js +4 -4
- package/src/core/Object3D.js +2 -2
- package/src/extras/core/Curve.js +3 -3
- package/src/extras/core/Shape.js +2 -2
- package/src/geometries/EdgesGeometry.js +2 -2
- package/src/geometries/LatheGeometry.js +2 -2
- package/src/lights/SpotLightShadow.js +2 -2
- package/src/materials/LineBasicMaterial.js +2 -6
- package/src/materials/LineDashedMaterial.js +1 -6
- package/src/materials/Material.js +3 -16
- package/src/materials/MeshBasicMaterial.js +2 -6
- package/src/materials/MeshDepthMaterial.js +2 -6
- package/src/materials/MeshDistanceMaterial.js +2 -6
- package/src/materials/MeshLambertMaterial.js +2 -6
- package/src/materials/MeshMatcapMaterial.js +2 -6
- package/src/materials/MeshNormalMaterial.js +2 -6
- package/src/materials/MeshPhongMaterial.js +3 -7
- package/src/materials/MeshPhysicalMaterial.js +4 -8
- package/src/materials/MeshStandardMaterial.js +2 -6
- package/src/materials/MeshToonMaterial.js +2 -6
- package/src/materials/PointsMaterial.js +2 -6
- package/src/materials/RawShaderMaterial.js +2 -6
- package/src/materials/ShaderMaterial.js +2 -6
- package/src/materials/ShadowMaterial.js +2 -6
- package/src/materials/SpriteMaterial.js +2 -6
- package/src/materials/nodes/Line2NodeMaterial.js +32 -13
- package/src/materials/nodes/LineDashedNodeMaterial.js +4 -2
- package/src/materials/nodes/NodeMaterial.js +64 -16
- package/src/materials/nodes/manager/NodeMaterialObserver.js +13 -10
- package/src/math/ColorManagement.js +130 -122
- package/src/math/Line3.js +2 -2
- package/src/math/Quaternion.js +2 -2
- package/src/math/Spherical.js +3 -3
- package/src/math/Vector2.js +7 -7
- package/src/math/Vector3.js +9 -9
- package/src/math/Vector4.js +11 -9
- package/src/nodes/Nodes.js +1 -0
- package/src/nodes/TSL.js +3 -1
- package/src/nodes/accessors/Arrays.js +27 -0
- package/src/nodes/accessors/BuiltinNode.js +26 -0
- package/src/nodes/accessors/ClippingNode.js +76 -42
- package/src/nodes/accessors/InstanceNode.js +17 -20
- package/src/nodes/accessors/InstancedMeshNode.js +26 -0
- package/src/nodes/accessors/Lights.js +32 -0
- package/src/nodes/accessors/StorageBufferNode.js +29 -9
- package/src/nodes/accessors/StorageTextureNode.js +10 -4
- package/src/nodes/accessors/TextureNode.js +1 -1
- package/src/nodes/core/NodeBuilder.js +2 -9
- package/src/nodes/core/NodeUtils.js +28 -0
- package/src/nodes/core/constants.js +6 -0
- package/src/nodes/display/BlendModes.js +99 -0
- package/src/nodes/display/ToonOutlinePassNode.js +3 -3
- package/src/nodes/display/ViewportDepthNode.js +21 -6
- package/src/nodes/functions/material/getAlphaHashThreshold.js +13 -7
- package/src/nodes/functions/material/getParallaxCorrectNormal.js +1 -1
- package/src/nodes/lighting/AnalyticLightNode.js +12 -4
- package/src/nodes/lighting/PointLightNode.js +10 -1
- package/src/nodes/lighting/PointShadowNode.js +254 -0
- package/src/nodes/lighting/ShadowNode.js +176 -67
- package/src/nodes/lighting/SpotLightNode.js +14 -2
- package/src/nodes/utils/RTTNode.js +9 -1
- package/src/nodes/utils/StorageArrayElementNode.js +2 -2
- package/src/objects/BatchedMesh.js +54 -95
- package/src/objects/ClippingGroup.js +19 -0
- package/src/objects/Skeleton.js +2 -2
- package/src/renderers/WebGLRenderer.js +94 -23
- package/src/renderers/common/Animation.js +23 -11
- package/src/renderers/common/Background.js +1 -1
- package/src/renderers/common/Bindings.js +20 -4
- package/src/renderers/common/ClippingContext.js +77 -85
- package/src/renderers/common/RenderList.js +9 -6
- package/src/renderers/common/RenderObject.js +27 -27
- package/src/renderers/common/RenderObjects.js +12 -6
- package/src/renderers/common/Renderer.js +63 -57
- package/src/renderers/common/Textures.js +11 -3
- package/src/renderers/common/UniformsGroup.js +16 -4
- package/src/renderers/common/extras/PMREMGenerator.js +89 -13
- package/src/renderers/common/nodes/NodeLibrary.js +2 -2
- package/src/renderers/common/nodes/NodeStorageBuffer.js +2 -3
- package/src/renderers/common/nodes/NodeUniform.js +42 -0
- package/src/renderers/webgl/WebGLBackground.js +20 -1
- package/src/renderers/webgl/WebGLGeometries.js +0 -28
- package/src/renderers/webgl-fallback/WebGLBackend.js +13 -6
- package/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js +43 -12
- package/src/renderers/webgl-fallback/utils/WebGLState.js +26 -1
- package/src/renderers/webgl-fallback/utils/WebGLTextureUtils.js +4 -1
- package/src/renderers/webgpu/WebGPUBackend.js +47 -31
- package/src/renderers/webgpu/nodes/StandardNodeLibrary.js +13 -26
- package/src/renderers/webgpu/nodes/WGSLNodeBuilder.js +184 -74
- package/src/renderers/webgpu/utils/WebGPUAttributeUtils.js +15 -2
- package/src/renderers/webgpu/utils/WebGPUBindingUtils.js +72 -7
- package/src/renderers/webgpu/utils/WebGPUTextureUtils.js +5 -1
- package/src/textures/Source.js +2 -2
- package/src/textures/Texture.js +2 -2
- package/src/nodes/display/BlendMode.js +0 -54
|
@@ -1,170 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export { WebGLArrayRenderTarget } from './renderers/WebGLArrayRenderTarget.js';
|
|
4
|
-
export { WebGL3DRenderTarget } from './renderers/WebGL3DRenderTarget.js';
|
|
5
|
-
export { WebGLCubeRenderTarget } from './renderers/WebGLCubeRenderTarget.js';
|
|
6
|
-
export { WebGLRenderTarget } from './renderers/WebGLRenderTarget.js';
|
|
7
|
-
//export { WebGLRenderer } from './renderers/WebGLRenderer.js';
|
|
8
|
-
//export { ShaderLib } from './renderers/shaders/ShaderLib.js';
|
|
9
|
-
//export { UniformsLib } from './renderers/shaders/UniformsLib.js';
|
|
10
|
-
//export { UniformsUtils } from './renderers/shaders/UniformsUtils.js';
|
|
11
|
-
//export { ShaderChunk } from './renderers/shaders/ShaderChunk.js';
|
|
12
|
-
export { FogExp2 } from './scenes/FogExp2.js';
|
|
13
|
-
export { Fog } from './scenes/Fog.js';
|
|
14
|
-
export { Scene } from './scenes/Scene.js';
|
|
15
|
-
export { Sprite } from './objects/Sprite.js';
|
|
16
|
-
export { LOD } from './objects/LOD.js';
|
|
17
|
-
export { SkinnedMesh } from './objects/SkinnedMesh.js';
|
|
18
|
-
export { Skeleton } from './objects/Skeleton.js';
|
|
19
|
-
export { Bone } from './objects/Bone.js';
|
|
20
|
-
export { Mesh } from './objects/Mesh.js';
|
|
21
|
-
export { InstancedMesh } from './objects/InstancedMesh.js';
|
|
22
|
-
export { BatchedMesh } from './objects/BatchedMesh.js';
|
|
23
|
-
export { LineSegments } from './objects/LineSegments.js';
|
|
24
|
-
export { LineLoop } from './objects/LineLoop.js';
|
|
25
|
-
export { Line } from './objects/Line.js';
|
|
26
|
-
export { Points } from './objects/Points.js';
|
|
27
|
-
export { Group } from './objects/Group.js';
|
|
28
|
-
export { VideoTexture } from './textures/VideoTexture.js';
|
|
29
|
-
export { FramebufferTexture } from './textures/FramebufferTexture.js';
|
|
30
|
-
export { Source } from './textures/Source.js';
|
|
31
|
-
export { DataTexture } from './textures/DataTexture.js';
|
|
32
|
-
export { DataArrayTexture } from './textures/DataArrayTexture.js';
|
|
33
|
-
export { Data3DTexture } from './textures/Data3DTexture.js';
|
|
34
|
-
export { CompressedTexture } from './textures/CompressedTexture.js';
|
|
35
|
-
export { CompressedArrayTexture } from './textures/CompressedArrayTexture.js';
|
|
36
|
-
export { CompressedCubeTexture } from './textures/CompressedCubeTexture.js';
|
|
37
|
-
export { CubeTexture } from './textures/CubeTexture.js';
|
|
38
|
-
export { CanvasTexture } from './textures/CanvasTexture.js';
|
|
39
|
-
export { DepthTexture } from './textures/DepthTexture.js';
|
|
40
|
-
export { Texture } from './textures/Texture.js';
|
|
41
|
-
export * from './geometries/Geometries.js';
|
|
42
|
-
export * from './materials/Materials.js';
|
|
43
|
-
export { Material } from './materials/Material.js';
|
|
44
|
-
export { AnimationLoader } from './loaders/AnimationLoader.js';
|
|
45
|
-
export { CompressedTextureLoader } from './loaders/CompressedTextureLoader.js';
|
|
46
|
-
export { CubeTextureLoader } from './loaders/CubeTextureLoader.js';
|
|
47
|
-
export { DataTextureLoader } from './loaders/DataTextureLoader.js';
|
|
48
|
-
export { TextureLoader } from './loaders/TextureLoader.js';
|
|
49
|
-
export { ObjectLoader } from './loaders/ObjectLoader.js';
|
|
50
|
-
export { MaterialLoader } from './loaders/MaterialLoader.js';
|
|
51
|
-
export { BufferGeometryLoader } from './loaders/BufferGeometryLoader.js';
|
|
52
|
-
export { DefaultLoadingManager, LoadingManager } from './loaders/LoadingManager.js';
|
|
53
|
-
export { ImageLoader } from './loaders/ImageLoader.js';
|
|
54
|
-
export { ImageBitmapLoader } from './loaders/ImageBitmapLoader.js';
|
|
55
|
-
export { FileLoader } from './loaders/FileLoader.js';
|
|
56
|
-
export { Loader } from './loaders/Loader.js';
|
|
57
|
-
export { LoaderUtils } from './loaders/LoaderUtils.js';
|
|
58
|
-
export { Cache } from './loaders/Cache.js';
|
|
59
|
-
export { AudioLoader } from './loaders/AudioLoader.js';
|
|
60
|
-
export { SpotLight } from './lights/SpotLight.js';
|
|
61
|
-
export { PointLight } from './lights/PointLight.js';
|
|
62
|
-
export { RectAreaLight } from './lights/RectAreaLight.js';
|
|
63
|
-
export { HemisphereLight } from './lights/HemisphereLight.js';
|
|
64
|
-
export { DirectionalLight } from './lights/DirectionalLight.js';
|
|
65
|
-
export { AmbientLight } from './lights/AmbientLight.js';
|
|
66
|
-
export { Light } from './lights/Light.js';
|
|
67
|
-
export { LightProbe } from './lights/LightProbe.js';
|
|
68
|
-
export { StereoCamera } from './cameras/StereoCamera.js';
|
|
69
|
-
export { PerspectiveCamera } from './cameras/PerspectiveCamera.js';
|
|
70
|
-
export { OrthographicCamera } from './cameras/OrthographicCamera.js';
|
|
71
|
-
export { CubeCamera } from './cameras/CubeCamera.js';
|
|
72
|
-
export { ArrayCamera } from './cameras/ArrayCamera.js';
|
|
73
|
-
export { Camera } from './cameras/Camera.js';
|
|
74
|
-
export { AudioListener } from './audio/AudioListener.js';
|
|
75
|
-
export { PositionalAudio } from './audio/PositionalAudio.js';
|
|
76
|
-
export { AudioContext } from './audio/AudioContext.js';
|
|
77
|
-
export { AudioAnalyser } from './audio/AudioAnalyser.js';
|
|
78
|
-
export { Audio } from './audio/Audio.js';
|
|
79
|
-
export { VectorKeyframeTrack } from './animation/tracks/VectorKeyframeTrack.js';
|
|
80
|
-
export { StringKeyframeTrack } from './animation/tracks/StringKeyframeTrack.js';
|
|
81
|
-
export { QuaternionKeyframeTrack } from './animation/tracks/QuaternionKeyframeTrack.js';
|
|
82
|
-
export { NumberKeyframeTrack } from './animation/tracks/NumberKeyframeTrack.js';
|
|
83
|
-
export { ColorKeyframeTrack } from './animation/tracks/ColorKeyframeTrack.js';
|
|
84
|
-
export { BooleanKeyframeTrack } from './animation/tracks/BooleanKeyframeTrack.js';
|
|
85
|
-
export { PropertyMixer } from './animation/PropertyMixer.js';
|
|
86
|
-
export { PropertyBinding } from './animation/PropertyBinding.js';
|
|
87
|
-
export { KeyframeTrack } from './animation/KeyframeTrack.js';
|
|
88
|
-
export { AnimationUtils } from './animation/AnimationUtils.js';
|
|
89
|
-
export { AnimationObjectGroup } from './animation/AnimationObjectGroup.js';
|
|
90
|
-
export { AnimationMixer } from './animation/AnimationMixer.js';
|
|
91
|
-
export { AnimationClip } from './animation/AnimationClip.js';
|
|
92
|
-
export { AnimationAction } from './animation/AnimationAction.js';
|
|
93
|
-
export { RenderTarget } from './core/RenderTarget.js';
|
|
94
|
-
export { Uniform } from './core/Uniform.js';
|
|
95
|
-
export { UniformsGroup } from './core/UniformsGroup.js';
|
|
96
|
-
export { InstancedBufferGeometry } from './core/InstancedBufferGeometry.js';
|
|
97
|
-
export { BufferGeometry } from './core/BufferGeometry.js';
|
|
98
|
-
export { InterleavedBufferAttribute } from './core/InterleavedBufferAttribute.js';
|
|
99
|
-
export { InstancedInterleavedBuffer } from './core/InstancedInterleavedBuffer.js';
|
|
100
|
-
export { InterleavedBuffer } from './core/InterleavedBuffer.js';
|
|
101
|
-
export { InstancedBufferAttribute } from './core/InstancedBufferAttribute.js';
|
|
102
|
-
export { GLBufferAttribute } from './core/GLBufferAttribute.js';
|
|
103
|
-
export * from './core/BufferAttribute.js';
|
|
104
|
-
export { Object3D } from './core/Object3D.js';
|
|
105
|
-
export { Raycaster } from './core/Raycaster.js';
|
|
106
|
-
export { Layers } from './core/Layers.js';
|
|
107
|
-
export { EventDispatcher } from './core/EventDispatcher.js';
|
|
108
|
-
export { Clock } from './core/Clock.js';
|
|
109
|
-
export { QuaternionLinearInterpolant } from './math/interpolants/QuaternionLinearInterpolant.js';
|
|
110
|
-
export { LinearInterpolant } from './math/interpolants/LinearInterpolant.js';
|
|
111
|
-
export { DiscreteInterpolant } from './math/interpolants/DiscreteInterpolant.js';
|
|
112
|
-
export { CubicInterpolant } from './math/interpolants/CubicInterpolant.js';
|
|
113
|
-
export { Interpolant } from './math/Interpolant.js';
|
|
114
|
-
export { Triangle } from './math/Triangle.js';
|
|
115
|
-
export { MathUtils } from './math/MathUtils.js';
|
|
116
|
-
export { Spherical } from './math/Spherical.js';
|
|
117
|
-
export { Cylindrical } from './math/Cylindrical.js';
|
|
118
|
-
export { Plane } from './math/Plane.js';
|
|
119
|
-
export { Frustum } from './math/Frustum.js';
|
|
120
|
-
export { Sphere } from './math/Sphere.js';
|
|
121
|
-
export { Ray } from './math/Ray.js';
|
|
122
|
-
export { Matrix4 } from './math/Matrix4.js';
|
|
123
|
-
export { Matrix3 } from './math/Matrix3.js';
|
|
124
|
-
export { Matrix2 } from './math/Matrix2.js';
|
|
125
|
-
export { Box3 } from './math/Box3.js';
|
|
126
|
-
export { Box2 } from './math/Box2.js';
|
|
127
|
-
export { Line3 } from './math/Line3.js';
|
|
128
|
-
export { Euler } from './math/Euler.js';
|
|
129
|
-
export { Vector4 } from './math/Vector4.js';
|
|
130
|
-
export { Vector3 } from './math/Vector3.js';
|
|
131
|
-
export { Vector2 } from './math/Vector2.js';
|
|
132
|
-
export { Quaternion } from './math/Quaternion.js';
|
|
133
|
-
export { Color } from './math/Color.js';
|
|
134
|
-
export { ColorManagement } from './math/ColorManagement.js';
|
|
135
|
-
export { SphericalHarmonics3 } from './math/SphericalHarmonics3.js';
|
|
136
|
-
export { SpotLightHelper } from './helpers/SpotLightHelper.js';
|
|
137
|
-
export { SkeletonHelper } from './helpers/SkeletonHelper.js';
|
|
138
|
-
export { PointLightHelper } from './helpers/PointLightHelper.js';
|
|
139
|
-
export { HemisphereLightHelper } from './helpers/HemisphereLightHelper.js';
|
|
140
|
-
export { GridHelper } from './helpers/GridHelper.js';
|
|
141
|
-
export { PolarGridHelper } from './helpers/PolarGridHelper.js';
|
|
142
|
-
export { DirectionalLightHelper } from './helpers/DirectionalLightHelper.js';
|
|
143
|
-
export { CameraHelper } from './helpers/CameraHelper.js';
|
|
144
|
-
export { BoxHelper } from './helpers/BoxHelper.js';
|
|
145
|
-
export { Box3Helper } from './helpers/Box3Helper.js';
|
|
146
|
-
export { PlaneHelper } from './helpers/PlaneHelper.js';
|
|
147
|
-
export { ArrowHelper } from './helpers/ArrowHelper.js';
|
|
148
|
-
export { AxesHelper } from './helpers/AxesHelper.js';
|
|
149
|
-
export * from './extras/curves/Curves.js';
|
|
150
|
-
export { Shape } from './extras/core/Shape.js';
|
|
151
|
-
export { Path } from './extras/core/Path.js';
|
|
152
|
-
export { ShapePath } from './extras/core/ShapePath.js';
|
|
153
|
-
export { CurvePath } from './extras/core/CurvePath.js';
|
|
154
|
-
export { Curve } from './extras/core/Curve.js';
|
|
155
|
-
export { Controls } from './extras/Controls.js';
|
|
156
|
-
export { DataUtils } from './extras/DataUtils.js';
|
|
157
|
-
export { ImageUtils } from './extras/ImageUtils.js';
|
|
158
|
-
export { ShapeUtils } from './extras/ShapeUtils.js';
|
|
159
|
-
//export { PMREMGenerator } from './extras/PMREMGenerator.js';
|
|
160
|
-
//export { WebGLUtils } from './renderers/webgl/WebGLUtils.js';
|
|
161
|
-
export { createCanvasElement } from './utils.js';
|
|
162
|
-
export * from './constants.js';
|
|
163
|
-
export * from './Three.Legacy.js';
|
|
1
|
+
export * from './Three.Core.js';
|
|
164
2
|
|
|
165
3
|
export * from './materials/nodes/NodeMaterials.js';
|
|
166
4
|
export { default as WebGPURenderer } from './renderers/webgpu/WebGPURenderer.Nodes.js';
|
|
167
5
|
export { default as Lighting } from './renderers/common/Lighting.js';
|
|
6
|
+
export { default as BundleGroup } from './renderers/common/BundleGroup.js';
|
|
168
7
|
export { default as QuadMesh } from './renderers/common/QuadMesh.js';
|
|
169
8
|
export { default as PMREMGenerator } from './renderers/common/extras/PMREMGenerator.js';
|
|
170
9
|
export { default as PostProcessing } from './renderers/common/PostProcessing.js';
|
|
@@ -178,27 +17,7 @@ export { default as IESSpotLight } from './lights/webgpu/IESSpotLight.js';
|
|
|
178
17
|
export { default as NodeLoader } from './loaders/nodes/NodeLoader.js';
|
|
179
18
|
export { default as NodeObjectLoader } from './loaders/nodes/NodeObjectLoader.js';
|
|
180
19
|
export { default as NodeMaterialLoader } from './loaders/nodes/NodeMaterialLoader.js';
|
|
20
|
+
export { ClippingGroup } from './objects/ClippingGroup.js';
|
|
181
21
|
export * from './nodes/Nodes.js';
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
if ( typeof __THREE_DEVTOOLS__ !== 'undefined' ) {
|
|
185
|
-
|
|
186
|
-
__THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'register', { detail: {
|
|
187
|
-
revision: REVISION,
|
|
188
|
-
} } ) );
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
if ( typeof window !== 'undefined' ) {
|
|
193
|
-
|
|
194
|
-
if ( window.__THREE__ ) {
|
|
195
|
-
|
|
196
|
-
console.warn( 'WARNING: Multiple instances of Three.js being imported.' );
|
|
197
|
-
|
|
198
|
-
} else {
|
|
199
|
-
|
|
200
|
-
window.__THREE__ = REVISION;
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
}
|
|
22
|
+
import * as TSL from './nodes/TSL.js';
|
|
23
|
+
export { TSL };
|
package/src/Three.WebGPU.js
CHANGED
|
@@ -1,166 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export { WebGLArrayRenderTarget } from './renderers/WebGLArrayRenderTarget.js';
|
|
4
|
-
export { WebGL3DRenderTarget } from './renderers/WebGL3DRenderTarget.js';
|
|
5
|
-
export { WebGLCubeRenderTarget } from './renderers/WebGLCubeRenderTarget.js';
|
|
6
|
-
export { WebGLRenderTarget } from './renderers/WebGLRenderTarget.js';
|
|
7
|
-
//export { WebGLRenderer } from './renderers/WebGLRenderer.js';
|
|
8
|
-
//export { ShaderLib } from './renderers/shaders/ShaderLib.js';
|
|
9
|
-
//export { UniformsLib } from './renderers/shaders/UniformsLib.js';
|
|
10
|
-
//export { UniformsUtils } from './renderers/shaders/UniformsUtils.js';
|
|
11
|
-
//export { ShaderChunk } from './renderers/shaders/ShaderChunk.js';
|
|
12
|
-
export { FogExp2 } from './scenes/FogExp2.js';
|
|
13
|
-
export { Fog } from './scenes/Fog.js';
|
|
14
|
-
export { Scene } from './scenes/Scene.js';
|
|
15
|
-
export { Sprite } from './objects/Sprite.js';
|
|
16
|
-
export { LOD } from './objects/LOD.js';
|
|
17
|
-
export { SkinnedMesh } from './objects/SkinnedMesh.js';
|
|
18
|
-
export { Skeleton } from './objects/Skeleton.js';
|
|
19
|
-
export { Bone } from './objects/Bone.js';
|
|
20
|
-
export { Mesh } from './objects/Mesh.js';
|
|
21
|
-
export { InstancedMesh } from './objects/InstancedMesh.js';
|
|
22
|
-
export { BatchedMesh } from './objects/BatchedMesh.js';
|
|
23
|
-
export { LineSegments } from './objects/LineSegments.js';
|
|
24
|
-
export { LineLoop } from './objects/LineLoop.js';
|
|
25
|
-
export { Line } from './objects/Line.js';
|
|
26
|
-
export { Points } from './objects/Points.js';
|
|
27
|
-
export { Group } from './objects/Group.js';
|
|
28
|
-
export { VideoTexture } from './textures/VideoTexture.js';
|
|
29
|
-
export { FramebufferTexture } from './textures/FramebufferTexture.js';
|
|
30
|
-
export { Source } from './textures/Source.js';
|
|
31
|
-
export { DataTexture } from './textures/DataTexture.js';
|
|
32
|
-
export { DataArrayTexture } from './textures/DataArrayTexture.js';
|
|
33
|
-
export { Data3DTexture } from './textures/Data3DTexture.js';
|
|
34
|
-
export { CompressedTexture } from './textures/CompressedTexture.js';
|
|
35
|
-
export { CompressedArrayTexture } from './textures/CompressedArrayTexture.js';
|
|
36
|
-
export { CompressedCubeTexture } from './textures/CompressedCubeTexture.js';
|
|
37
|
-
export { CubeTexture } from './textures/CubeTexture.js';
|
|
38
|
-
export { CanvasTexture } from './textures/CanvasTexture.js';
|
|
39
|
-
export { DepthTexture } from './textures/DepthTexture.js';
|
|
40
|
-
export { Texture } from './textures/Texture.js';
|
|
41
|
-
export * from './geometries/Geometries.js';
|
|
42
|
-
export * from './materials/Materials.js';
|
|
43
|
-
export { Material } from './materials/Material.js';
|
|
44
|
-
export { AnimationLoader } from './loaders/AnimationLoader.js';
|
|
45
|
-
export { CompressedTextureLoader } from './loaders/CompressedTextureLoader.js';
|
|
46
|
-
export { CubeTextureLoader } from './loaders/CubeTextureLoader.js';
|
|
47
|
-
export { DataTextureLoader } from './loaders/DataTextureLoader.js';
|
|
48
|
-
export { TextureLoader } from './loaders/TextureLoader.js';
|
|
49
|
-
export { ObjectLoader } from './loaders/ObjectLoader.js';
|
|
50
|
-
export { MaterialLoader } from './loaders/MaterialLoader.js';
|
|
51
|
-
export { BufferGeometryLoader } from './loaders/BufferGeometryLoader.js';
|
|
52
|
-
export { DefaultLoadingManager, LoadingManager } from './loaders/LoadingManager.js';
|
|
53
|
-
export { ImageLoader } from './loaders/ImageLoader.js';
|
|
54
|
-
export { ImageBitmapLoader } from './loaders/ImageBitmapLoader.js';
|
|
55
|
-
export { FileLoader } from './loaders/FileLoader.js';
|
|
56
|
-
export { Loader } from './loaders/Loader.js';
|
|
57
|
-
export { LoaderUtils } from './loaders/LoaderUtils.js';
|
|
58
|
-
export { Cache } from './loaders/Cache.js';
|
|
59
|
-
export { AudioLoader } from './loaders/AudioLoader.js';
|
|
60
|
-
export { SpotLight } from './lights/SpotLight.js';
|
|
61
|
-
export { PointLight } from './lights/PointLight.js';
|
|
62
|
-
export { RectAreaLight } from './lights/RectAreaLight.js';
|
|
63
|
-
export { HemisphereLight } from './lights/HemisphereLight.js';
|
|
64
|
-
export { DirectionalLight } from './lights/DirectionalLight.js';
|
|
65
|
-
export { AmbientLight } from './lights/AmbientLight.js';
|
|
66
|
-
export { Light } from './lights/Light.js';
|
|
67
|
-
export { LightProbe } from './lights/LightProbe.js';
|
|
68
|
-
export { StereoCamera } from './cameras/StereoCamera.js';
|
|
69
|
-
export { PerspectiveCamera } from './cameras/PerspectiveCamera.js';
|
|
70
|
-
export { OrthographicCamera } from './cameras/OrthographicCamera.js';
|
|
71
|
-
export { CubeCamera } from './cameras/CubeCamera.js';
|
|
72
|
-
export { ArrayCamera } from './cameras/ArrayCamera.js';
|
|
73
|
-
export { Camera } from './cameras/Camera.js';
|
|
74
|
-
export { AudioListener } from './audio/AudioListener.js';
|
|
75
|
-
export { PositionalAudio } from './audio/PositionalAudio.js';
|
|
76
|
-
export { AudioContext } from './audio/AudioContext.js';
|
|
77
|
-
export { AudioAnalyser } from './audio/AudioAnalyser.js';
|
|
78
|
-
export { Audio } from './audio/Audio.js';
|
|
79
|
-
export { VectorKeyframeTrack } from './animation/tracks/VectorKeyframeTrack.js';
|
|
80
|
-
export { StringKeyframeTrack } from './animation/tracks/StringKeyframeTrack.js';
|
|
81
|
-
export { QuaternionKeyframeTrack } from './animation/tracks/QuaternionKeyframeTrack.js';
|
|
82
|
-
export { NumberKeyframeTrack } from './animation/tracks/NumberKeyframeTrack.js';
|
|
83
|
-
export { ColorKeyframeTrack } from './animation/tracks/ColorKeyframeTrack.js';
|
|
84
|
-
export { BooleanKeyframeTrack } from './animation/tracks/BooleanKeyframeTrack.js';
|
|
85
|
-
export { PropertyMixer } from './animation/PropertyMixer.js';
|
|
86
|
-
export { PropertyBinding } from './animation/PropertyBinding.js';
|
|
87
|
-
export { KeyframeTrack } from './animation/KeyframeTrack.js';
|
|
88
|
-
export { AnimationUtils } from './animation/AnimationUtils.js';
|
|
89
|
-
export { AnimationObjectGroup } from './animation/AnimationObjectGroup.js';
|
|
90
|
-
export { AnimationMixer } from './animation/AnimationMixer.js';
|
|
91
|
-
export { AnimationClip } from './animation/AnimationClip.js';
|
|
92
|
-
export { AnimationAction } from './animation/AnimationAction.js';
|
|
93
|
-
export { RenderTarget } from './core/RenderTarget.js';
|
|
94
|
-
export { Uniform } from './core/Uniform.js';
|
|
95
|
-
export { UniformsGroup } from './core/UniformsGroup.js';
|
|
96
|
-
export { InstancedBufferGeometry } from './core/InstancedBufferGeometry.js';
|
|
97
|
-
export { BufferGeometry } from './core/BufferGeometry.js';
|
|
98
|
-
export { InterleavedBufferAttribute } from './core/InterleavedBufferAttribute.js';
|
|
99
|
-
export { InstancedInterleavedBuffer } from './core/InstancedInterleavedBuffer.js';
|
|
100
|
-
export { InterleavedBuffer } from './core/InterleavedBuffer.js';
|
|
101
|
-
export { InstancedBufferAttribute } from './core/InstancedBufferAttribute.js';
|
|
102
|
-
export { GLBufferAttribute } from './core/GLBufferAttribute.js';
|
|
103
|
-
export * from './core/BufferAttribute.js';
|
|
104
|
-
export { Object3D } from './core/Object3D.js';
|
|
105
|
-
export { Raycaster } from './core/Raycaster.js';
|
|
106
|
-
export { Layers } from './core/Layers.js';
|
|
107
|
-
export { EventDispatcher } from './core/EventDispatcher.js';
|
|
108
|
-
export { Clock } from './core/Clock.js';
|
|
109
|
-
export { QuaternionLinearInterpolant } from './math/interpolants/QuaternionLinearInterpolant.js';
|
|
110
|
-
export { LinearInterpolant } from './math/interpolants/LinearInterpolant.js';
|
|
111
|
-
export { DiscreteInterpolant } from './math/interpolants/DiscreteInterpolant.js';
|
|
112
|
-
export { CubicInterpolant } from './math/interpolants/CubicInterpolant.js';
|
|
113
|
-
export { Interpolant } from './math/Interpolant.js';
|
|
114
|
-
export { Triangle } from './math/Triangle.js';
|
|
115
|
-
export { MathUtils } from './math/MathUtils.js';
|
|
116
|
-
export { Spherical } from './math/Spherical.js';
|
|
117
|
-
export { Cylindrical } from './math/Cylindrical.js';
|
|
118
|
-
export { Plane } from './math/Plane.js';
|
|
119
|
-
export { Frustum } from './math/Frustum.js';
|
|
120
|
-
export { Sphere } from './math/Sphere.js';
|
|
121
|
-
export { Ray } from './math/Ray.js';
|
|
122
|
-
export { Matrix4 } from './math/Matrix4.js';
|
|
123
|
-
export { Matrix3 } from './math/Matrix3.js';
|
|
124
|
-
export { Matrix2 } from './math/Matrix2.js';
|
|
125
|
-
export { Box3 } from './math/Box3.js';
|
|
126
|
-
export { Box2 } from './math/Box2.js';
|
|
127
|
-
export { Line3 } from './math/Line3.js';
|
|
128
|
-
export { Euler } from './math/Euler.js';
|
|
129
|
-
export { Vector4 } from './math/Vector4.js';
|
|
130
|
-
export { Vector3 } from './math/Vector3.js';
|
|
131
|
-
export { Vector2 } from './math/Vector2.js';
|
|
132
|
-
export { Quaternion } from './math/Quaternion.js';
|
|
133
|
-
export { Color } from './math/Color.js';
|
|
134
|
-
export { ColorManagement } from './math/ColorManagement.js';
|
|
135
|
-
export { SphericalHarmonics3 } from './math/SphericalHarmonics3.js';
|
|
136
|
-
export { SpotLightHelper } from './helpers/SpotLightHelper.js';
|
|
137
|
-
export { SkeletonHelper } from './helpers/SkeletonHelper.js';
|
|
138
|
-
export { PointLightHelper } from './helpers/PointLightHelper.js';
|
|
139
|
-
export { HemisphereLightHelper } from './helpers/HemisphereLightHelper.js';
|
|
140
|
-
export { GridHelper } from './helpers/GridHelper.js';
|
|
141
|
-
export { PolarGridHelper } from './helpers/PolarGridHelper.js';
|
|
142
|
-
export { DirectionalLightHelper } from './helpers/DirectionalLightHelper.js';
|
|
143
|
-
export { CameraHelper } from './helpers/CameraHelper.js';
|
|
144
|
-
export { BoxHelper } from './helpers/BoxHelper.js';
|
|
145
|
-
export { Box3Helper } from './helpers/Box3Helper.js';
|
|
146
|
-
export { PlaneHelper } from './helpers/PlaneHelper.js';
|
|
147
|
-
export { ArrowHelper } from './helpers/ArrowHelper.js';
|
|
148
|
-
export { AxesHelper } from './helpers/AxesHelper.js';
|
|
149
|
-
export * from './extras/curves/Curves.js';
|
|
150
|
-
export { Shape } from './extras/core/Shape.js';
|
|
151
|
-
export { Path } from './extras/core/Path.js';
|
|
152
|
-
export { ShapePath } from './extras/core/ShapePath.js';
|
|
153
|
-
export { CurvePath } from './extras/core/CurvePath.js';
|
|
154
|
-
export { Curve } from './extras/core/Curve.js';
|
|
155
|
-
export { Controls } from './extras/Controls.js';
|
|
156
|
-
export { DataUtils } from './extras/DataUtils.js';
|
|
157
|
-
export { ImageUtils } from './extras/ImageUtils.js';
|
|
158
|
-
export { ShapeUtils } from './extras/ShapeUtils.js';
|
|
159
|
-
//export { PMREMGenerator } from './extras/PMREMGenerator.js';
|
|
160
|
-
//export { WebGLUtils } from './renderers/webgl/WebGLUtils.js';
|
|
161
|
-
export { createCanvasElement } from './utils.js';
|
|
162
|
-
export * from './constants.js';
|
|
163
|
-
export * from './Three.Legacy.js';
|
|
1
|
+
export * from './Three.Core.js';
|
|
164
2
|
|
|
165
3
|
export * from './materials/nodes/NodeMaterials.js';
|
|
166
4
|
export { default as WebGPURenderer } from './renderers/webgpu/WebGPURenderer.js';
|
|
@@ -179,27 +17,7 @@ export { default as IESSpotLight } from './lights/webgpu/IESSpotLight.js';
|
|
|
179
17
|
export { default as NodeLoader } from './loaders/nodes/NodeLoader.js';
|
|
180
18
|
export { default as NodeObjectLoader } from './loaders/nodes/NodeObjectLoader.js';
|
|
181
19
|
export { default as NodeMaterialLoader } from './loaders/nodes/NodeMaterialLoader.js';
|
|
20
|
+
export { ClippingGroup } from './objects/ClippingGroup.js';
|
|
182
21
|
export * from './nodes/Nodes.js';
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
if ( typeof __THREE_DEVTOOLS__ !== 'undefined' ) {
|
|
186
|
-
|
|
187
|
-
__THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'register', { detail: {
|
|
188
|
-
revision: REVISION,
|
|
189
|
-
} } ) );
|
|
190
|
-
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
if ( typeof window !== 'undefined' ) {
|
|
194
|
-
|
|
195
|
-
if ( window.__THREE__ ) {
|
|
196
|
-
|
|
197
|
-
console.warn( 'WARNING: Multiple instances of Three.js being imported.' );
|
|
198
|
-
|
|
199
|
-
} else {
|
|
200
|
-
|
|
201
|
-
window.__THREE__ = REVISION;
|
|
202
|
-
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
}
|
|
22
|
+
import * as TSL from './nodes/TSL.js';
|
|
23
|
+
export { TSL };
|
package/src/Three.js
CHANGED
|
@@ -1,185 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
export * from './Three.Core.js';
|
|
2
2
|
|
|
3
|
-
export { WebGLArrayRenderTarget } from './renderers/WebGLArrayRenderTarget.js';
|
|
4
|
-
export { WebGL3DRenderTarget } from './renderers/WebGL3DRenderTarget.js';
|
|
5
|
-
export { WebGLCubeRenderTarget } from './renderers/WebGLCubeRenderTarget.js';
|
|
6
|
-
export { WebGLRenderTarget } from './renderers/WebGLRenderTarget.js';
|
|
7
3
|
export { WebGLRenderer } from './renderers/WebGLRenderer.js';
|
|
8
4
|
export { ShaderLib } from './renderers/shaders/ShaderLib.js';
|
|
9
5
|
export { UniformsLib } from './renderers/shaders/UniformsLib.js';
|
|
10
6
|
export { UniformsUtils } from './renderers/shaders/UniformsUtils.js';
|
|
11
7
|
export { ShaderChunk } from './renderers/shaders/ShaderChunk.js';
|
|
12
|
-
export { FogExp2 } from './scenes/FogExp2.js';
|
|
13
|
-
export { Fog } from './scenes/Fog.js';
|
|
14
|
-
export { Scene } from './scenes/Scene.js';
|
|
15
|
-
export { Sprite } from './objects/Sprite.js';
|
|
16
|
-
export { LOD } from './objects/LOD.js';
|
|
17
|
-
export { SkinnedMesh } from './objects/SkinnedMesh.js';
|
|
18
|
-
export { Skeleton } from './objects/Skeleton.js';
|
|
19
|
-
export { Bone } from './objects/Bone.js';
|
|
20
|
-
export { Mesh } from './objects/Mesh.js';
|
|
21
|
-
export { InstancedMesh } from './objects/InstancedMesh.js';
|
|
22
|
-
export { BatchedMesh } from './objects/BatchedMesh.js';
|
|
23
|
-
export { LineSegments } from './objects/LineSegments.js';
|
|
24
|
-
export { LineLoop } from './objects/LineLoop.js';
|
|
25
|
-
export { Line } from './objects/Line.js';
|
|
26
|
-
export { Points } from './objects/Points.js';
|
|
27
|
-
export { Group } from './objects/Group.js';
|
|
28
|
-
export { VideoTexture } from './textures/VideoTexture.js';
|
|
29
|
-
export { FramebufferTexture } from './textures/FramebufferTexture.js';
|
|
30
|
-
export { Source } from './textures/Source.js';
|
|
31
|
-
export { DataTexture } from './textures/DataTexture.js';
|
|
32
|
-
export { DataArrayTexture } from './textures/DataArrayTexture.js';
|
|
33
|
-
export { Data3DTexture } from './textures/Data3DTexture.js';
|
|
34
|
-
export { CompressedTexture } from './textures/CompressedTexture.js';
|
|
35
|
-
export { CompressedArrayTexture } from './textures/CompressedArrayTexture.js';
|
|
36
|
-
export { CompressedCubeTexture } from './textures/CompressedCubeTexture.js';
|
|
37
|
-
export { CubeTexture } from './textures/CubeTexture.js';
|
|
38
|
-
export { CanvasTexture } from './textures/CanvasTexture.js';
|
|
39
|
-
export { DepthTexture } from './textures/DepthTexture.js';
|
|
40
|
-
export { Texture } from './textures/Texture.js';
|
|
41
|
-
export * from './geometries/Geometries.js';
|
|
42
|
-
export * from './materials/Materials.js';
|
|
43
|
-
export { AnimationLoader } from './loaders/AnimationLoader.js';
|
|
44
|
-
export { CompressedTextureLoader } from './loaders/CompressedTextureLoader.js';
|
|
45
|
-
export { CubeTextureLoader } from './loaders/CubeTextureLoader.js';
|
|
46
|
-
export { DataTextureLoader } from './loaders/DataTextureLoader.js';
|
|
47
|
-
export { TextureLoader } from './loaders/TextureLoader.js';
|
|
48
|
-
export { ObjectLoader } from './loaders/ObjectLoader.js';
|
|
49
|
-
export { MaterialLoader } from './loaders/MaterialLoader.js';
|
|
50
|
-
export { BufferGeometryLoader } from './loaders/BufferGeometryLoader.js';
|
|
51
|
-
export { DefaultLoadingManager, LoadingManager } from './loaders/LoadingManager.js';
|
|
52
|
-
export { ImageLoader } from './loaders/ImageLoader.js';
|
|
53
|
-
export { ImageBitmapLoader } from './loaders/ImageBitmapLoader.js';
|
|
54
|
-
export { FileLoader } from './loaders/FileLoader.js';
|
|
55
|
-
export { Loader } from './loaders/Loader.js';
|
|
56
|
-
export { LoaderUtils } from './loaders/LoaderUtils.js';
|
|
57
|
-
export { Cache } from './loaders/Cache.js';
|
|
58
|
-
export { AudioLoader } from './loaders/AudioLoader.js';
|
|
59
|
-
export { SpotLight } from './lights/SpotLight.js';
|
|
60
|
-
export { PointLight } from './lights/PointLight.js';
|
|
61
|
-
export { RectAreaLight } from './lights/RectAreaLight.js';
|
|
62
|
-
export { HemisphereLight } from './lights/HemisphereLight.js';
|
|
63
|
-
export { DirectionalLight } from './lights/DirectionalLight.js';
|
|
64
|
-
export { AmbientLight } from './lights/AmbientLight.js';
|
|
65
|
-
export { Light } from './lights/Light.js';
|
|
66
|
-
export { LightProbe } from './lights/LightProbe.js';
|
|
67
|
-
export { StereoCamera } from './cameras/StereoCamera.js';
|
|
68
|
-
export { PerspectiveCamera } from './cameras/PerspectiveCamera.js';
|
|
69
|
-
export { OrthographicCamera } from './cameras/OrthographicCamera.js';
|
|
70
|
-
export { CubeCamera } from './cameras/CubeCamera.js';
|
|
71
|
-
export { ArrayCamera } from './cameras/ArrayCamera.js';
|
|
72
|
-
export { Camera } from './cameras/Camera.js';
|
|
73
|
-
export { AudioListener } from './audio/AudioListener.js';
|
|
74
|
-
export { PositionalAudio } from './audio/PositionalAudio.js';
|
|
75
|
-
export { AudioContext } from './audio/AudioContext.js';
|
|
76
|
-
export { AudioAnalyser } from './audio/AudioAnalyser.js';
|
|
77
|
-
export { Audio } from './audio/Audio.js';
|
|
78
|
-
export { VectorKeyframeTrack } from './animation/tracks/VectorKeyframeTrack.js';
|
|
79
|
-
export { StringKeyframeTrack } from './animation/tracks/StringKeyframeTrack.js';
|
|
80
|
-
export { QuaternionKeyframeTrack } from './animation/tracks/QuaternionKeyframeTrack.js';
|
|
81
|
-
export { NumberKeyframeTrack } from './animation/tracks/NumberKeyframeTrack.js';
|
|
82
|
-
export { ColorKeyframeTrack } from './animation/tracks/ColorKeyframeTrack.js';
|
|
83
|
-
export { BooleanKeyframeTrack } from './animation/tracks/BooleanKeyframeTrack.js';
|
|
84
|
-
export { PropertyMixer } from './animation/PropertyMixer.js';
|
|
85
|
-
export { PropertyBinding } from './animation/PropertyBinding.js';
|
|
86
|
-
export { KeyframeTrack } from './animation/KeyframeTrack.js';
|
|
87
|
-
export { AnimationUtils } from './animation/AnimationUtils.js';
|
|
88
|
-
export { AnimationObjectGroup } from './animation/AnimationObjectGroup.js';
|
|
89
|
-
export { AnimationMixer } from './animation/AnimationMixer.js';
|
|
90
|
-
export { AnimationClip } from './animation/AnimationClip.js';
|
|
91
|
-
export { AnimationAction } from './animation/AnimationAction.js';
|
|
92
|
-
export { RenderTarget } from './core/RenderTarget.js';
|
|
93
|
-
export { Uniform } from './core/Uniform.js';
|
|
94
|
-
export { UniformsGroup } from './core/UniformsGroup.js';
|
|
95
|
-
export { InstancedBufferGeometry } from './core/InstancedBufferGeometry.js';
|
|
96
|
-
export { BufferGeometry } from './core/BufferGeometry.js';
|
|
97
|
-
export { InterleavedBufferAttribute } from './core/InterleavedBufferAttribute.js';
|
|
98
|
-
export { InstancedInterleavedBuffer } from './core/InstancedInterleavedBuffer.js';
|
|
99
|
-
export { InterleavedBuffer } from './core/InterleavedBuffer.js';
|
|
100
|
-
export { InstancedBufferAttribute } from './core/InstancedBufferAttribute.js';
|
|
101
|
-
export { GLBufferAttribute } from './core/GLBufferAttribute.js';
|
|
102
|
-
export * from './core/BufferAttribute.js';
|
|
103
|
-
export { Object3D } from './core/Object3D.js';
|
|
104
|
-
export { Raycaster } from './core/Raycaster.js';
|
|
105
|
-
export { Layers } from './core/Layers.js';
|
|
106
|
-
export { EventDispatcher } from './core/EventDispatcher.js';
|
|
107
|
-
export { Clock } from './core/Clock.js';
|
|
108
|
-
export { QuaternionLinearInterpolant } from './math/interpolants/QuaternionLinearInterpolant.js';
|
|
109
|
-
export { LinearInterpolant } from './math/interpolants/LinearInterpolant.js';
|
|
110
|
-
export { DiscreteInterpolant } from './math/interpolants/DiscreteInterpolant.js';
|
|
111
|
-
export { CubicInterpolant } from './math/interpolants/CubicInterpolant.js';
|
|
112
|
-
export { Interpolant } from './math/Interpolant.js';
|
|
113
|
-
export { Triangle } from './math/Triangle.js';
|
|
114
|
-
export { MathUtils } from './math/MathUtils.js';
|
|
115
|
-
export { Spherical } from './math/Spherical.js';
|
|
116
|
-
export { Cylindrical } from './math/Cylindrical.js';
|
|
117
|
-
export { Plane } from './math/Plane.js';
|
|
118
|
-
export { Frustum } from './math/Frustum.js';
|
|
119
|
-
export { Sphere } from './math/Sphere.js';
|
|
120
|
-
export { Ray } from './math/Ray.js';
|
|
121
|
-
export { Matrix4 } from './math/Matrix4.js';
|
|
122
|
-
export { Matrix3 } from './math/Matrix3.js';
|
|
123
|
-
export { Matrix2 } from './math/Matrix2.js';
|
|
124
|
-
export { Box3 } from './math/Box3.js';
|
|
125
|
-
export { Box2 } from './math/Box2.js';
|
|
126
|
-
export { Line3 } from './math/Line3.js';
|
|
127
|
-
export { Euler } from './math/Euler.js';
|
|
128
|
-
export { Vector4 } from './math/Vector4.js';
|
|
129
|
-
export { Vector3 } from './math/Vector3.js';
|
|
130
|
-
export { Vector2 } from './math/Vector2.js';
|
|
131
|
-
export { Quaternion } from './math/Quaternion.js';
|
|
132
|
-
export { Color } from './math/Color.js';
|
|
133
|
-
export { ColorManagement } from './math/ColorManagement.js';
|
|
134
|
-
export { SphericalHarmonics3 } from './math/SphericalHarmonics3.js';
|
|
135
|
-
export { SpotLightHelper } from './helpers/SpotLightHelper.js';
|
|
136
|
-
export { SkeletonHelper } from './helpers/SkeletonHelper.js';
|
|
137
|
-
export { PointLightHelper } from './helpers/PointLightHelper.js';
|
|
138
|
-
export { HemisphereLightHelper } from './helpers/HemisphereLightHelper.js';
|
|
139
|
-
export { GridHelper } from './helpers/GridHelper.js';
|
|
140
|
-
export { PolarGridHelper } from './helpers/PolarGridHelper.js';
|
|
141
|
-
export { DirectionalLightHelper } from './helpers/DirectionalLightHelper.js';
|
|
142
|
-
export { CameraHelper } from './helpers/CameraHelper.js';
|
|
143
|
-
export { BoxHelper } from './helpers/BoxHelper.js';
|
|
144
|
-
export { Box3Helper } from './helpers/Box3Helper.js';
|
|
145
|
-
export { PlaneHelper } from './helpers/PlaneHelper.js';
|
|
146
|
-
export { ArrowHelper } from './helpers/ArrowHelper.js';
|
|
147
|
-
export { AxesHelper } from './helpers/AxesHelper.js';
|
|
148
|
-
export * from './extras/curves/Curves.js';
|
|
149
|
-
export { Shape } from './extras/core/Shape.js';
|
|
150
|
-
export { Path } from './extras/core/Path.js';
|
|
151
|
-
export { ShapePath } from './extras/core/ShapePath.js';
|
|
152
|
-
export { CurvePath } from './extras/core/CurvePath.js';
|
|
153
|
-
export { Curve } from './extras/core/Curve.js';
|
|
154
|
-
export { Controls } from './extras/Controls.js';
|
|
155
|
-
export { DataUtils } from './extras/DataUtils.js';
|
|
156
|
-
export { ImageUtils } from './extras/ImageUtils.js';
|
|
157
|
-
export { ShapeUtils } from './extras/ShapeUtils.js';
|
|
158
|
-
export { TextureUtils } from './extras/TextureUtils.js';
|
|
159
8
|
export { PMREMGenerator } from './extras/PMREMGenerator.js';
|
|
160
9
|
export { WebGLUtils } from './renderers/webgl/WebGLUtils.js';
|
|
161
|
-
export { createCanvasElement } from './utils.js';
|
|
162
|
-
export * from './constants.js';
|
|
163
|
-
export * from './Three.Legacy.js';
|
|
164
|
-
|
|
165
|
-
if ( typeof __THREE_DEVTOOLS__ !== 'undefined' ) {
|
|
166
|
-
|
|
167
|
-
__THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'register', { detail: {
|
|
168
|
-
revision: REVISION,
|
|
169
|
-
} } ) );
|
|
170
|
-
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
if ( typeof window !== 'undefined' ) {
|
|
174
|
-
|
|
175
|
-
if ( window.__THREE__ ) {
|
|
176
|
-
|
|
177
|
-
console.warn( 'WARNING: Multiple instances of Three.js being imported.' );
|
|
178
|
-
|
|
179
|
-
} else {
|
|
180
|
-
|
|
181
|
-
window.__THREE__ = REVISION;
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
}
|
|
@@ -6,7 +6,7 @@ import { NumberKeyframeTrack } from './tracks/NumberKeyframeTrack.js';
|
|
|
6
6
|
import { QuaternionKeyframeTrack } from './tracks/QuaternionKeyframeTrack.js';
|
|
7
7
|
import { StringKeyframeTrack } from './tracks/StringKeyframeTrack.js';
|
|
8
8
|
import { VectorKeyframeTrack } from './tracks/VectorKeyframeTrack.js';
|
|
9
|
-
import
|
|
9
|
+
import { generateUUID } from '../math/MathUtils.js';
|
|
10
10
|
import { NormalAnimationBlendMode } from '../constants.js';
|
|
11
11
|
|
|
12
12
|
class AnimationClip {
|
|
@@ -18,7 +18,7 @@ class AnimationClip {
|
|
|
18
18
|
this.duration = duration;
|
|
19
19
|
this.blendMode = blendMode;
|
|
20
20
|
|
|
21
|
-
this.uuid =
|
|
21
|
+
this.uuid = generateUUID();
|
|
22
22
|
|
|
23
23
|
// this means it should figure out its duration by scanning the tracks
|
|
24
24
|
if ( this.duration < 0 ) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropertyBinding } from './PropertyBinding.js';
|
|
2
|
-
import
|
|
2
|
+
import { generateUUID } from '../math/MathUtils.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -36,7 +36,7 @@ class AnimationObjectGroup {
|
|
|
36
36
|
|
|
37
37
|
this.isAnimationObjectGroup = true;
|
|
38
38
|
|
|
39
|
-
this.uuid =
|
|
39
|
+
this.uuid = generateUUID();
|
|
40
40
|
|
|
41
41
|
// cached objects followed by the active ones
|
|
42
42
|
this._objects = Array.prototype.slice.call( arguments );
|