@types/three 0.152.1 → 0.154.0

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.
Files changed (601) hide show
  1. three/README.md +2 -2
  2. three/build/three.d.cts +1 -1
  3. three/build/three.d.ts +1 -1
  4. three/build/three.min.d.ts +1 -1
  5. three/build/three.module.d.ts +1 -1
  6. three/build/three.module.min.d.ts +1 -1
  7. three/examples/jsm/animation/AnimationClipCreator.d.ts +1 -1
  8. three/examples/jsm/animation/CCDIKSolver.d.ts +1 -1
  9. three/examples/jsm/animation/MMDAnimationHelper.d.ts +5 -3
  10. three/examples/jsm/animation/MMDPhysics.d.ts +1 -1
  11. three/examples/jsm/cameras/CinematicCamera.d.ts +2 -2
  12. three/examples/jsm/capabilities/WebGL.d.ts +7 -8
  13. three/examples/jsm/controls/ArcballControls.d.ts +6 -1
  14. three/examples/jsm/controls/DragControls.d.ts +1 -1
  15. three/examples/jsm/controls/FirstPersonControls.d.ts +1 -1
  16. three/examples/jsm/controls/FlyControls.d.ts +6 -6
  17. three/examples/jsm/controls/MapControls.d.ts +2 -2
  18. three/examples/jsm/controls/OrbitControls.d.ts +1 -1
  19. three/examples/jsm/controls/PointerLockControls.d.ts +1 -1
  20. three/examples/jsm/controls/TrackballControls.d.ts +1 -1
  21. three/examples/jsm/controls/TransformControls.d.ts +1 -1
  22. three/examples/jsm/csm/CSM.d.ts +3 -3
  23. three/examples/jsm/csm/CSMFrustum.d.ts +1 -1
  24. three/examples/jsm/csm/CSMHelper.d.ts +2 -2
  25. three/examples/jsm/curves/CurveExtras.d.ts +1 -1
  26. three/examples/jsm/curves/NURBSCurve.d.ts +1 -1
  27. three/examples/jsm/curves/NURBSSurface.d.ts +1 -1
  28. three/examples/jsm/curves/NURBSUtils.d.ts +1 -1
  29. three/examples/jsm/deprecated/Geometry.d.ts +1 -1
  30. three/examples/jsm/effects/AnaglyphEffect.d.ts +1 -1
  31. three/examples/jsm/effects/AsciiEffect.d.ts +1 -1
  32. three/examples/jsm/effects/OutlineEffect.d.ts +9 -1
  33. three/examples/jsm/effects/ParallaxBarrierEffect.d.ts +1 -1
  34. three/examples/jsm/effects/PeppersGhostEffect.d.ts +1 -1
  35. three/examples/jsm/effects/StereoEffect.d.ts +1 -1
  36. three/examples/jsm/environments/RoomEnvironment.d.ts +2 -2
  37. three/examples/jsm/exporters/DRACOExporter.d.ts +2 -2
  38. three/examples/jsm/exporters/EXRExporter.d.ts +1 -1
  39. three/examples/jsm/exporters/GLTFExporter.d.ts +1 -1
  40. three/examples/jsm/exporters/KTX2Exporter.d.ts +1 -1
  41. three/examples/jsm/exporters/MMDExporter.d.ts +1 -1
  42. three/examples/jsm/exporters/OBJExporter.d.ts +1 -1
  43. three/examples/jsm/exporters/PLYExporter.d.ts +21 -4
  44. three/examples/jsm/exporters/STLExporter.d.ts +12 -2
  45. three/examples/jsm/exporters/USDZExporter.d.ts +6 -2
  46. three/examples/jsm/geometries/BoxLineGeometry.d.ts +1 -1
  47. three/examples/jsm/geometries/ConvexGeometry.d.ts +1 -1
  48. three/examples/jsm/geometries/DecalGeometry.d.ts +1 -1
  49. three/examples/jsm/geometries/ParametricGeometries.d.ts +2 -2
  50. three/examples/jsm/geometries/ParametricGeometry.d.ts +1 -1
  51. three/examples/jsm/geometries/RoundedBoxGeometry.d.ts +1 -1
  52. three/examples/jsm/geometries/TeapotGeometry.d.ts +2 -2
  53. three/examples/jsm/geometries/TextGeometry.d.ts +2 -2
  54. three/examples/jsm/helpers/LightProbeHelper.d.ts +1 -1
  55. three/examples/jsm/helpers/OctreeHelper.d.ts +2 -2
  56. three/examples/jsm/helpers/PositionalAudioHelper.d.ts +1 -1
  57. three/examples/jsm/helpers/RectAreaLightHelper.d.ts +1 -1
  58. three/examples/jsm/helpers/VertexNormalsHelper.d.ts +1 -1
  59. three/examples/jsm/helpers/VertexTangentsHelper.d.ts +1 -1
  60. three/examples/jsm/helpers/ViewHelper.d.ts +1 -1
  61. three/examples/jsm/interactive/SelectionBox.d.ts +1 -1
  62. three/examples/jsm/interactive/SelectionHelper.d.ts +1 -1
  63. three/examples/jsm/libs/meshopt_decoder.module.d.ts +1 -0
  64. three/examples/jsm/libs/stats.module.d.ts +1 -1
  65. three/examples/jsm/lights/LightProbeGenerator.d.ts +1 -1
  66. three/examples/jsm/lines/Line2.d.ts +3 -3
  67. three/examples/jsm/lines/LineGeometry.d.ts +2 -2
  68. three/examples/jsm/lines/LineMaterial.d.ts +1 -1
  69. three/examples/jsm/lines/LineSegments2.d.ts +3 -3
  70. three/examples/jsm/lines/LineSegmentsGeometry.d.ts +1 -1
  71. three/examples/jsm/lines/Wireframe.d.ts +3 -3
  72. three/examples/jsm/lines/WireframeGeometry2.d.ts +2 -2
  73. three/examples/jsm/loaders/3DMLoader.d.ts +1 -1
  74. three/examples/jsm/loaders/3MFLoader.d.ts +1 -1
  75. three/examples/jsm/loaders/AMFLoader.d.ts +1 -1
  76. three/examples/jsm/loaders/BVHLoader.d.ts +1 -1
  77. three/examples/jsm/loaders/BasisTextureLoader.d.ts +1 -1
  78. three/examples/jsm/loaders/ColladaLoader.d.ts +1 -1
  79. three/examples/jsm/loaders/DDSLoader.d.ts +1 -1
  80. three/examples/jsm/loaders/DRACOLoader.d.ts +1 -1
  81. three/examples/jsm/loaders/EXRLoader.d.ts +7 -1
  82. three/examples/jsm/loaders/FBXLoader.d.ts +1 -1
  83. three/examples/jsm/loaders/FontLoader.d.ts +1 -1
  84. three/examples/jsm/loaders/GCodeLoader.d.ts +1 -1
  85. three/examples/jsm/loaders/GLTFLoader.d.ts +3 -3
  86. three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +2 -2
  87. three/examples/jsm/loaders/IFCLoader.d.ts +5 -5
  88. three/examples/jsm/loaders/KMZLoader.d.ts +2 -2
  89. three/examples/jsm/loaders/KTX2Loader.d.ts +1 -1
  90. three/examples/jsm/loaders/KTXLoader.d.ts +1 -1
  91. three/examples/jsm/loaders/LDrawLoader.d.ts +1 -1
  92. three/examples/jsm/loaders/LUT3dlLoader.d.ts +1 -1
  93. three/examples/jsm/loaders/LUTCubeLoader.d.ts +1 -1
  94. three/examples/jsm/loaders/LWOLoader.d.ts +1 -1
  95. three/examples/jsm/loaders/LogLuvLoader.d.ts +1 -1
  96. three/examples/jsm/loaders/LottieLoader.d.ts +1 -1
  97. three/examples/jsm/loaders/MD2Loader.d.ts +1 -1
  98. three/examples/jsm/loaders/MDDLoader.d.ts +1 -1
  99. three/examples/jsm/loaders/MMDLoader.d.ts +1 -1
  100. three/examples/jsm/loaders/MTLLoader.d.ts +1 -1
  101. three/examples/jsm/loaders/NRRDLoader.d.ts +2 -2
  102. three/examples/jsm/loaders/OBJLoader.d.ts +2 -2
  103. three/examples/jsm/loaders/PCDLoader.d.ts +1 -1
  104. three/examples/jsm/loaders/PDBLoader.d.ts +1 -1
  105. three/examples/jsm/loaders/PLYLoader.d.ts +1 -1
  106. three/examples/jsm/loaders/PVRLoader.d.ts +1 -1
  107. three/examples/jsm/loaders/RGBELoader.d.ts +1 -1
  108. three/examples/jsm/loaders/RGBMLoader.d.ts +1 -1
  109. three/examples/jsm/loaders/STLLoader.d.ts +1 -1
  110. three/examples/jsm/loaders/SVGLoader.d.ts +1 -1
  111. three/examples/jsm/loaders/TDSLoader.d.ts +1 -1
  112. three/examples/jsm/loaders/TGALoader.d.ts +1 -1
  113. three/examples/jsm/loaders/TTFLoader.d.ts +1 -1
  114. three/examples/jsm/loaders/TiltLoader.d.ts +1 -1
  115. three/examples/jsm/loaders/USDZLoader.d.ts +1 -1
  116. three/examples/jsm/loaders/VOXLoader.d.ts +1 -1
  117. three/examples/jsm/loaders/VRMLLoader.d.ts +1 -1
  118. three/examples/jsm/loaders/VTKLoader.d.ts +1 -1
  119. three/examples/jsm/loaders/XYZLoader.d.ts +1 -1
  120. three/examples/jsm/materials/MeshGouraudMaterial.d.ts +1 -1
  121. three/examples/jsm/math/Capsule.d.ts +1 -1
  122. three/examples/jsm/math/ColorConverter.d.ts +1 -1
  123. three/examples/jsm/math/ConvexHull.d.ts +1 -1
  124. three/examples/jsm/math/Lut.d.ts +1 -1
  125. three/examples/jsm/math/MeshSurfaceSampler.d.ts +1 -1
  126. three/examples/jsm/math/OBB.d.ts +1 -1
  127. three/examples/jsm/math/Octree.d.ts +2 -2
  128. three/examples/jsm/misc/ConvexObjectBreaker.d.ts +1 -1
  129. three/examples/jsm/misc/GPUComputationRenderer.d.ts +2 -2
  130. three/examples/jsm/misc/Gyroscope.d.ts +1 -1
  131. three/examples/jsm/misc/MD2Character.d.ts +1 -1
  132. three/examples/jsm/misc/MD2CharacterComplex.d.ts +1 -1
  133. three/examples/jsm/misc/MorphAnimMesh.d.ts +1 -1
  134. three/examples/jsm/misc/MorphBlendMesh.d.ts +1 -1
  135. three/examples/jsm/misc/ProgressiveLightMap.d.ts +1 -1
  136. three/examples/jsm/misc/RollerCoaster.d.ts +1 -1
  137. three/examples/jsm/misc/TubePainter.d.ts +1 -1
  138. three/examples/jsm/misc/Volume.d.ts +3 -3
  139. three/examples/jsm/misc/VolumeSlice.d.ts +2 -2
  140. three/examples/jsm/modifiers/CurveModifier.d.ts +1 -1
  141. three/examples/jsm/modifiers/EdgeSplitModifier.d.ts +1 -1
  142. three/examples/jsm/modifiers/SimplifyModifier.d.ts +1 -1
  143. three/examples/jsm/modifiers/TessellateModifier.d.ts +1 -1
  144. three/examples/jsm/nodes/Nodes.d.ts +104 -105
  145. three/examples/jsm/nodes/accessors/BitangentNode.d.ts +1 -1
  146. three/examples/jsm/nodes/accessors/BufferNode.d.ts +2 -2
  147. three/examples/jsm/nodes/accessors/CameraNode.d.ts +1 -1
  148. three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +3 -3
  149. three/examples/jsm/nodes/accessors/InstanceNode.d.ts +2 -2
  150. three/examples/jsm/nodes/accessors/MaterialNode.d.ts +1 -1
  151. three/examples/jsm/nodes/accessors/MaterialReferenceNode.d.ts +2 -2
  152. three/examples/jsm/nodes/accessors/ModelNode.d.ts +2 -2
  153. three/examples/jsm/nodes/accessors/ModelViewProjectionNode.d.ts +3 -3
  154. three/examples/jsm/nodes/accessors/NormalNode.d.ts +1 -1
  155. three/examples/jsm/nodes/accessors/Object3DNode.d.ts +2 -2
  156. three/examples/jsm/nodes/accessors/PointUVNode.d.ts +1 -1
  157. three/examples/jsm/nodes/accessors/PositionNode.d.ts +1 -1
  158. three/examples/jsm/nodes/accessors/ReferenceNode.d.ts +2 -2
  159. three/examples/jsm/nodes/accessors/ReflectVectorNode.d.ts +1 -1
  160. three/examples/jsm/nodes/accessors/SkinningNode.d.ts +2 -2
  161. three/examples/jsm/nodes/accessors/StorageBufferNode.d.ts +2 -2
  162. three/examples/jsm/nodes/accessors/TextureNode.d.ts +3 -3
  163. three/examples/jsm/nodes/accessors/UVNode.d.ts +1 -1
  164. three/examples/jsm/nodes/accessors/UserDataNode.d.ts +2 -2
  165. three/examples/jsm/nodes/code/CodeNode.d.ts +2 -2
  166. three/examples/jsm/nodes/code/ExpressionNode.d.ts +2 -2
  167. three/examples/jsm/nodes/code/FunctionCallNode.d.ts +3 -3
  168. three/examples/jsm/nodes/code/FunctionNode.d.ts +6 -6
  169. three/examples/jsm/nodes/core/ArrayUniformNode.d.ts +2 -2
  170. three/examples/jsm/nodes/core/AttributeNode.d.ts +3 -3
  171. three/examples/jsm/nodes/core/BypassNode.d.ts +1 -1
  172. three/examples/jsm/nodes/core/CacheNode.d.ts +2 -2
  173. three/examples/jsm/nodes/core/ConstNode.d.ts +3 -3
  174. three/examples/jsm/nodes/core/ContextNode.d.ts +2 -2
  175. three/examples/jsm/nodes/core/InputNode.d.ts +3 -3
  176. three/examples/jsm/nodes/core/Node.d.ts +3 -3
  177. three/examples/jsm/nodes/core/NodeBuilder.d.ts +13 -13
  178. three/examples/jsm/nodes/core/NodeCache.d.ts +2 -2
  179. three/examples/jsm/nodes/core/NodeFrame.d.ts +2 -2
  180. three/examples/jsm/nodes/core/NodeFunction.d.ts +1 -1
  181. three/examples/jsm/nodes/core/NodeKeywords.d.ts +2 -2
  182. three/examples/jsm/nodes/core/NodeParser.d.ts +1 -1
  183. three/examples/jsm/nodes/core/NodeUniform.d.ts +2 -2
  184. three/examples/jsm/nodes/core/NodeUtils.d.ts +2 -2
  185. three/examples/jsm/nodes/core/NodeVarying.d.ts +1 -1
  186. three/examples/jsm/nodes/core/PropertyNode.d.ts +2 -2
  187. three/examples/jsm/nodes/core/StackNode.d.ts +1 -1
  188. three/examples/jsm/nodes/core/TempNode.d.ts +3 -3
  189. three/examples/jsm/nodes/core/UniformNode.d.ts +3 -3
  190. three/examples/jsm/nodes/core/VarNode.d.ts +2 -2
  191. three/examples/jsm/nodes/core/VaryingNode.d.ts +1 -1
  192. three/examples/jsm/nodes/core/constants.d.ts +1 -1
  193. three/examples/jsm/nodes/display/BlendModeNode.d.ts +3 -3
  194. three/examples/jsm/nodes/display/ColorAdjustmentNode.d.ts +2 -2
  195. three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +9 -6
  196. three/examples/jsm/nodes/display/FrontFacingNode.d.ts +1 -1
  197. three/examples/jsm/nodes/display/NormalMapNode.d.ts +3 -3
  198. three/examples/jsm/nodes/display/PosterizeNode.d.ts +1 -1
  199. three/examples/jsm/nodes/display/ToneMappingNode.d.ts +3 -3
  200. three/examples/jsm/nodes/display/ViewportNode.d.ts +1 -1
  201. three/examples/jsm/nodes/fog/FogExp2Node.d.ts +2 -2
  202. three/examples/jsm/nodes/fog/FogNode.d.ts +1 -1
  203. three/examples/jsm/nodes/fog/FogRangeNode.d.ts +2 -2
  204. three/examples/jsm/nodes/functions/BSDF/BRDF_GGX.d.ts +2 -2
  205. three/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.d.ts +2 -2
  206. three/examples/jsm/nodes/functions/BSDF/DFGApprox.d.ts +2 -2
  207. three/examples/jsm/nodes/functions/BSDF/D_GGX.d.ts +2 -2
  208. three/examples/jsm/nodes/functions/BSDF/F_Schlick.d.ts +2 -2
  209. three/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +2 -2
  210. three/examples/jsm/nodes/functions/PhysicalLightingModel.d.ts +2 -2
  211. three/examples/jsm/nodes/functions/material/getGeometryRoughness.d.ts +1 -1
  212. three/examples/jsm/nodes/functions/material/getRoughness.d.ts +2 -2
  213. three/examples/jsm/nodes/geometry/RangeNode.d.ts +3 -3
  214. three/examples/jsm/nodes/gpgpu/ComputeNode.d.ts +1 -1
  215. three/examples/jsm/nodes/lighting/AONode.d.ts +2 -2
  216. three/examples/jsm/nodes/lighting/AnalyticLightNode.d.ts +3 -3
  217. three/examples/jsm/nodes/lighting/EnvironmentNode.d.ts +2 -2
  218. three/examples/jsm/nodes/lighting/HemisphereLightNode.d.ts +4 -4
  219. three/examples/jsm/nodes/lighting/LightUtils.d.ts +2 -2
  220. three/examples/jsm/nodes/lighting/LightingContextNode.d.ts +3 -3
  221. three/examples/jsm/nodes/lighting/LightingNode.d.ts +1 -1
  222. three/examples/jsm/nodes/lighting/LightsNode.d.ts +3 -3
  223. three/examples/jsm/nodes/lighting/PointLightNode.d.ts +3 -3
  224. three/examples/jsm/nodes/lighting/SpotLightNode.d.ts +3 -3
  225. three/examples/jsm/nodes/loaders/NodeLoader.d.ts +2 -2
  226. three/examples/jsm/nodes/loaders/NodeMaterialLoader.d.ts +2 -2
  227. three/examples/jsm/nodes/loaders/NodeObjectLoader.d.ts +3 -3
  228. three/examples/jsm/nodes/materials/LineBasicNodeMaterial.d.ts +2 -2
  229. three/examples/jsm/nodes/materials/Materials.d.ts +7 -7
  230. three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +2 -2
  231. three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +3 -3
  232. three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +3 -3
  233. three/examples/jsm/nodes/materials/NodeMaterial.d.ts +4 -4
  234. three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +3 -3
  235. three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +4 -4
  236. three/examples/jsm/nodes/materialx/MaterialXNodes.d.ts +4 -4
  237. three/examples/jsm/nodes/materialx/lib/mx_hsv.d.ts +1 -1
  238. three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +1 -1
  239. three/examples/jsm/nodes/math/CondNode.d.ts +1 -1
  240. three/examples/jsm/nodes/math/MathNode.d.ts +2 -2
  241. three/examples/jsm/nodes/math/OperatorNode.d.ts +2 -2
  242. three/examples/jsm/nodes/procedural/CheckerNode.d.ts +1 -1
  243. three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +1 -1
  244. three/examples/jsm/nodes/shadernode/ShaderNodeBaseElements.d.ts +9 -11
  245. three/examples/jsm/nodes/shadernode/ShaderNodeElements.d.ts +16 -16
  246. three/examples/jsm/nodes/utils/ArrayElementNode.d.ts +2 -2
  247. three/examples/jsm/nodes/utils/ConvertNode.d.ts +2 -2
  248. three/examples/jsm/nodes/utils/EquirectUVNode.d.ts +2 -2
  249. three/examples/jsm/nodes/utils/JoinNode.d.ts +2 -2
  250. three/examples/jsm/nodes/utils/MatcapUVNode.d.ts +1 -1
  251. three/examples/jsm/nodes/utils/MaxMipLevelNode.d.ts +3 -3
  252. three/examples/jsm/nodes/utils/OscNode.d.ts +1 -1
  253. three/examples/jsm/nodes/utils/RemapNode.d.ts +1 -1
  254. three/examples/jsm/nodes/utils/RotateUVNode.d.ts +2 -2
  255. three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +1 -1
  256. three/examples/jsm/nodes/utils/SplitNode.d.ts +2 -2
  257. three/examples/jsm/nodes/utils/SpriteSheetUVNode.d.ts +1 -1
  258. three/examples/jsm/nodes/utils/TimerNode.d.ts +1 -1
  259. three/examples/jsm/nodes/utils/TriplanarTexturesNode.d.ts +2 -2
  260. three/examples/jsm/objects/GroundProjectedSkybox.d.ts +1 -1
  261. three/examples/jsm/objects/Lensflare.d.ts +1 -1
  262. three/examples/jsm/objects/MarchingCubes.d.ts +1 -1
  263. three/examples/jsm/objects/Reflector.d.ts +1 -1
  264. three/examples/jsm/objects/ReflectorForSSRPass.d.ts +1 -1
  265. three/examples/jsm/objects/Refractor.d.ts +1 -1
  266. three/examples/jsm/objects/ShadowMesh.d.ts +1 -1
  267. three/examples/jsm/objects/Sky.d.ts +1 -1
  268. three/examples/jsm/objects/Water.d.ts +9 -1
  269. three/examples/jsm/objects/Water2.d.ts +1 -1
  270. three/examples/jsm/physics/AmmoPhysics.d.ts +6 -5
  271. three/examples/jsm/physics/RapierPhysics.d.ts +11 -0
  272. three/examples/jsm/postprocessing/AfterimagePass.d.ts +2 -2
  273. three/examples/jsm/postprocessing/BloomPass.d.ts +2 -2
  274. three/examples/jsm/postprocessing/BokehPass.d.ts +2 -2
  275. three/examples/jsm/postprocessing/ClearPass.d.ts +2 -2
  276. three/examples/jsm/postprocessing/CubeTexturePass.d.ts +2 -2
  277. three/examples/jsm/postprocessing/DotScreenPass.d.ts +2 -2
  278. three/examples/jsm/postprocessing/EffectComposer.d.ts +4 -4
  279. three/examples/jsm/postprocessing/FilmPass.d.ts +3 -3
  280. three/examples/jsm/postprocessing/GlitchPass.d.ts +2 -2
  281. three/examples/jsm/postprocessing/HalftonePass.d.ts +2 -2
  282. three/examples/jsm/postprocessing/LUTPass.d.ts +2 -2
  283. three/examples/jsm/postprocessing/MaskPass.d.ts +2 -2
  284. three/examples/jsm/postprocessing/OutlinePass.d.ts +2 -2
  285. three/examples/jsm/postprocessing/OutputPass.d.ts +13 -0
  286. three/examples/jsm/postprocessing/Pass.d.ts +1 -1
  287. three/examples/jsm/postprocessing/RenderPass.d.ts +2 -2
  288. three/examples/jsm/postprocessing/RenderPixelatedPass.d.ts +2 -2
  289. three/examples/jsm/postprocessing/SAOPass.d.ts +2 -2
  290. three/examples/jsm/postprocessing/SMAAPass.d.ts +2 -2
  291. three/examples/jsm/postprocessing/SSAARenderPass.d.ts +2 -2
  292. three/examples/jsm/postprocessing/SSAOPass.d.ts +2 -2
  293. three/examples/jsm/postprocessing/SSRPass.d.ts +3 -3
  294. three/examples/jsm/postprocessing/SavePass.d.ts +2 -2
  295. three/examples/jsm/postprocessing/ShaderPass.d.ts +2 -2
  296. three/examples/jsm/postprocessing/TAARenderPass.d.ts +2 -2
  297. three/examples/jsm/postprocessing/TexturePass.d.ts +2 -2
  298. three/examples/jsm/postprocessing/UnrealBloomPass.d.ts +3 -3
  299. three/examples/jsm/renderers/CSS2DRenderer.d.ts +1 -1
  300. three/examples/jsm/renderers/CSS3DRenderer.d.ts +1 -1
  301. three/examples/jsm/renderers/Projector.d.ts +1 -1
  302. three/examples/jsm/renderers/SVGRenderer.d.ts +1 -1
  303. three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +1 -1
  304. three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +5 -5
  305. three/examples/jsm/renderers/webgl/nodes/WebGLNodes.d.ts +1 -1
  306. three/examples/jsm/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
  307. three/examples/jsm/shaders/AfterimageShader.d.ts +1 -1
  308. three/examples/jsm/shaders/BleachBypassShader.d.ts +1 -1
  309. three/examples/jsm/shaders/BlendShader.d.ts +1 -1
  310. three/examples/jsm/shaders/BokehShader.d.ts +1 -1
  311. three/examples/jsm/shaders/BokehShader2.d.ts +1 -1
  312. three/examples/jsm/shaders/BrightnessContrastShader.d.ts +1 -1
  313. three/examples/jsm/shaders/ColorCorrectionShader.d.ts +1 -1
  314. three/examples/jsm/shaders/ColorifyShader.d.ts +1 -1
  315. three/examples/jsm/shaders/ConvolutionShader.d.ts +1 -1
  316. three/examples/jsm/shaders/CopyShader.d.ts +1 -1
  317. three/examples/jsm/shaders/DOFMipMapShader.d.ts +1 -1
  318. three/examples/jsm/shaders/DepthLimitedBlurShader.d.ts +1 -1
  319. three/examples/jsm/shaders/DigitalGlitch.d.ts +1 -1
  320. three/examples/jsm/shaders/DotScreenShader.d.ts +1 -1
  321. three/examples/jsm/shaders/FXAAShader.d.ts +1 -1
  322. three/examples/jsm/shaders/FilmShader.d.ts +1 -1
  323. three/examples/jsm/shaders/FocusShader.d.ts +1 -1
  324. three/examples/jsm/shaders/FreiChenShader.d.ts +1 -1
  325. three/examples/jsm/shaders/GammaCorrectionShader.d.ts +1 -1
  326. three/examples/jsm/shaders/GodRaysShader.d.ts +1 -1
  327. three/examples/jsm/shaders/HalftoneShader.d.ts +1 -1
  328. three/examples/jsm/shaders/HorizontalBlurShader.d.ts +1 -1
  329. three/examples/jsm/shaders/HorizontalTiltShiftShader.d.ts +1 -1
  330. three/examples/jsm/shaders/HueSaturationShader.d.ts +1 -1
  331. three/examples/jsm/shaders/KaleidoShader.d.ts +1 -1
  332. three/examples/jsm/shaders/LuminosityHighPassShader.d.ts +1 -1
  333. three/examples/jsm/shaders/LuminosityShader.d.ts +1 -1
  334. three/examples/jsm/shaders/MirrorShader.d.ts +1 -1
  335. three/examples/jsm/shaders/NormalMapShader.d.ts +1 -1
  336. three/examples/jsm/shaders/OutputShader.d.ts +10 -0
  337. three/examples/jsm/shaders/RGBShiftShader.d.ts +1 -1
  338. three/examples/jsm/shaders/SAOShader.d.ts +1 -1
  339. three/examples/jsm/shaders/SMAAShader.d.ts +1 -1
  340. three/examples/jsm/shaders/SSAOShader.d.ts +1 -1
  341. three/examples/jsm/shaders/SSRShader.d.ts +1 -1
  342. three/examples/jsm/shaders/SepiaShader.d.ts +1 -1
  343. three/examples/jsm/shaders/SobelOperatorShader.d.ts +1 -1
  344. three/examples/jsm/shaders/SubsurfaceScatteringShader.d.ts +1 -1
  345. three/examples/jsm/shaders/TechnicolorShader.d.ts +1 -1
  346. three/examples/jsm/shaders/ToonShader.d.ts +1 -1
  347. three/examples/jsm/shaders/TriangleBlurShader.d.ts +1 -1
  348. three/examples/jsm/shaders/UnpackDepthRGBAShader.d.ts +1 -1
  349. three/examples/jsm/shaders/VelocityShader.d.ts +1 -1
  350. three/examples/jsm/shaders/VerticalBlurShader.d.ts +1 -1
  351. three/examples/jsm/shaders/VerticalTiltShiftShader.d.ts +1 -1
  352. three/examples/jsm/shaders/VignetteShader.d.ts +1 -1
  353. three/examples/jsm/shaders/VolumeShader.d.ts +1 -1
  354. three/examples/jsm/shaders/WaterRefractionShader.d.ts +1 -1
  355. three/examples/jsm/utils/BufferGeometryUtils.d.ts +1 -1
  356. three/examples/jsm/utils/CameraUtils.d.ts +1 -1
  357. three/examples/jsm/utils/GeometryCompressionUtils.d.ts +1 -1
  358. three/examples/jsm/utils/GeometryUtils.d.ts +1 -1
  359. three/examples/jsm/utils/LDrawUtils.d.ts +1 -1
  360. three/examples/jsm/utils/PackedPhongMaterial.d.ts +1 -1
  361. three/examples/jsm/utils/SceneUtils.d.ts +1 -1
  362. three/examples/jsm/utils/ShadowMapViewer.d.ts +1 -1
  363. three/examples/jsm/utils/SkeletonUtils.d.ts +1 -1
  364. three/examples/jsm/utils/UVsDebug.d.ts +2 -2
  365. three/examples/jsm/webxr/ARButton.d.ts +1 -1
  366. three/examples/jsm/webxr/OculusHandModel.d.ts +2 -2
  367. three/examples/jsm/webxr/OculusHandPointerModel.d.ts +2 -2
  368. three/examples/jsm/webxr/Text2D.d.ts +1 -1
  369. three/examples/jsm/webxr/VRButton.d.ts +1 -1
  370. three/examples/jsm/webxr/XRButton.d.ts +6 -0
  371. three/examples/jsm/webxr/XRControllerModelFactory.d.ts +2 -2
  372. three/examples/jsm/webxr/XREstimatedLight.d.ts +1 -1
  373. three/examples/jsm/webxr/XRHandMeshModel.d.ts +1 -1
  374. three/examples/jsm/webxr/XRHandModelFactory.d.ts +3 -3
  375. three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +2 -2
  376. three/index.d.ts +1 -1
  377. three/package.json +6 -4
  378. three/src/Three.d.ts +185 -185
  379. three/src/animation/AnimationAction.d.ts +4 -4
  380. three/src/animation/AnimationClip.d.ts +4 -4
  381. three/src/animation/AnimationMixer.d.ts +6 -6
  382. three/src/animation/AnimationUtils.d.ts +1 -1
  383. three/src/animation/KeyframeTrack.d.ts +5 -5
  384. three/src/animation/tracks/BooleanKeyframeTrack.d.ts +1 -1
  385. three/src/animation/tracks/ColorKeyframeTrack.d.ts +2 -2
  386. three/src/animation/tracks/NumberKeyframeTrack.d.ts +2 -2
  387. three/src/animation/tracks/QuaternionKeyframeTrack.d.ts +2 -2
  388. three/src/animation/tracks/StringKeyframeTrack.d.ts +2 -2
  389. three/src/animation/tracks/VectorKeyframeTrack.d.ts +2 -2
  390. three/src/audio/Audio.d.ts +5 -5
  391. three/src/audio/AudioAnalyser.d.ts +1 -1
  392. three/src/audio/AudioListener.d.ts +2 -2
  393. three/src/audio/PositionalAudio.d.ts +2 -2
  394. three/src/cameras/ArrayCamera.d.ts +1 -1
  395. three/src/cameras/Camera.d.ts +8 -5
  396. three/src/cameras/CubeCamera.d.ts +9 -4
  397. three/src/cameras/OrthographicCamera.d.ts +1 -1
  398. three/src/cameras/PerspectiveCamera.d.ts +1 -1
  399. three/src/cameras/StereoCamera.d.ts +2 -2
  400. three/src/constants.d.ts +26 -2
  401. three/src/core/BufferAttribute.d.ts +24 -5
  402. three/src/core/BufferGeometry.d.ts +10 -10
  403. three/src/core/InstancedBufferAttribute.d.ts +3 -4
  404. three/src/core/InstancedBufferGeometry.d.ts +1 -1
  405. three/src/core/InstancedInterleavedBuffer.d.ts +3 -2
  406. three/src/core/InterleavedBuffer.d.ts +5 -4
  407. three/src/core/InterleavedBufferAttribute.d.ts +5 -5
  408. three/src/core/Object3D.d.ts +15 -15
  409. three/src/core/Raycaster.d.ts +6 -6
  410. three/src/core/UniformsGroup.d.ts +3 -3
  411. three/src/extras/ImageUtils.d.ts +2 -2
  412. three/src/extras/PMREMGenerator.d.ts +5 -5
  413. three/src/extras/core/Curve.d.ts +2 -2
  414. three/src/extras/core/CurvePath.d.ts +2 -2
  415. three/src/extras/core/Path.d.ts +2 -2
  416. three/src/extras/core/Shape.d.ts +2 -2
  417. three/src/extras/core/ShapePath.d.ts +4 -4
  418. three/src/extras/curves/ArcCurve.d.ts +1 -1
  419. three/src/extras/curves/CatmullRomCurve3.d.ts +2 -2
  420. three/src/extras/curves/CubicBezierCurve.d.ts +2 -2
  421. three/src/extras/curves/CubicBezierCurve3.d.ts +2 -2
  422. three/src/extras/curves/Curves.d.ts +10 -10
  423. three/src/extras/curves/EllipseCurve.d.ts +2 -2
  424. three/src/extras/curves/LineCurve.d.ts +2 -2
  425. three/src/extras/curves/LineCurve3.d.ts +2 -2
  426. three/src/extras/curves/QuadraticBezierCurve.d.ts +2 -2
  427. three/src/extras/curves/QuadraticBezierCurve3.d.ts +2 -2
  428. three/src/extras/curves/SplineCurve.d.ts +2 -2
  429. three/src/geometries/BoxGeometry.d.ts +1 -1
  430. three/src/geometries/CapsuleGeometry.d.ts +1 -1
  431. three/src/geometries/CircleGeometry.d.ts +1 -1
  432. three/src/geometries/ConeGeometry.d.ts +1 -1
  433. three/src/geometries/CylinderGeometry.d.ts +1 -1
  434. three/src/geometries/DodecahedronGeometry.d.ts +1 -1
  435. three/src/geometries/EdgesGeometry.d.ts +1 -1
  436. three/src/geometries/ExtrudeGeometry.d.ts +5 -5
  437. three/src/geometries/Geometries.d.ts +21 -21
  438. three/src/geometries/IcosahedronGeometry.d.ts +1 -1
  439. three/src/geometries/LatheGeometry.d.ts +2 -2
  440. three/src/geometries/OctahedronGeometry.d.ts +1 -1
  441. three/src/geometries/PlaneGeometry.d.ts +1 -1
  442. three/src/geometries/PolyhedronGeometry.d.ts +1 -1
  443. three/src/geometries/RingGeometry.d.ts +1 -1
  444. three/src/geometries/ShapeGeometry.d.ts +2 -2
  445. three/src/geometries/SphereGeometry.d.ts +1 -1
  446. three/src/geometries/TetrahedronGeometry.d.ts +1 -1
  447. three/src/geometries/TorusGeometry.d.ts +1 -1
  448. three/src/geometries/TorusKnotGeometry.d.ts +1 -1
  449. three/src/geometries/TubeGeometry.d.ts +3 -3
  450. three/src/geometries/WireframeGeometry.d.ts +1 -1
  451. three/src/helpers/ArrowHelper.d.ts +5 -5
  452. three/src/helpers/AxesHelper.d.ts +2 -2
  453. three/src/helpers/Box3Helper.d.ts +3 -3
  454. three/src/helpers/BoxHelper.d.ts +3 -3
  455. three/src/helpers/CameraHelper.d.ts +4 -4
  456. three/src/helpers/DirectionalLightHelper.d.ts +5 -5
  457. three/src/helpers/GridHelper.d.ts +5 -3
  458. three/src/helpers/HemisphereLightHelper.d.ts +5 -5
  459. three/src/helpers/PlaneHelper.d.ts +2 -2
  460. three/src/helpers/PointLightHelper.d.ts +4 -4
  461. three/src/helpers/PolarGridHelper.d.ts +2 -2
  462. three/src/helpers/SkeletonHelper.d.ts +5 -5
  463. three/src/helpers/SpotLightHelper.d.ts +5 -5
  464. three/src/lights/AmbientLight.d.ts +2 -2
  465. three/src/lights/AmbientLightProbe.d.ts +2 -2
  466. three/src/lights/DirectionalLight.d.ts +6 -6
  467. three/src/lights/DirectionalLightShadow.d.ts +2 -2
  468. three/src/lights/HemisphereLight.d.ts +3 -3
  469. three/src/lights/HemisphereLightProbe.d.ts +2 -2
  470. three/src/lights/Light.d.ts +4 -4
  471. three/src/lights/LightProbe.d.ts +2 -2
  472. three/src/lights/LightShadow.d.ts +7 -7
  473. three/src/lights/PointLight.d.ts +7 -7
  474. three/src/lights/PointLightShadow.d.ts +3 -3
  475. three/src/lights/RectAreaLight.d.ts +4 -4
  476. three/src/lights/SpotLight.d.ts +11 -11
  477. three/src/lights/SpotLightShadow.d.ts +2 -2
  478. three/src/loaders/AnimationLoader.d.ts +3 -3
  479. three/src/loaders/AudioLoader.d.ts +2 -2
  480. three/src/loaders/BufferGeometryLoader.d.ts +4 -4
  481. three/src/loaders/CompressedTextureLoader.d.ts +3 -3
  482. three/src/loaders/CubeTextureLoader.d.ts +3 -3
  483. three/src/loaders/DataTextureLoader.d.ts +3 -3
  484. three/src/loaders/FileLoader.d.ts +2 -2
  485. three/src/loaders/ImageBitmapLoader.d.ts +2 -2
  486. three/src/loaders/ImageLoader.d.ts +2 -2
  487. three/src/loaders/Loader.d.ts +3 -1
  488. three/src/loaders/LoadingManager.d.ts +1 -1
  489. three/src/loaders/MaterialLoader.d.ts +4 -4
  490. three/src/loaders/ObjectLoader.d.ts +9 -9
  491. three/src/loaders/TextureLoader.d.ts +3 -3
  492. three/src/materials/LineBasicMaterial.d.ts +3 -3
  493. three/src/materials/LineDashedMaterial.d.ts +1 -1
  494. three/src/materials/Material.d.ts +8 -5
  495. three/src/materials/Materials.d.ts +18 -18
  496. three/src/materials/MeshBasicMaterial.d.ts +4 -4
  497. three/src/materials/MeshDepthMaterial.d.ts +3 -3
  498. three/src/materials/MeshDistanceMaterial.d.ts +3 -3
  499. three/src/materials/MeshLambertMaterial.d.ts +5 -5
  500. three/src/materials/MeshMatcapMaterial.d.ts +5 -5
  501. three/src/materials/MeshNormalMaterial.d.ts +4 -4
  502. three/src/materials/MeshPhongMaterial.d.ts +5 -5
  503. three/src/materials/MeshPhysicalMaterial.d.ts +23 -4
  504. three/src/materials/MeshStandardMaterial.d.ts +5 -5
  505. three/src/materials/MeshToonMaterial.d.ts +5 -5
  506. three/src/materials/PointsMaterial.d.ts +3 -3
  507. three/src/materials/RawShaderMaterial.d.ts +1 -1
  508. three/src/materials/ShaderMaterial.d.ts +9 -3
  509. three/src/materials/ShadowMaterial.d.ts +2 -2
  510. three/src/materials/SpriteMaterial.d.ts +3 -3
  511. three/src/math/Box2.d.ts +1 -1
  512. three/src/math/Box3.d.ts +7 -7
  513. three/src/math/Color.d.ts +8 -7
  514. three/src/math/ColorManagement.d.ts +2 -2
  515. three/src/math/Cylindrical.d.ts +1 -1
  516. three/src/math/Euler.d.ts +3 -3
  517. three/src/math/Frustum.d.ts +9 -8
  518. three/src/math/Line3.d.ts +2 -2
  519. three/src/math/MathUtils.d.ts +66 -45
  520. three/src/math/Matrix3.d.ts +18 -3
  521. three/src/math/Matrix4.d.ts +49 -12
  522. three/src/math/Plane.d.ts +6 -6
  523. three/src/math/Quaternion.d.ts +5 -5
  524. three/src/math/Ray.d.ts +5 -5
  525. three/src/math/Sphere.d.ts +4 -4
  526. three/src/math/Spherical.d.ts +1 -1
  527. three/src/math/SphericalHarmonics3.d.ts +1 -1
  528. three/src/math/Triangle.d.ts +7 -7
  529. three/src/math/Vector2.d.ts +7 -2
  530. three/src/math/Vector3.d.ts +16 -11
  531. three/src/math/Vector4.d.ts +9 -4
  532. three/src/math/interpolants/CubicInterpolant.d.ts +1 -1
  533. three/src/math/interpolants/DiscreteInterpolant.d.ts +1 -1
  534. three/src/math/interpolants/LinearInterpolant.d.ts +1 -1
  535. three/src/math/interpolants/QuaternionLinearInterpolant.d.ts +1 -1
  536. three/src/objects/Bone.d.ts +1 -1
  537. three/src/objects/Group.d.ts +1 -1
  538. three/src/objects/InstancedMesh.d.ts +8 -8
  539. three/src/objects/LOD.d.ts +4 -4
  540. three/src/objects/Line.d.ts +5 -5
  541. three/src/objects/LineLoop.d.ts +3 -3
  542. three/src/objects/LineSegments.d.ts +3 -3
  543. three/src/objects/Mesh.d.ts +6 -6
  544. three/src/objects/Points.d.ts +6 -6
  545. three/src/objects/Skeleton.d.ts +3 -3
  546. three/src/objects/SkinnedMesh.d.ts +8 -8
  547. three/src/objects/Sprite.d.ts +6 -6
  548. three/src/renderers/WebGL1Renderer.d.ts +1 -1
  549. three/src/renderers/WebGL3DRenderTarget.d.ts +2 -2
  550. three/src/renderers/WebGLArrayRenderTarget.d.ts +2 -2
  551. three/src/renderers/WebGLCubeRenderTarget.d.ts +4 -4
  552. three/src/renderers/WebGLMultipleRenderTargets.d.ts +4 -18
  553. three/src/renderers/WebGLRenderTarget.d.ts +13 -55
  554. three/src/renderers/WebGLRenderer.d.ts +34 -25
  555. three/src/renderers/shaders/ShaderChunk.d.ts +5 -3
  556. three/src/renderers/shaders/ShaderLib.d.ts +1 -1
  557. three/src/renderers/shaders/UniformsLib.d.ts +3 -3
  558. three/src/renderers/shaders/UniformsUtils.d.ts +1 -1
  559. three/src/renderers/webgl/WebGLAttributes.d.ts +4 -4
  560. three/src/renderers/webgl/WebGLBindingStates.d.ts +8 -8
  561. three/src/renderers/webgl/WebGLBufferRenderer.d.ts +3 -3
  562. three/src/renderers/webgl/WebGLClipping.d.ts +4 -4
  563. three/src/renderers/webgl/WebGLCubeMaps.d.ts +1 -1
  564. three/src/renderers/webgl/WebGLCubeUVMaps.d.ts +1 -1
  565. three/src/renderers/webgl/WebGLExtensions.d.ts +1 -1
  566. three/src/renderers/webgl/WebGLGeometries.d.ts +5 -5
  567. three/src/renderers/webgl/WebGLInfo.d.ts +1 -1
  568. three/src/renderers/webgl/WebGLLights.d.ts +2 -2
  569. three/src/renderers/webgl/WebGLProgram.d.ts +3 -3
  570. three/src/renderers/webgl/WebGLPrograms.d.ts +9 -9
  571. three/src/renderers/webgl/WebGLRenderLists.d.ts +8 -8
  572. three/src/renderers/webgl/WebGLShadowMap.d.ts +7 -7
  573. three/src/renderers/webgl/WebGLState.d.ts +5 -5
  574. three/src/renderers/webgl/WebGLTextures.d.ts +6 -6
  575. three/src/renderers/webgl/WebGLUniforms.d.ts +2 -2
  576. three/src/renderers/webgl/WebGLUniformsGroups.d.ts +5 -5
  577. three/src/renderers/webgl/WebGLUtils.d.ts +1 -1
  578. three/src/renderers/webxr/WebXRController.d.ts +2 -2
  579. three/src/renderers/webxr/WebXRManager.d.ts +21 -10
  580. three/src/scenes/Fog.d.ts +1 -1
  581. three/src/scenes/FogExp2.d.ts +2 -2
  582. three/src/scenes/Scene.d.ts +6 -6
  583. three/src/textures/CanvasTexture.d.ts +2 -2
  584. three/src/textures/CompressedArrayTexture.d.ts +1 -1
  585. three/src/textures/CompressedTexture.d.ts +2 -2
  586. three/src/textures/CubeTexture.d.ts +2 -2
  587. three/src/textures/Data3DTexture.d.ts +3 -3
  588. three/src/textures/DataArrayTexture.d.ts +3 -3
  589. three/src/textures/DataTexture.d.ts +3 -3
  590. three/src/textures/DepthTexture.d.ts +11 -2
  591. three/src/textures/FramebufferTexture.d.ts +3 -4
  592. three/src/textures/Source.d.ts +2 -0
  593. three/src/textures/Texture.d.ts +5 -5
  594. three/src/textures/VideoTexture.d.ts +2 -2
  595. three/examples/jsm/exporters/ColladaExporter.d.ts +0 -22
  596. three/examples/jsm/geometries/LightningStrike.d.ts +0 -108
  597. three/examples/jsm/loaders/PRWMLoader.d.ts +0 -16
  598. three/examples/jsm/nodes/core/InstanceIndexNode.d.ts +0 -6
  599. three/examples/jsm/objects/LightningStorm.d.ts +0 -32
  600. three/examples/jsm/postprocessing/AdaptiveToneMappingPass.d.ts +0 -29
  601. three/examples/jsm/shaders/ToneMapShader.d.ts +0 -14
@@ -1,4 +1,4 @@
1
- import { BufferGeometry, Material, Mesh } from '../../../src/Three';
1
+ import { BufferGeometry, Material, Mesh } from '../../../src/Three.js';
2
2
 
3
3
  export class MorphBlendMesh extends Mesh {
4
4
  constructor(geometry: BufferGeometry, material: Material);
@@ -11,7 +11,7 @@ import {
11
11
  WebGLRenderer,
12
12
  Scene,
13
13
  WebGLRenderTarget,
14
- } from './../../../src/Three';
14
+ } from './../../../src/Three.js';
15
15
 
16
16
  export interface UVBoxes {
17
17
  w: number;
@@ -1,4 +1,4 @@
1
- import { BufferGeometry, Curve, Mesh, Vector3 } from '../../../src/Three';
1
+ import { BufferGeometry, Curve, Mesh, Vector3 } from '../../../src/Three.js';
2
2
 
3
3
  export class RollerCoasterGeometry extends BufferGeometry {
4
4
  constructor(curve: Curve<Vector3>, divisions: number);
@@ -1,4 +1,4 @@
1
- import { Matrix4, Mesh, Vector3 } from '../../../src/Three';
1
+ import { Matrix4, Mesh, Vector3 } from '../../../src/Three.js';
2
2
 
3
3
  export class TubePainter {
4
4
  constructor();
@@ -1,6 +1,6 @@
1
- import { Matrix3 } from '../../../src/Three';
1
+ import { Matrix3, TypedArray } from '../../../src/Three.js';
2
2
 
3
- import { VolumeSlice } from './VolumeSlice';
3
+ import { VolumeSlice } from './VolumeSlice.js';
4
4
 
5
5
  export class Volume {
6
6
  constructor(xLength?: number, yLength?: number, zLength?: number, type?: string, arrayBuffer?: ArrayLike<number>);
@@ -11,7 +11,7 @@ export class Volume {
11
11
 
12
12
  axisOrder: Array<'x' | 'y' | 'z'>;
13
13
 
14
- data: ArrayLike<number>;
14
+ data: TypedArray;
15
15
 
16
16
  spacing: number[];
17
17
  offset: number[];
@@ -1,6 +1,6 @@
1
- import { Matrix3, Mesh } from '../../../src/Three';
1
+ import { Matrix3, Mesh } from '../../../src/Three.js';
2
2
 
3
- import { Volume } from './Volume';
3
+ import { Volume } from './Volume.js';
4
4
 
5
5
  export class VolumeSlice {
6
6
  constructor(volume: Volume, index?: number, axis?: string);
@@ -7,7 +7,7 @@ import {
7
7
  BufferGeometry,
8
8
  Mesh,
9
9
  Vector3,
10
- } from '../../../src/Three';
10
+ } from '../../../src/Three.js';
11
11
 
12
12
  export interface SplineUniform {
13
13
  spineTexture: IUniform;
@@ -1,4 +1,4 @@
1
- import { BufferGeometry } from '../../../src/Three';
1
+ import { BufferGeometry } from '../../../src/Three.js';
2
2
 
3
3
  export class EdgeSplitModifier {
4
4
  constructor();
@@ -1,4 +1,4 @@
1
- import { BufferGeometry } from '../../../src/Three';
1
+ import { BufferGeometry } from '../../../src/Three.js';
2
2
 
3
3
  export class SimplifyModifier {
4
4
  constructor();
@@ -1,4 +1,4 @@
1
- import { BufferGeometry } from '../../../src/Three';
1
+ import { BufferGeometry } from '../../../src/Three.js';
2
2
 
3
3
  export class TessellateModifier {
4
4
  constructor(maxEdgeLength?: number, maxIterations?: number);
@@ -1,31 +1,30 @@
1
1
  // constants
2
- export * from './core/constants';
2
+ export * from './core/constants.js';
3
3
 
4
4
  // core
5
- export { default as ArrayUniformNode } from './core/ArrayUniformNode';
6
- export { default as AttributeNode } from './core/AttributeNode';
7
- export { default as BypassNode } from './core/BypassNode';
8
- export { default as CacheNode } from './core/CacheNode';
9
- export { default as ConstNode } from './core/ConstNode';
10
- export { default as ContextNode } from './core/ContextNode';
11
- export { default as InstanceIndexNode } from './core/InstanceIndexNode';
12
- export { default as Node } from './core/Node';
13
- export { default as NodeAttribute } from './core/NodeAttribute';
14
- export { default as NodeBuilder } from './core/NodeBuilder';
15
- export { default as NodeCache } from './core/NodeCache';
16
- export { default as NodeCode } from './core/NodeCode';
17
- export { default as NodeFrame } from './core/NodeFrame';
18
- export { default as NodeFunctionInput } from './core/NodeFunctionInput';
19
- export { default as NodeKeywords } from './core/NodeKeywords';
20
- export { default as NodeUniform } from './core/NodeUniform';
21
- export { default as NodeVar } from './core/NodeVar';
22
- export { default as NodeVarying } from './core/NodeVarying';
23
- export { default as PropertyNode } from './core/PropertyNode';
24
- export { default as StackNode } from './core/StackNode';
25
- export { default as TempNode } from './core/TempNode';
26
- export { default as UniformNode } from './core/UniformNode';
27
- export { default as VarNode } from './core/VarNode';
28
- export { default as VaryingNode } from './core/VaryingNode';
5
+ export { default as ArrayUniformNode } from './core/ArrayUniformNode.js';
6
+ export { default as AttributeNode } from './core/AttributeNode.js';
7
+ export { default as BypassNode } from './core/BypassNode.js';
8
+ export { default as CacheNode } from './core/CacheNode.js';
9
+ export { default as ConstNode } from './core/ConstNode.js';
10
+ export { default as ContextNode } from './core/ContextNode.js';
11
+ export { default as Node } from './core/Node.js';
12
+ export { default as NodeAttribute } from './core/NodeAttribute.js';
13
+ export { default as NodeBuilder } from './core/NodeBuilder.js';
14
+ export { default as NodeCache } from './core/NodeCache.js';
15
+ export { default as NodeCode } from './core/NodeCode.js';
16
+ export { default as NodeFrame } from './core/NodeFrame.js';
17
+ export { default as NodeFunctionInput } from './core/NodeFunctionInput.js';
18
+ export { default as NodeKeywords } from './core/NodeKeywords.js';
19
+ export { default as NodeUniform } from './core/NodeUniform.js';
20
+ export { default as NodeVar } from './core/NodeVar.js';
21
+ export { default as NodeVarying } from './core/NodeVarying.js';
22
+ export { default as PropertyNode } from './core/PropertyNode.js';
23
+ export { default as StackNode } from './core/StackNode.js';
24
+ export { default as TempNode } from './core/TempNode.js';
25
+ export { default as UniformNode } from './core/UniformNode.js';
26
+ export { default as VarNode } from './core/VarNode.js';
27
+ export { default as VaryingNode } from './core/VaryingNode.js';
29
28
 
30
29
  import * as NodeUtils from './core/NodeUtils.js';
31
30
  export { NodeUtils };
@@ -37,114 +36,114 @@ export {
37
36
  MathNodeMethod2,
38
37
  MathNodeMethod3,
39
38
  MathNodeMethod,
40
- } from './math/MathNode';
41
- export { default as OperatorNode, OperatorNodeOp } from './math/OperatorNode';
42
- export { default as CondNode } from './math/CondNode';
39
+ } from './math/MathNode.js';
40
+ export { default as OperatorNode, OperatorNodeOp } from './math/OperatorNode.js';
41
+ export { default as CondNode } from './math/CondNode.js';
43
42
 
44
43
  // utils
45
- export { default as ArrayElementNode } from './utils/ArrayElementNode';
46
- export { default as ConvertNode } from './utils/ConvertNode';
47
- export { default as EquirectUVNode } from './utils/EquirectUVNode';
48
- export { default as JoinNode } from './utils/JoinNode';
49
- export { default as MatcapUVNode } from './utils/MatcapUVNode';
50
- export { default as MaxMipLevelNode } from './utils/MaxMipLevelNode';
51
- export { default as OscNode, OscNodeMethod } from './utils/OscNode';
52
- export { default as RemapNode } from './utils/RemapNode';
53
- export { default as RotateUVNode } from './utils/RotateUVNode';
54
- export { default as SpecularMIPLevelNode } from './utils/SpecularMIPLevelNode';
55
- export { default as SplitNode } from './utils/SplitNode';
56
- export { default as SpriteSheetUVNode } from './utils/SpriteSheetUVNode';
57
- export { default as TimerNode, TimerNodeScope } from './utils/TimerNode';
58
- export { default as TriplanarTexturesNode } from './utils/TriplanarTexturesNode';
44
+ export { default as ArrayElementNode } from './utils/ArrayElementNode.js';
45
+ export { default as ConvertNode } from './utils/ConvertNode.js';
46
+ export { default as EquirectUVNode } from './utils/EquirectUVNode.js';
47
+ export { default as JoinNode } from './utils/JoinNode.js';
48
+ export { default as MatcapUVNode } from './utils/MatcapUVNode.js';
49
+ export { default as MaxMipLevelNode } from './utils/MaxMipLevelNode.js';
50
+ export { default as OscNode, OscNodeMethod } from './utils/OscNode.js';
51
+ export { default as RemapNode } from './utils/RemapNode.js';
52
+ export { default as RotateUVNode } from './utils/RotateUVNode.js';
53
+ export { default as SpecularMIPLevelNode } from './utils/SpecularMIPLevelNode.js';
54
+ export { default as SplitNode } from './utils/SplitNode.js';
55
+ export { default as SpriteSheetUVNode } from './utils/SpriteSheetUVNode.js';
56
+ export { default as TimerNode, TimerNodeScope } from './utils/TimerNode.js';
57
+ export { default as TriplanarTexturesNode } from './utils/TriplanarTexturesNode.js';
59
58
 
60
59
  // shader node
61
- export * from './shadernode/ShaderNodeElements';
60
+ export * from './shadernode/ShaderNodeElements.js';
62
61
 
63
62
  // accessors
64
- export { default as BitangentNode, BitangentNodeScope } from './accessors/BitangentNode';
65
- export { default as BufferNode } from './accessors/BufferNode';
66
- export { default as CameraNode, CameraNodeScope } from './accessors/CameraNode';
67
- export { default as CubeTextureNode } from './accessors/CubeTextureNode';
68
- export { default as InstanceNode } from './accessors/InstanceNode';
69
- export { default as MaterialNode, MaterialNodeScope } from './accessors/MaterialNode';
70
- export { default as MaterialReferenceNode } from './accessors/MaterialReferenceNode';
71
- export { default as ModelNode } from './accessors/ModelNode';
72
- export { default as ModelViewProjectionNode } from './accessors/ModelViewProjectionNode';
73
- export { default as NormalNode, NormalNodeScope } from './accessors/NormalNode';
74
- export { default as Object3DNode, Object3DNodeScope as OObject3DNodeScope } from './accessors/Object3DNode';
75
- export { default as PointUVNode } from './accessors/PointUVNode';
76
- export { default as PositionNode, PositionNodeScope } from './accessors/PositionNode';
77
- export { default as ReferenceNode } from './accessors/ReferenceNode';
78
- export { default as ReflectVectorNode } from './accessors/ReflectVectorNode';
79
- export { default as SkinningNode } from './accessors/SkinningNode';
80
- export { default as TangentNode, TangentNodeScope } from './accessors/TangentNode';
81
- export { default as TextureNode } from './accessors/TextureNode';
82
- export { default as UVNode } from './accessors/UVNode';
83
- export { default as UserDataNode } from './accessors/UserDataNode';
63
+ export { default as BitangentNode, BitangentNodeScope } from './accessors/BitangentNode.js';
64
+ export { default as BufferNode } from './accessors/BufferNode.js';
65
+ export { default as CameraNode, CameraNodeScope } from './accessors/CameraNode.js';
66
+ export { default as CubeTextureNode } from './accessors/CubeTextureNode.js';
67
+ export { default as InstanceNode } from './accessors/InstanceNode.js';
68
+ export { default as MaterialNode, MaterialNodeScope } from './accessors/MaterialNode.js';
69
+ export { default as MaterialReferenceNode } from './accessors/MaterialReferenceNode.js';
70
+ export { default as ModelNode } from './accessors/ModelNode.js';
71
+ export { default as ModelViewProjectionNode } from './accessors/ModelViewProjectionNode.js';
72
+ export { default as NormalNode, NormalNodeScope } from './accessors/NormalNode.js';
73
+ export { default as Object3DNode, Object3DNodeScope as OObject3DNodeScope } from './accessors/Object3DNode.js';
74
+ export { default as PointUVNode } from './accessors/PointUVNode.js';
75
+ export { default as PositionNode, PositionNodeScope } from './accessors/PositionNode.js';
76
+ export { default as ReferenceNode } from './accessors/ReferenceNode.js';
77
+ export { default as ReflectVectorNode } from './accessors/ReflectVectorNode.js';
78
+ export { default as SkinningNode } from './accessors/SkinningNode.js';
79
+ export { default as TangentNode, TangentNodeScope } from './accessors/TangentNode.js';
80
+ export { default as TextureNode } from './accessors/TextureNode.js';
81
+ export { default as UVNode } from './accessors/UVNode.js';
82
+ export { default as UserDataNode } from './accessors/UserDataNode.js';
84
83
 
85
84
  // display
86
- export { default as BlendModeNode, BlendMode } from './display/BlendModeNode';
87
- export { default as ColorAdjustmentNode, ColorAdjustmentMethod } from './display/ColorAdjustmentNode';
88
- export { default as ColorSpaceNode, ColorSpaceNodeMethod } from './display/ColorSpaceNode';
89
- export { default as FrontFacingNode } from './display/FrontFacingNode';
90
- export { default as NormalMapNode } from './display/NormalMapNode';
91
- export { default as PosterizeNode } from './display/PosterizeNode';
92
- export { default as ToneMappingNode } from './display/ToneMappingNode';
93
- export { default as ViewportNode } from './display/ViewportNode';
85
+ export { default as BlendModeNode, BlendMode } from './display/BlendModeNode.js';
86
+ export { default as ColorAdjustmentNode, ColorAdjustmentMethod } from './display/ColorAdjustmentNode.js';
87
+ export { default as ColorSpaceNode, ColorSpaceNodeMethod } from './display/ColorSpaceNode.js';
88
+ export { default as FrontFacingNode } from './display/FrontFacingNode.js';
89
+ export { default as NormalMapNode } from './display/NormalMapNode.js';
90
+ export { default as PosterizeNode } from './display/PosterizeNode.js';
91
+ export { default as ToneMappingNode } from './display/ToneMappingNode.js';
92
+ export { default as ViewportNode } from './display/ViewportNode.js';
94
93
 
95
94
  // code
96
- export { default as ExpressionNode } from './code/ExpressionNode';
97
- export { default as CodeNode, CodeNodeInclude } from './code/CodeNode';
98
- export { default as FunctionCallNode } from './code/FunctionCallNode';
99
- export { default as FunctionNode, FunctionNodeArguments } from './code/FunctionNode';
95
+ export { default as ExpressionNode } from './code/ExpressionNode.js';
96
+ export { default as CodeNode, CodeNodeInclude } from './code/CodeNode.js';
97
+ export { default as FunctionCallNode } from './code/FunctionCallNode.js';
98
+ export { default as FunctionNode, FunctionNodeArguments } from './code/FunctionNode.js';
100
99
 
101
100
  // fog
102
- export { default as FogNode } from './fog/FogNode';
103
- export { default as FogRangeNode } from './fog/FogRangeNode';
104
- export { default as FogExp2Node } from './fog/FogExp2Node';
101
+ export { default as FogNode } from './fog/FogNode.js';
102
+ export { default as FogRangeNode } from './fog/FogRangeNode.js';
103
+ export { default as FogExp2Node } from './fog/FogExp2Node.js';
105
104
 
106
105
  // geometry
107
- export { default as RangeNode, RangeModeBound } from './geometry/RangeNode';
106
+ export { default as RangeNode, RangeModeBound } from './geometry/RangeNode.js';
108
107
 
109
108
  // gpgpu
110
- export { default as ComputeNode } from './gpgpu/ComputeNode';
109
+ export { default as ComputeNode } from './gpgpu/ComputeNode.js';
111
110
 
112
111
  // lighting
113
- export { default as PointLightNode } from './lighting/PointLightNode';
114
- export { default as SpotLightNode } from './lighting/SpotLightNode';
115
- export { default as LightsNode } from './lighting/LightsNode';
116
- export { default as LightingNode } from './lighting/LightingNode';
117
- export { default as LightingContextNode, LightingModelNode } from './lighting/LightingContextNode';
118
- export { default as HemisphereLightNode } from './lighting/HemisphereLightNode';
119
- export { default as EnvironmentNode } from './lighting/EnvironmentNode';
120
- export { default as AONode } from './lighting/AONode';
121
- export { default as AnalyticLightNode } from './lighting/AnalyticLightNode';
112
+ export { default as PointLightNode } from './lighting/PointLightNode.js';
113
+ export { default as SpotLightNode } from './lighting/SpotLightNode.js';
114
+ export { default as LightsNode } from './lighting/LightsNode.js';
115
+ export { default as LightingNode } from './lighting/LightingNode.js';
116
+ export { default as LightingContextNode, LightingModelNode } from './lighting/LightingContextNode.js';
117
+ export { default as HemisphereLightNode } from './lighting/HemisphereLightNode.js';
118
+ export { default as EnvironmentNode } from './lighting/EnvironmentNode.js';
119
+ export { default as AONode } from './lighting/AONode.js';
120
+ export { default as AnalyticLightNode } from './lighting/AnalyticLightNode.js';
122
121
 
123
122
  // procedural
124
- export { default as CheckerNode } from './procedural/CheckerNode';
123
+ export { default as CheckerNode } from './procedural/CheckerNode.js';
125
124
 
126
125
  // loaders
127
- export { default as NodeLoader } from './loaders/NodeLoader';
128
- export { default as NodeObjectLoader } from './loaders/NodeObjectLoader';
129
- export { default as NodeMaterialLoader } from './loaders/NodeMaterialLoader';
126
+ export { default as NodeLoader } from './loaders/NodeLoader.js';
127
+ export { default as NodeObjectLoader } from './loaders/NodeObjectLoader.js';
128
+ export { default as NodeMaterialLoader } from './loaders/NodeMaterialLoader.js';
130
129
 
131
130
  // materials
132
- export * from './materials/Materials';
131
+ export * from './materials/Materials.js';
133
132
 
134
133
  // materialX
135
- export * from './materialx/MaterialXNodes';
134
+ export * from './materialx/MaterialXNodes.js';
136
135
 
137
136
  // functions
138
- export { default as BRDF_GGX } from './functions/BSDF/BRDF_GGX';
139
- export { default as BRDF_Lambert } from './functions/BSDF/BRDF_Lambert';
140
- export { default as D_GGX } from './functions/BSDF/D_GGX';
141
- export { default as DFGApprox } from './functions/BSDF/DFGApprox';
142
- export { default as F_Schlick } from './functions/BSDF/F_Schlick';
143
- export { default as V_GGX_SmithCorrelated } from './functions/BSDF/V_GGX_SmithCorrelated';
137
+ export { default as BRDF_GGX } from './functions/BSDF/BRDF_GGX.js';
138
+ export { default as BRDF_Lambert } from './functions/BSDF/BRDF_Lambert.js';
139
+ export { default as D_GGX } from './functions/BSDF/D_GGX.js';
140
+ export { default as DFGApprox } from './functions/BSDF/DFGApprox.js';
141
+ export { default as F_Schlick } from './functions/BSDF/F_Schlick.js';
142
+ export { default as V_GGX_SmithCorrelated } from './functions/BSDF/V_GGX_SmithCorrelated.js';
144
143
 
145
- export { getDistanceAttenuation } from './lighting/LightUtils';
144
+ export { getDistanceAttenuation } from './lighting/LightUtils.js';
146
145
 
147
- export { default as getGeometryRoughness } from './functions/material/getGeometryRoughness';
148
- export { default as getRoughness } from './functions/material/getRoughness';
146
+ export { default as getGeometryRoughness } from './functions/material/getGeometryRoughness.js';
147
+ export { default as getRoughness } from './functions/material/getRoughness.js';
149
148
 
150
- export { default as physicalLightingModel } from './functions/PhysicalLightingModel';
149
+ export { default as physicalLightingModel } from './functions/PhysicalLightingModel.js';
@@ -1,4 +1,4 @@
1
- import Node from '../core/Node';
1
+ import Node from '../core/Node.js';
2
2
 
3
3
  export type BitangentNodeScope =
4
4
  | typeof BitangentNode.LOCAL
@@ -1,5 +1,5 @@
1
- import { NodeTypeOption } from '../core/constants';
2
- import UniformNode from '../core/UniformNode';
1
+ import { NodeTypeOption } from '../core/constants.js';
2
+ import UniformNode from '../core/UniformNode.js';
3
3
 
4
4
  export default class BufferNode extends UniformNode {
5
5
  isBufferNode: true;
@@ -1,4 +1,4 @@
1
- import Object3DNode, { Object3DNodeScope } from './Object3DNode';
1
+ import Object3DNode, { Object3DNodeScope } from './Object3DNode.js';
2
2
 
3
3
  export type CameraNodeScope = Object3DNodeScope | typeof CameraNode.PROJECTION_MATRIX;
4
4
 
@@ -1,6 +1,6 @@
1
- import TextureNode from './TextureNode';
2
- import { Node } from '../Nodes';
3
- import { CubeTexture } from '../../../../src/Three';
1
+ import TextureNode from './TextureNode.js';
2
+ import { Node } from '../Nodes.js';
3
+ import { CubeTexture } from '../../../../src/Three.js';
4
4
 
5
5
  export default class CubeTextureNode extends TextureNode {
6
6
  isCubeTextureNode: boolean;
@@ -1,5 +1,5 @@
1
- import { InstancedMesh } from '../../../../src/Three';
2
- import Node from '../core/Node';
1
+ import { InstancedMesh } from '../../../../src/Three.js';
2
+ import Node from '../core/Node.js';
3
3
 
4
4
  export default class InstanceNode extends Node {
5
5
  instanceMesh: InstancedMesh;
@@ -1,4 +1,4 @@
1
- import Node from '../core/Node';
1
+ import Node from '../core/Node.js';
2
2
 
3
3
  export type MaterialNodeScope =
4
4
  | typeof MaterialNode.ALPHA_TEST
@@ -1,5 +1,5 @@
1
- import { Material } from '../../../../src/Three';
2
- import ReferenceNode from './ReferenceNode';
1
+ import { Material } from '../../../../src/Three.js';
2
+ import ReferenceNode from './ReferenceNode.js';
3
3
 
4
4
  export default class MaterialReferenceNode extends ReferenceNode<Material | null> {
5
5
  constructor(property: string, inputType: string, material?: Material | null);
@@ -1,5 +1,5 @@
1
- import { NodeFrame } from '../Nodes';
2
- import Object3DNode, { Object3DNodeScope } from './Object3DNode';
1
+ import { NodeFrame } from '../Nodes.js';
2
+ import Object3DNode, { Object3DNodeScope } from './Object3DNode.js';
3
3
 
4
4
  /**
5
5
  * Similar to {@link Object3DNode} but the object comes from {@link NodeFrame}
@@ -1,6 +1,6 @@
1
- import Node from '../core/Node';
2
- import PositionNode from './PositionNode';
1
+ import Node from '../core/Node.js';
2
+ import PositionNode from './PositionNode.js';
3
3
 
4
4
  export default class ModelViewProjectionNode extends Node {
5
- constructor(position?: PositionNode);
5
+ constructor(positionNode?: PositionNode);
6
6
  }
@@ -1,4 +1,4 @@
1
- import Node from '../core/Node';
1
+ import Node from '../core/Node.js';
2
2
 
3
3
  export type NormalNodeScope = typeof NormalNode.GEOMETRY | typeof NormalNode.LOCAL | typeof NormalNode.VIEW;
4
4
 
@@ -1,5 +1,5 @@
1
- import { Object3D } from '../../../../src/Three';
2
- import Node from '../core/Node';
1
+ import { Object3D } from '../../../../src/Three.js';
2
+ import Node from '../core/Node.js';
3
3
 
4
4
  export type Object3DNodeScope =
5
5
  | typeof Object3DNode.VIEW_MATRIX
@@ -1,4 +1,4 @@
1
- import Node from '../core/Node';
1
+ import Node from '../core/Node.js';
2
2
 
3
3
  export default class PointUVNode extends Node {
4
4
  isPointUVNode: true;
@@ -1,4 +1,4 @@
1
- import Node from '../core/Node';
1
+ import Node from '../core/Node.js';
2
2
 
3
3
  export type PositionNodeScope =
4
4
  | typeof PositionNode.GEOMETRY
@@ -1,5 +1,5 @@
1
- import Node from '../core/Node';
2
- import { NodeTypeOption } from '../Nodes';
1
+ import Node from '../core/Node.js';
2
+ import { NodeTypeOption } from '../Nodes.js';
3
3
 
4
4
  export default class ReferenceNode<T> extends Node {
5
5
  object: T;
@@ -1,4 +1,4 @@
1
- import Node from '../core/Node';
1
+ import Node from '../core/Node.js';
2
2
 
3
3
  export default class ReflectVectorNode extends Node {
4
4
  constructor();
@@ -1,5 +1,5 @@
1
- import { SkinnedMesh } from '../../../../src/Three';
2
- import Node from '../core/Node';
1
+ import { SkinnedMesh } from '../../../../src/Three.js';
2
+ import Node from '../core/Node.js';
3
3
 
4
4
  export default class SkinningNode extends Node {
5
5
  skinIndexNode: Node;
@@ -1,5 +1,5 @@
1
- import { NodeTypeOption } from '../Nodes';
2
- import BufferNode from './BufferNode';
1
+ import { NodeTypeOption } from '../Nodes.js';
2
+ import BufferNode from './BufferNode.js';
3
3
 
4
4
  export default class StorageBufferNode extends BufferNode {
5
5
  constructor(value: ArrayLike<number>, bufferType: NodeTypeOption, bufferCount?: number);
@@ -1,6 +1,6 @@
1
- import { Texture } from '../../../../src/Three';
2
- import UniformNode from '../core/UniformNode';
3
- import { Node } from '../Nodes';
1
+ import { Texture } from '../../../../src/Three.js';
2
+ import UniformNode from '../core/UniformNode.js';
3
+ import { Node } from '../Nodes.js';
4
4
 
5
5
  export default class TextureNode extends UniformNode {
6
6
  isTextureNode: true;
@@ -1,4 +1,4 @@
1
- import AttributeNode from '../core/AttributeNode';
1
+ import AttributeNode from '../core/AttributeNode.js';
2
2
 
3
3
  export default class UVNode extends AttributeNode {
4
4
  isUVNode: true;
@@ -1,5 +1,5 @@
1
- import { NodeTypeOption, NodeUserData } from '../core/constants';
2
- import ReferenceNode from './ReferenceNode';
1
+ import { NodeTypeOption, NodeUserData } from '../core/constants.js';
2
+ import ReferenceNode from './ReferenceNode.js';
3
3
 
4
4
  export default class UserDataNode extends ReferenceNode<NodeUserData> {
5
5
  userData: NodeUserData | null;
@@ -1,5 +1,5 @@
1
- import Node from '../core/Node';
2
- import NodeBuilder from '../core/NodeBuilder';
1
+ import Node from '../core/Node.js';
2
+ import NodeBuilder from '../core/NodeBuilder.js';
3
3
 
4
4
  export interface CodeNodeInclude {
5
5
  build(builder: NodeBuilder): void;
@@ -1,5 +1,5 @@
1
- import { NodeTypeOption } from '../core/constants';
2
- import TempNode from '../core/TempNode';
1
+ import { NodeTypeOption } from '../core/constants.js';
2
+ import TempNode from '../core/TempNode.js';
3
3
 
4
4
  export default class ExpressionNode extends TempNode {
5
5
  snipped: string; /* sic */
@@ -1,6 +1,6 @@
1
- import FunctionNode from './FunctionNode';
2
- import TempNode from '../core/TempNode';
3
- import Node from '../core/Node';
1
+ import FunctionNode from './FunctionNode.js';
2
+ import TempNode from '../core/TempNode.js';
3
+ import Node from '../core/Node.js';
4
4
 
5
5
  export default class FunctionCallNode<P extends Node[] | { [name: string]: Node }> extends TempNode {
6
6
  functionNode: FunctionNode<P>;
@@ -1,9 +1,9 @@
1
- import CodeNode, { CodeNodeInclude } from './CodeNode';
2
- import FunctionCallNode from './FunctionCallNode';
3
- import NodeBuilder from '../core/NodeBuilder';
4
- import NodeFunction from '../core/NodeFunction';
5
- import NodeFunctionInput from '../core/NodeFunctionInput';
6
- import Node from '../core/Node';
1
+ import CodeNode, { CodeNodeInclude } from './CodeNode.js';
2
+ import FunctionCallNode from './FunctionCallNode.js';
3
+ import NodeBuilder from '../core/NodeBuilder.js';
4
+ import NodeFunction from '../core/NodeFunction.js';
5
+ import NodeFunctionInput from '../core/NodeFunctionInput.js';
6
+ import Node from '../core/Node.js';
7
7
 
8
8
  export type FunctionNodeArguments = Node[] | { [name: string]: Node };
9
9
 
@@ -1,5 +1,5 @@
1
- import UniformNode from './UniformNode';
2
- import Node from './Node';
1
+ import UniformNode from './UniformNode.js';
2
+ import Node from './Node.js';
3
3
 
4
4
  export default class ArrayUniformNode extends UniformNode {
5
5
  isArrayUniformNode: true;
@@ -1,6 +1,6 @@
1
- import { NodeTypeOption } from './constants';
2
- import Node from './Node';
3
- import NodeBuilder from './NodeBuilder';
1
+ import { NodeTypeOption } from './constants.js';
2
+ import Node from './Node.js';
3
+ import NodeBuilder from './NodeBuilder.js';
4
4
 
5
5
  export default class AttributeNode extends Node {
6
6
  constructor(attributeName: string, nodeType?: NodeTypeOption | null);
@@ -1,4 +1,4 @@
1
- import Node from './Node';
1
+ import Node from './Node.js';
2
2
 
3
3
  export default class BypassNode extends Node {
4
4
  isBypassNode: true;
@@ -1,5 +1,5 @@
1
- import Node from './Node';
2
- import NodeCache from './NodeCache';
1
+ import Node from './Node.js';
2
+ import NodeCache from './NodeCache.js';
3
3
 
4
4
  export default class CacheNode extends Node {
5
5
  isCacheNode: true;