super-three 0.137.0 → 0.141.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 (703) hide show
  1. package/README.md +23 -25
  2. package/build/three.cjs +3721 -4964
  3. package/build/three.js +3723 -4966
  4. package/build/three.min.js +1 -1
  5. package/build/three.module.js +5705 -7216
  6. package/examples/js/animation/CCDIKSolver.js +3 -2
  7. package/examples/js/animation/MMDPhysics.js +2 -2
  8. package/examples/js/controls/ArcballControls.js +3 -1
  9. package/examples/js/controls/PointerLockControls.js +3 -2
  10. package/examples/js/controls/TrackballControls.js +1 -4
  11. package/examples/js/controls/TransformControls.js +5 -6
  12. package/examples/js/controls/experimental/CameraControls.js +2 -2
  13. package/examples/js/csm/CSMFrustum.js +1 -1
  14. package/examples/js/csm/CSMShader.js +51 -35
  15. package/examples/js/curves/CurveExtras.js +14 -18
  16. package/examples/js/effects/AnaglyphEffect.js +7 -4
  17. package/examples/js/effects/AsciiEffect.js +10 -29
  18. package/examples/js/exporters/ColladaExporter.js +29 -7
  19. package/examples/js/exporters/EXRExporter.js +458 -0
  20. package/examples/js/exporters/GLTFExporter.js +213 -128
  21. package/examples/js/exporters/OBJExporter.js +12 -18
  22. package/examples/js/exporters/PLYExporter.js +15 -20
  23. package/examples/js/exporters/USDZExporter.js +13 -0
  24. package/examples/js/geometries/DecalGeometry.js +0 -7
  25. package/examples/js/geometries/LightningStrike.js +2 -2
  26. package/examples/js/geometries/ParametricGeometries.js +3 -3
  27. package/examples/js/helpers/OctreeHelper.js +74 -0
  28. package/examples/js/helpers/VertexNormalsHelper.js +4 -23
  29. package/examples/js/helpers/VertexTangentsHelper.js +3 -13
  30. package/examples/js/helpers/ViewHelper.js +266 -0
  31. package/examples/js/interactive/HTMLMesh.js +235 -40
  32. package/examples/js/interactive/SelectionHelper.js +1 -1
  33. package/examples/js/libs/opentype.min.js +1 -118
  34. package/examples/js/lines/Line2.js +1 -2
  35. package/examples/js/lines/LineGeometry.js +10 -21
  36. package/examples/js/lines/LineMaterial.js +2 -3
  37. package/examples/js/lines/LineSegments2.js +214 -140
  38. package/examples/js/lines/LineSegmentsGeometry.js +3 -14
  39. package/examples/js/lines/Wireframe.js +2 -3
  40. package/examples/js/lines/WireframeGeometry2.js +1 -2
  41. package/examples/js/loaders/3MFLoader.js +21 -17
  42. package/examples/js/loaders/AMFLoader.js +1 -1
  43. package/examples/js/loaders/ColladaLoader.js +33 -12
  44. package/examples/js/loaders/DDSLoader.js +23 -30
  45. package/examples/js/loaders/EXRLoader.js +269 -266
  46. package/examples/js/loaders/FBXLoader.js +11 -0
  47. package/examples/js/loaders/FontLoader.js +1 -2
  48. package/examples/js/loaders/GCodeLoader.js +0 -1
  49. package/examples/js/loaders/GLTFLoader.js +249 -60
  50. package/examples/js/loaders/KMZLoader.js +1 -1
  51. package/examples/js/loaders/KTX2Loader.js +1 -9
  52. package/examples/js/loaders/LDrawLoader.js +3 -11
  53. package/examples/js/loaders/LUT3dlLoader.js +1 -1
  54. package/examples/js/loaders/LUTCubeLoader.js +1 -1
  55. package/examples/js/loaders/LWOLoader.js +4 -2
  56. package/examples/js/loaders/LogLuvLoader.js +1 -2
  57. package/examples/js/loaders/MMDLoader.js +18 -4
  58. package/examples/js/loaders/NRRDLoader.js +1 -1
  59. package/examples/js/loaders/OBJLoader.js +9 -5
  60. package/examples/js/loaders/PCDLoader.js +22 -13
  61. package/examples/js/loaders/PDBLoader.js +11 -11
  62. package/examples/js/loaders/PLYLoader.js +5 -1
  63. package/examples/js/loaders/RGBELoader.js +3 -11
  64. package/examples/js/loaders/RGBMLoader.js +12 -15
  65. package/examples/js/loaders/SVGLoader.js +16 -9
  66. package/examples/js/loaders/VOXLoader.js +3 -4
  67. package/examples/js/loaders/VTKLoader.js +260 -295
  68. package/examples/js/loaders/lwo/LWO2Parser.js +4 -4
  69. package/examples/js/loaders/lwo/LWO3Parser.js +4 -4
  70. package/examples/js/math/ConvexHull.js +6 -15
  71. package/examples/js/math/Lut.js +27 -26
  72. package/examples/js/misc/MorphAnimMesh.js +2 -2
  73. package/examples/js/misc/ProgressiveLightMap.js +1 -1
  74. package/examples/js/misc/Volume.js +37 -46
  75. package/examples/js/misc/VolumeSlice.js +21 -21
  76. package/examples/js/modifiers/EdgeSplitModifier.js +0 -7
  77. package/examples/js/modifiers/SimplifyModifier.js +1 -8
  78. package/examples/js/modifiers/TessellateModifier.js +0 -7
  79. package/examples/js/objects/Lensflare.js +2 -2
  80. package/examples/js/objects/LightningStorm.js +4 -5
  81. package/examples/js/objects/MarchingCubes.js +6 -11
  82. package/examples/js/objects/Reflector.js +10 -4
  83. package/examples/js/objects/ReflectorForSSRPass.js +1 -1
  84. package/examples/js/objects/Refractor.js +10 -4
  85. package/examples/js/objects/ShadowMesh.js +1 -2
  86. package/examples/js/objects/Sky.js +1 -1
  87. package/examples/js/objects/Water.js +1 -2
  88. package/examples/js/objects/Water2.js +1 -1
  89. package/examples/js/postprocessing/AdaptiveToneMappingPass.js +6 -10
  90. package/examples/js/postprocessing/AfterimagePass.js +2 -6
  91. package/examples/js/postprocessing/BloomPass.js +50 -19
  92. package/examples/js/postprocessing/DotScreenPass.js +1 -1
  93. package/examples/js/postprocessing/EffectComposer.js +1 -6
  94. package/examples/js/postprocessing/LUTPass.js +2 -2
  95. package/examples/js/postprocessing/OutlinePass.js +7 -12
  96. package/examples/js/postprocessing/SAOPass.js +2 -7
  97. package/examples/js/postprocessing/SSAARenderPass.js +1 -6
  98. package/examples/js/postprocessing/SSRPass.js +3 -8
  99. package/examples/js/postprocessing/TAARenderPass.js +4 -4
  100. package/examples/js/postprocessing/UnrealBloomPass.js +3 -12
  101. package/examples/js/renderers/CSS2DRenderer.js +20 -25
  102. package/examples/js/renderers/CSS3DRenderer.js +6 -7
  103. package/examples/js/renderers/Projector.js +97 -124
  104. package/examples/js/renderers/SVGRenderer.js +3 -4
  105. package/examples/js/shaders/BlendShader.js +2 -1
  106. package/examples/js/shaders/CopyShader.js +4 -3
  107. package/examples/js/shaders/FXAAShader.js +239 -1069
  108. package/examples/js/shaders/FreiChenShader.js +1 -1
  109. package/examples/js/shaders/HorizontalBlurShader.js +1 -1
  110. package/examples/js/shaders/HorizontalTiltShiftShader.js +1 -1
  111. package/examples/js/shaders/SSRShader.js +3 -3
  112. package/examples/js/shaders/ToneMapShader.js +1 -1
  113. package/examples/js/utils/BufferGeometryUtils.js +282 -22
  114. package/examples/js/utils/GPUStatsPanel.js +1 -1
  115. package/examples/js/utils/LDrawUtils.js +6 -6
  116. package/examples/js/utils/SceneUtils.js +59 -0
  117. package/examples/js/utils/SkeletonUtils.js +1 -1
  118. package/examples/js/utils/UVsDebug.js +23 -33
  119. package/examples/jsm/animation/CCDIKSolver.js +3 -9
  120. package/examples/jsm/animation/MMDPhysics.js +1 -1
  121. package/examples/jsm/capabilities/WebGPU.js +6 -0
  122. package/examples/jsm/controls/ArcballControls.js +3 -1
  123. package/examples/jsm/controls/PointerLockControls.js +4 -2
  124. package/examples/jsm/controls/TrackballControls.js +1 -4
  125. package/examples/jsm/controls/TransformControls.js +6 -6
  126. package/examples/jsm/controls/experimental/CameraControls.js +2 -2
  127. package/examples/jsm/csm/CSMFrustum.js +1 -1
  128. package/examples/jsm/csm/CSMShader.js +51 -35
  129. package/examples/jsm/curves/CurveExtras.js +15 -17
  130. package/examples/jsm/effects/AnaglyphEffect.js +4 -4
  131. package/examples/jsm/effects/AsciiEffect.js +9 -22
  132. package/examples/jsm/exporters/ColladaExporter.js +31 -6
  133. package/examples/jsm/exporters/EXRExporter.js +507 -0
  134. package/examples/jsm/exporters/GLTFExporter.js +231 -125
  135. package/examples/jsm/exporters/KTX2Exporter.js +281 -0
  136. package/examples/jsm/exporters/OBJExporter.js +11 -18
  137. package/examples/jsm/exporters/PLYExporter.js +23 -21
  138. package/examples/jsm/exporters/USDZExporter.js +12 -0
  139. package/examples/jsm/geometries/DecalGeometry.js +0 -7
  140. package/examples/jsm/geometries/LightningStrike.js +2 -2
  141. package/examples/jsm/geometries/ParametricGeometries.js +3 -3
  142. package/examples/jsm/helpers/OctreeHelper.js +58 -0
  143. package/examples/jsm/helpers/VertexNormalsHelper.js +4 -25
  144. package/examples/jsm/helpers/VertexTangentsHelper.js +3 -15
  145. package/examples/jsm/helpers/ViewHelper.js +295 -0
  146. package/examples/jsm/interactive/HTMLMesh.js +252 -34
  147. package/examples/jsm/interactive/SelectionHelper.js +1 -1
  148. package/examples/jsm/libs/flow.module.js +30 -27
  149. package/examples/jsm/libs/ktx-parse.module.js +1 -1
  150. package/examples/jsm/libs/mikktspace.module.js +128 -0
  151. package/examples/jsm/libs/opentype.module.js +14568 -0
  152. package/examples/jsm/lines/Line2.js +2 -2
  153. package/examples/jsm/lines/LineGeometry.js +11 -19
  154. package/examples/jsm/lines/LineMaterial.js +3 -3
  155. package/examples/jsm/lines/LineSegments2.js +210 -145
  156. package/examples/jsm/lines/LineSegmentsGeometry.js +3 -12
  157. package/examples/jsm/lines/Wireframe.js +3 -3
  158. package/examples/jsm/lines/WireframeGeometry2.js +2 -2
  159. package/examples/jsm/loaders/3DMLoader.js +3 -2
  160. package/examples/jsm/loaders/3MFLoader.js +21 -17
  161. package/examples/jsm/loaders/AMFLoader.js +1 -1
  162. package/examples/jsm/loaders/ColladaLoader.js +40 -12
  163. package/examples/jsm/loaders/DDSLoader.js +21 -28
  164. package/examples/jsm/loaders/EXRLoader.js +268 -265
  165. package/examples/jsm/loaders/FBXLoader.js +11 -0
  166. package/examples/jsm/loaders/FontLoader.js +2 -2
  167. package/examples/jsm/loaders/GCodeLoader.js +0 -1
  168. package/examples/jsm/loaders/GLTFLoader.js +263 -66
  169. package/examples/jsm/loaders/KMZLoader.js +1 -1
  170. package/examples/jsm/loaders/KTX2Loader.js +1 -10
  171. package/examples/jsm/loaders/LDrawLoader.js +4 -11
  172. package/examples/jsm/loaders/LUT3dlLoader.js +2 -2
  173. package/examples/jsm/loaders/LUTCubeLoader.js +2 -2
  174. package/examples/jsm/loaders/LWOLoader.js +5 -3
  175. package/examples/jsm/loaders/LogLuvLoader.js +2 -2
  176. package/examples/jsm/loaders/MMDLoader.js +21 -3
  177. package/examples/jsm/loaders/NRRDLoader.js +1 -2
  178. package/examples/jsm/loaders/OBJLoader.js +11 -7
  179. package/examples/jsm/loaders/PCDLoader.js +23 -15
  180. package/examples/jsm/loaders/PDBLoader.js +11 -11
  181. package/examples/jsm/loaders/PLYLoader.js +10 -2
  182. package/examples/jsm/loaders/RGBELoader.js +4 -12
  183. package/examples/jsm/loaders/RGBMLoader.js +14 -11
  184. package/examples/jsm/loaders/SVGLoader.js +17 -9
  185. package/examples/jsm/loaders/TTFLoader.js +1 -1
  186. package/examples/jsm/loaders/VOXLoader.js +5 -5
  187. package/examples/jsm/loaders/VTKLoader.js +256 -284
  188. package/examples/jsm/loaders/ifc/web-ifc-api.js +9 -8
  189. package/examples/jsm/loaders/lwo/LWO2Parser.js +4 -4
  190. package/examples/jsm/loaders/lwo/LWO3Parser.js +4 -4
  191. package/examples/jsm/math/ConvexHull.js +6 -15
  192. package/examples/jsm/math/Lut.js +35 -25
  193. package/examples/jsm/misc/MorphAnimMesh.js +2 -2
  194. package/examples/jsm/misc/ProgressiveLightMap.js +1 -1
  195. package/examples/jsm/misc/Volume.js +37 -44
  196. package/examples/jsm/misc/VolumeSlice.js +21 -21
  197. package/examples/jsm/modifiers/EdgeSplitModifier.js +0 -7
  198. package/examples/jsm/modifiers/SimplifyModifier.js +1 -8
  199. package/examples/jsm/modifiers/TessellateModifier.js +0 -7
  200. package/examples/jsm/node-editor/NodeEditor.js +78 -9
  201. package/examples/jsm/node-editor/accessors/MatcapUVEditor.js +14 -0
  202. package/examples/jsm/node-editor/accessors/NormalEditor.js +1 -1
  203. package/examples/jsm/node-editor/accessors/PositionEditor.js +1 -1
  204. package/examples/jsm/node-editor/accessors/UVEditor.js +1 -1
  205. package/examples/jsm/node-editor/core/BaseNode.js +17 -11
  206. package/examples/jsm/node-editor/core/DataFile.js +59 -0
  207. package/examples/jsm/node-editor/core/FileEditor.js +20 -0
  208. package/examples/jsm/node-editor/core/FileURLEditor.js +29 -0
  209. package/examples/jsm/node-editor/display/BlendEditor.js +3 -3
  210. package/examples/jsm/node-editor/display/NormalMapEditor.js +49 -0
  211. package/examples/jsm/node-editor/examples/matcap.json +1 -0
  212. package/examples/jsm/node-editor/inputs/ColorEditor.js +7 -6
  213. package/examples/jsm/node-editor/inputs/FloatEditor.js +2 -2
  214. package/examples/jsm/node-editor/inputs/SliderEditor.js +2 -2
  215. package/examples/jsm/node-editor/inputs/TextureEditor.js +155 -0
  216. package/examples/jsm/node-editor/inputs/Vector2Editor.js +3 -2
  217. package/examples/jsm/node-editor/inputs/Vector3Editor.js +3 -2
  218. package/examples/jsm/node-editor/inputs/Vector4Editor.js +4 -3
  219. package/examples/jsm/node-editor/materials/BasicMaterialEditor.js +3 -3
  220. package/examples/jsm/node-editor/materials/PointsMaterialEditor.js +16 -11
  221. package/examples/jsm/node-editor/materials/StandardMaterialEditor.js +15 -5
  222. package/examples/jsm/node-editor/math/AngleEditor.js +3 -2
  223. package/examples/jsm/node-editor/math/DotEditor.js +2 -2
  224. package/examples/jsm/node-editor/math/InvertEditor.js +4 -4
  225. package/examples/jsm/node-editor/math/LimiterEditor.js +22 -9
  226. package/examples/jsm/node-editor/math/NormalizeEditor.js +3 -2
  227. package/examples/jsm/node-editor/math/OperatorEditor.js +20 -8
  228. package/examples/jsm/node-editor/math/PowerEditor.js +17 -8
  229. package/examples/jsm/node-editor/math/TrigonometryEditor.js +3 -2
  230. package/examples/jsm/node-editor/procedural/CheckerEditor.js +4 -4
  231. package/examples/jsm/node-editor/utils/JoinEditor.js +2 -2
  232. package/examples/jsm/node-editor/utils/OscillatorEditor.js +2 -2
  233. package/examples/jsm/node-editor/utils/PreviewEditor.js +166 -0
  234. package/examples/jsm/node-editor/utils/SplitEditor.js +2 -2
  235. package/examples/jsm/node-editor/utils/TimerEditor.js +1 -1
  236. package/examples/jsm/nodes/Nodes.js +283 -94
  237. package/examples/jsm/nodes/accessors/BufferNode.js +24 -0
  238. package/examples/jsm/nodes/accessors/CameraNode.js +27 -196
  239. package/examples/jsm/nodes/accessors/CubeTextureNode.js +103 -0
  240. package/examples/jsm/nodes/accessors/InstanceNode.js +58 -0
  241. package/examples/jsm/{renderers/nodes → nodes}/accessors/MaterialNode.js +49 -11
  242. package/examples/jsm/{renderers/nodes → nodes}/accessors/MaterialReferenceNode.js +0 -0
  243. package/examples/jsm/{renderers/nodes → nodes}/accessors/ModelNode.js +8 -0
  244. package/examples/jsm/{renderers/nodes → nodes}/accessors/ModelViewProjectionNode.js +0 -0
  245. package/examples/jsm/nodes/accessors/NormalNode.js +39 -99
  246. package/examples/jsm/{renderers/nodes → nodes}/accessors/Object3DNode.js +34 -17
  247. package/examples/jsm/{renderers/nodes → nodes}/accessors/PointUVNode.js +2 -2
  248. package/examples/jsm/nodes/accessors/PositionNode.js +41 -110
  249. package/examples/jsm/nodes/accessors/ReferenceNode.js +65 -0
  250. package/examples/jsm/nodes/accessors/ReflectNode.js +34 -121
  251. package/examples/jsm/nodes/accessors/SkinningNode.js +102 -0
  252. package/examples/jsm/nodes/accessors/StorageBufferNode.js +21 -0
  253. package/examples/jsm/nodes/accessors/TextureNode.js +100 -0
  254. package/examples/jsm/nodes/accessors/UVNode.js +17 -43
  255. package/examples/jsm/nodes/accessors/UserDataNode.js +23 -0
  256. package/examples/jsm/nodes/core/ArrayUniformNode.js +23 -0
  257. package/examples/jsm/nodes/core/AttributeNode.js +33 -30
  258. package/examples/jsm/{renderers/nodes → nodes}/core/BypassNode.js +2 -2
  259. package/examples/jsm/{renderers/nodes → nodes}/core/CodeNode.js +2 -30
  260. package/examples/jsm/nodes/core/ConstNode.js +10 -106
  261. package/examples/jsm/{renderers/nodes → nodes}/core/ContextNode.js +17 -3
  262. package/examples/jsm/nodes/core/ExpressionNode.js +24 -7
  263. package/examples/jsm/nodes/core/FunctionCallNode.js +26 -67
  264. package/examples/jsm/nodes/core/FunctionNode.js +43 -216
  265. package/examples/jsm/nodes/core/InputNode.js +28 -60
  266. package/examples/jsm/nodes/core/InstanceIndexNode.js +21 -0
  267. package/examples/jsm/nodes/core/Node.js +228 -94
  268. package/examples/jsm/{renderers/nodes → nodes}/core/NodeAttribute.js +2 -2
  269. package/examples/jsm/nodes/core/NodeBuilder.js +388 -560
  270. package/examples/jsm/{renderers/nodes → nodes}/core/NodeCode.js +0 -0
  271. package/examples/jsm/nodes/core/NodeFrame.js +30 -23
  272. package/examples/jsm/{renderers/nodes → nodes}/core/NodeFunction.js +0 -0
  273. package/examples/jsm/{renderers/nodes → nodes}/core/NodeFunctionInput.js +0 -0
  274. package/examples/jsm/{renderers/nodes → nodes}/core/NodeKeywords.js +0 -0
  275. package/examples/jsm/{renderers/nodes → nodes}/core/NodeParser.js +0 -0
  276. package/examples/jsm/nodes/core/NodeUniform.js +8 -6
  277. package/examples/jsm/nodes/core/NodeUtils.js +69 -37
  278. package/examples/jsm/{renderers/nodes → nodes}/core/NodeVar.js +2 -2
  279. package/examples/jsm/{renderers/nodes → nodes}/core/NodeVary.js +2 -2
  280. package/examples/jsm/{renderers/nodes → nodes}/core/PropertyNode.js +0 -0
  281. package/examples/jsm/nodes/core/TempNode.js +20 -112
  282. package/examples/jsm/nodes/core/UniformNode.js +46 -0
  283. package/examples/jsm/nodes/core/VarNode.js +58 -27
  284. package/examples/jsm/{renderers/nodes → nodes}/core/VaryNode.js +0 -0
  285. package/examples/jsm/{renderers/nodes → nodes}/core/constants.js +0 -0
  286. package/examples/jsm/{renderers/nodes → nodes}/display/ColorSpaceNode.js +10 -11
  287. package/examples/jsm/nodes/display/FrontFacingNode.js +21 -0
  288. package/examples/jsm/nodes/display/NormalMapNode.js +86 -0
  289. package/examples/jsm/nodes/display/ToneMappingNode.js +51 -0
  290. package/examples/jsm/nodes/fog/FogNode.js +31 -0
  291. package/examples/jsm/nodes/fog/FogRangeNode.js +27 -0
  292. package/examples/jsm/nodes/functions/BSDF/BRDF_GGX.js +33 -0
  293. package/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.js +9 -0
  294. package/examples/jsm/nodes/functions/BSDF/DFGApprox.js +27 -0
  295. package/examples/jsm/nodes/functions/BSDF/D_GGX.js +18 -0
  296. package/examples/jsm/nodes/functions/BSDF/F_Schlick.js +18 -0
  297. package/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.js +18 -0
  298. package/examples/jsm/nodes/functions/PhysicalLightingModel.js +94 -0
  299. package/examples/jsm/nodes/functions/light/getDistanceAttenuation.js +22 -0
  300. package/examples/jsm/nodes/functions/material/getGeometryRoughness.js +12 -0
  301. package/examples/jsm/nodes/functions/material/getRoughness.js +18 -0
  302. package/examples/jsm/nodes/gpgpu/ComputeNode.js +63 -0
  303. package/examples/jsm/nodes/lighting/AONode.js +25 -0
  304. package/examples/jsm/nodes/lighting/AnalyticLightNode.js +37 -0
  305. package/examples/jsm/nodes/lighting/EnvironmentNode.js +65 -0
  306. package/examples/jsm/nodes/lighting/HemisphereLightNode.js +50 -0
  307. package/examples/jsm/nodes/lighting/LightingContextNode.js +75 -0
  308. package/examples/jsm/nodes/lighting/LightingNode.js +19 -0
  309. package/examples/jsm/nodes/lighting/LightsNode.js +120 -0
  310. package/examples/jsm/nodes/lighting/PunctualLightNode.js +68 -0
  311. package/examples/jsm/nodes/loaders/NodeLoader.js +107 -0
  312. package/examples/jsm/nodes/loaders/NodeMaterialLoader.js +42 -0
  313. package/examples/jsm/nodes/loaders/NodeObjectLoader.js +70 -0
  314. package/examples/jsm/{renderers/nodes → nodes}/materials/LineBasicNodeMaterial.js +11 -4
  315. package/examples/jsm/nodes/materials/Materials.js +65 -0
  316. package/examples/jsm/{renderers/nodes → nodes}/materials/MeshBasicNodeMaterial.js +13 -4
  317. package/examples/jsm/nodes/materials/MeshStandardNodeMaterial.js +162 -22
  318. package/examples/jsm/nodes/materials/NodeMaterial.js +128 -113
  319. package/examples/jsm/{renderers/nodes → nodes}/materials/PointsNodeMaterial.js +13 -4
  320. package/examples/jsm/nodes/materials/SpriteNodeMaterial.js +84 -16
  321. package/examples/jsm/nodes/math/CondNode.js +26 -95
  322. package/examples/jsm/nodes/math/MathNode.js +164 -187
  323. package/examples/jsm/nodes/math/OperatorNode.js +161 -41
  324. package/examples/jsm/{renderers/nodes → nodes}/parsers/GLSLNodeFunction.js +2 -2
  325. package/examples/jsm/{renderers/nodes → nodes}/parsers/GLSLNodeParser.js +0 -0
  326. package/examples/jsm/{renderers/nodes → nodes}/parsers/WGSLNodeFunction.js +20 -5
  327. package/examples/jsm/{renderers/nodes → nodes}/parsers/WGSLNodeParser.js +0 -0
  328. package/examples/jsm/nodes/procedural/CheckerNode.js +16 -57
  329. package/examples/jsm/nodes/shadernode/ShaderNode.js +262 -0
  330. package/examples/jsm/nodes/shadernode/ShaderNodeBaseElements.js +274 -0
  331. package/examples/jsm/nodes/shadernode/ShaderNodeElements.js +106 -0
  332. package/examples/jsm/{renderers/nodes → nodes}/utils/ArrayElementNode.js +3 -3
  333. package/examples/jsm/{renderers/nodes → nodes}/utils/ConvertNode.js +11 -3
  334. package/examples/jsm/nodes/utils/JoinNode.js +17 -89
  335. package/examples/jsm/nodes/utils/MatcapUVNode.js +25 -0
  336. package/examples/jsm/nodes/utils/MaxMipLevelNode.js +32 -0
  337. package/examples/jsm/{renderers/nodes → nodes}/utils/OscNode.js +18 -2
  338. package/examples/jsm/{renderers/nodes → nodes}/utils/SplitNode.js +16 -0
  339. package/examples/jsm/{renderers/nodes → nodes}/utils/SpriteSheetUVNode.js +3 -3
  340. package/examples/jsm/nodes/utils/TimerNode.js +30 -65
  341. package/examples/jsm/objects/Lensflare.js +2 -2
  342. package/examples/jsm/objects/LightningStorm.js +4 -4
  343. package/examples/jsm/objects/MarchingCubes.js +5 -9
  344. package/examples/jsm/objects/Reflector.js +8 -4
  345. package/examples/jsm/objects/ReflectorForSSRPass.js +2 -2
  346. package/examples/jsm/objects/Refractor.js +8 -4
  347. package/examples/jsm/objects/ShadowMesh.js +2 -2
  348. package/examples/jsm/objects/Sky.js +2 -2
  349. package/examples/jsm/objects/Water.js +2 -2
  350. package/examples/jsm/objects/Water2.js +2 -2
  351. package/examples/jsm/offscreen/jank.js +5 -5
  352. package/examples/jsm/offscreen/offscreen.js +1 -1
  353. package/examples/jsm/offscreen/scene.js +11 -11
  354. package/examples/jsm/postprocessing/AdaptiveToneMappingPass.js +5 -7
  355. package/examples/jsm/postprocessing/AfterimagePass.js +0 -10
  356. package/examples/jsm/postprocessing/BloomPass.js +48 -20
  357. package/examples/jsm/postprocessing/DotScreenPass.js +1 -1
  358. package/examples/jsm/postprocessing/EffectComposer.js +1 -9
  359. package/examples/jsm/postprocessing/LUTPass.js +2 -2
  360. package/examples/jsm/postprocessing/OutlinePass.js +7 -11
  361. package/examples/jsm/postprocessing/SAOPass.js +2 -9
  362. package/examples/jsm/postprocessing/SSAARenderPass.js +1 -4
  363. package/examples/jsm/postprocessing/SSRPass.js +3 -9
  364. package/examples/jsm/postprocessing/TAARenderPass.js +4 -4
  365. package/examples/jsm/postprocessing/UnrealBloomPass.js +3 -8
  366. package/examples/jsm/renderers/CSS2DRenderer.js +21 -24
  367. package/examples/jsm/renderers/CSS3DRenderer.js +7 -8
  368. package/examples/jsm/renderers/Projector.js +101 -128
  369. package/examples/jsm/renderers/SVGRenderer.js +4 -4
  370. package/examples/jsm/renderers/webgl/nodes/SlotNode.js +1 -1
  371. package/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.js +127 -23
  372. package/examples/jsm/renderers/webgl/nodes/WebGLNodes.js +14 -3
  373. package/examples/jsm/renderers/webgl/nodes/WebGLPhysicalContextNode.js +5 -5
  374. package/examples/jsm/renderers/webgpu/WebGPUAttributes.js +4 -4
  375. package/examples/jsm/renderers/webgpu/WebGPUBackground.js +16 -10
  376. package/examples/jsm/renderers/webgpu/WebGPUBindings.js +8 -7
  377. package/examples/jsm/renderers/webgpu/WebGPUBuffer.js +43 -0
  378. package/examples/jsm/renderers/webgpu/WebGPUComputePipelines.js +14 -7
  379. package/examples/jsm/renderers/webgpu/WebGPUInfo.js +1 -1
  380. package/examples/jsm/renderers/webgpu/WebGPUObjects.js +0 -6
  381. package/examples/jsm/renderers/webgpu/WebGPURenderPipeline.js +20 -20
  382. package/examples/jsm/renderers/webgpu/WebGPURenderPipelines.js +2 -1
  383. package/examples/jsm/renderers/webgpu/WebGPURenderStates.js +66 -0
  384. package/examples/jsm/renderers/webgpu/WebGPURenderer.js +47 -24
  385. package/examples/jsm/renderers/webgpu/WebGPUSampledTexture.js +14 -14
  386. package/examples/jsm/renderers/webgpu/WebGPUSampler.js +2 -2
  387. package/examples/jsm/renderers/webgpu/WebGPUStorageBuffer.js +5 -8
  388. package/examples/jsm/renderers/webgpu/WebGPUTextureUtils.js +23 -20
  389. package/examples/jsm/renderers/webgpu/WebGPUTextures.js +37 -18
  390. package/examples/jsm/renderers/webgpu/WebGPUUniform.js +14 -14
  391. package/examples/jsm/renderers/webgpu/WebGPUUniformBuffer.js +5 -32
  392. package/examples/jsm/renderers/webgpu/WebGPUUniformsGroup.js +2 -2
  393. package/examples/jsm/renderers/webgpu/constants.js +3 -2
  394. package/examples/jsm/renderers/webgpu/nodes/WebGPUNodeBuilder.js +276 -284
  395. package/examples/jsm/renderers/webgpu/nodes/WebGPUNodeSampledTexture.js +20 -2
  396. package/examples/jsm/renderers/webgpu/nodes/WebGPUNodes.js +24 -14
  397. package/examples/jsm/shaders/BlendShader.js +2 -1
  398. package/examples/jsm/shaders/CopyShader.js +4 -3
  399. package/examples/jsm/shaders/FXAAShader.js +219 -1051
  400. package/examples/jsm/shaders/FreiChenShader.js +1 -1
  401. package/examples/jsm/shaders/HorizontalBlurShader.js +1 -1
  402. package/examples/jsm/shaders/HorizontalTiltShiftShader.js +1 -1
  403. package/examples/jsm/shaders/SSRShader.js +3 -3
  404. package/examples/jsm/shaders/ToneMapShader.js +1 -1
  405. package/examples/jsm/utils/BufferGeometryUtils.js +292 -22
  406. package/examples/jsm/utils/GPUStatsPanel.js +1 -1
  407. package/examples/jsm/utils/LDrawUtils.js +6 -6
  408. package/examples/jsm/utils/SceneUtils.js +76 -2
  409. package/examples/jsm/utils/SkeletonUtils.js +1 -1
  410. package/examples/jsm/utils/UVsDebug.js +23 -32
  411. package/examples/jsm/webxr/ARButton.js +14 -4
  412. package/examples/jsm/webxr/OculusHandPointerModel.js +3 -3
  413. package/examples/jsm/webxr/Text2D.js +1 -1
  414. package/examples/jsm/webxr/VRButton.js +15 -1
  415. package/examples/jsm/webxr/XRHandMeshModel.js +3 -7
  416. package/examples/jsm/webxr/XRHandModelFactory.js +3 -0
  417. package/package.json +37 -19
  418. package/src/Three.Legacy.js +41 -1912
  419. package/src/Three.js +6 -3
  420. package/src/animation/AnimationClip.js +1 -1
  421. package/src/animation/AnimationMixer.js +5 -3
  422. package/src/animation/AnimationObjectGroup.js +2 -2
  423. package/src/animation/PropertyBinding.js +8 -18
  424. package/src/audio/PositionalAudio.js +8 -0
  425. package/src/cameras/ArrayCamera.js +2 -3
  426. package/src/cameras/Camera.js +2 -2
  427. package/src/cameras/CubeCamera.js +6 -1
  428. package/src/cameras/OrthographicCamera.js +2 -2
  429. package/src/cameras/PerspectiveCamera.js +2 -2
  430. package/src/constants.js +7 -2
  431. package/src/core/BufferAttribute.js +7 -12
  432. package/src/core/BufferGeometry.js +4 -4
  433. package/src/core/GLBufferAttribute.js +2 -2
  434. package/src/core/InstancedBufferAttribute.js +2 -2
  435. package/src/core/InstancedBufferGeometry.js +2 -2
  436. package/src/core/InstancedInterleavedBuffer.js +2 -2
  437. package/src/core/InterleavedBuffer.js +2 -2
  438. package/src/core/InterleavedBufferAttribute.js +5 -11
  439. package/src/core/Object3D.js +6 -3
  440. package/src/core/Raycaster.js +2 -2
  441. package/src/extras/DataUtils.js +127 -40
  442. package/src/extras/Earcut.js +2 -2
  443. package/src/extras/PMREMGenerator.js +132 -104
  444. package/src/extras/core/CurvePath.js +3 -3
  445. package/src/extras/core/ShapePath.js +5 -6
  446. package/src/extras/curves/ArcCurve.js +2 -2
  447. package/src/extras/curves/CatmullRomCurve3.js +2 -2
  448. package/src/extras/curves/CubicBezierCurve.js +2 -2
  449. package/src/extras/curves/CubicBezierCurve3.js +2 -2
  450. package/src/extras/curves/EllipseCurve.js +2 -2
  451. package/src/extras/curves/LineCurve.js +2 -2
  452. package/src/extras/curves/LineCurve3.js +2 -1
  453. package/src/extras/curves/QuadraticBezierCurve.js +2 -2
  454. package/src/extras/curves/QuadraticBezierCurve3.js +2 -2
  455. package/src/extras/curves/SplineCurve.js +2 -2
  456. package/src/geometries/CapsuleGeometry.js +33 -0
  457. package/src/geometries/ExtrudeGeometry.js +2 -0
  458. package/src/geometries/Geometries.js +1 -0
  459. package/src/geometries/TorusKnotGeometry.js +2 -2
  460. package/src/geometries/WireframeGeometry.js +3 -2
  461. package/src/helpers/BoxHelper.js +2 -2
  462. package/src/helpers/PointLightHelper.js +1 -1
  463. package/src/helpers/SkeletonHelper.js +3 -2
  464. package/src/lights/AmbientLight.js +2 -2
  465. package/src/lights/AmbientLightProbe.js +2 -2
  466. package/src/lights/DirectionalLight.js +2 -2
  467. package/src/lights/DirectionalLightShadow.js +2 -2
  468. package/src/lights/HemisphereLight.js +4 -4
  469. package/src/lights/HemisphereLightProbe.js +2 -2
  470. package/src/lights/Light.js +4 -4
  471. package/src/lights/LightProbe.js +2 -2
  472. package/src/lights/PointLight.js +4 -4
  473. package/src/lights/PointLightShadow.js +2 -2
  474. package/src/lights/RectAreaLight.js +2 -2
  475. package/src/lights/SpotLight.js +4 -4
  476. package/src/lights/SpotLightShadow.js +2 -2
  477. package/src/loaders/FileLoader.js +3 -1
  478. package/src/loaders/ImageBitmapLoader.js +2 -2
  479. package/src/loaders/ImageLoader.js +1 -1
  480. package/src/loaders/LoaderUtils.js +1 -1
  481. package/src/loaders/MaterialLoader.js +8 -3
  482. package/src/loaders/ObjectLoader.js +23 -25
  483. package/src/materials/LineBasicMaterial.js +6 -13
  484. package/src/materials/LineDashedMaterial.js +2 -15
  485. package/src/materials/Material.js +48 -14
  486. package/src/materials/Materials.js +66 -18
  487. package/src/materials/MeshBasicMaterial.js +6 -31
  488. package/src/materials/MeshDepthMaterial.js +2 -22
  489. package/src/materials/MeshDistanceMaterial.js +2 -22
  490. package/src/materials/MeshLambertMaterial.js +6 -34
  491. package/src/materials/MeshMatcapMaterial.js +6 -28
  492. package/src/materials/MeshNormalMaterial.js +2 -26
  493. package/src/materials/MeshPhongMaterial.js +6 -48
  494. package/src/materials/MeshPhysicalMaterial.js +32 -35
  495. package/src/materials/MeshStandardMaterial.js +6 -54
  496. package/src/materials/MeshToonMaterial.js +6 -38
  497. package/src/materials/PointsMaterial.js +6 -15
  498. package/src/materials/RawShaderMaterial.js +2 -2
  499. package/src/materials/ShaderMaterial.js +3 -17
  500. package/src/materials/ShadowMaterial.js +6 -8
  501. package/src/materials/SpriteMaterial.js +6 -12
  502. package/src/math/Box2.js +2 -2
  503. package/src/math/Box3.js +5 -5
  504. package/src/math/Color.js +84 -35
  505. package/src/math/ColorManagement.js +74 -0
  506. package/src/math/Euler.js +16 -14
  507. package/src/math/Interpolant.js +4 -9
  508. package/src/math/MathUtils.js +76 -7
  509. package/src/math/Matrix3.js +2 -2
  510. package/src/math/Matrix4.js +2 -3
  511. package/src/math/Plane.js +2 -2
  512. package/src/math/Quaternion.js +11 -2
  513. package/src/math/Spherical.js +1 -1
  514. package/src/math/SphericalHarmonics3.js +2 -2
  515. package/src/math/Vector2.js +2 -2
  516. package/src/math/Vector3.js +12 -3
  517. package/src/math/Vector4.js +2 -2
  518. package/src/math/interpolants/DiscreteInterpolant.js +1 -1
  519. package/src/objects/Bone.js +2 -2
  520. package/src/objects/Group.js +2 -2
  521. package/src/objects/InstancedMesh.js +4 -4
  522. package/src/objects/Line.js +76 -107
  523. package/src/objects/LineLoop.js +2 -2
  524. package/src/objects/LineSegments.js +15 -23
  525. package/src/objects/Mesh.js +82 -104
  526. package/src/objects/Points.js +32 -54
  527. package/src/objects/SkinnedMesh.js +5 -8
  528. package/src/objects/Sprite.js +4 -4
  529. package/src/renderers/WebGL3DRenderTarget.js +22 -0
  530. package/src/renderers/WebGLArrayRenderTarget.js +22 -0
  531. package/src/renderers/WebGLCubeRenderTarget.js +7 -14
  532. package/src/renderers/WebGLMultipleRenderTargets.js +8 -5
  533. package/src/renderers/WebGLRenderTarget.js +16 -18
  534. package/src/renderers/WebGLRenderer.js +108 -63
  535. package/src/renderers/shaders/ShaderChunk/bsdfs.glsl.js +46 -0
  536. package/src/renderers/shaders/ShaderChunk/common.glsl.js +1 -0
  537. package/src/renderers/shaders/ShaderChunk/cube_uv_reflection_fragment.glsl.js +12 -13
  538. package/src/renderers/shaders/ShaderChunk/dithering_pars_fragment.glsl.js +1 -1
  539. package/src/renderers/shaders/ShaderChunk/envmap_physical_pars_fragment.glsl.js +3 -19
  540. package/src/renderers/shaders/ShaderChunk/iridescence_fragment.glsl.js +107 -0
  541. package/src/renderers/shaders/ShaderChunk/iridescence_pars_fragment.glsl.js +14 -0
  542. package/src/renderers/shaders/ShaderChunk/lightmap_fragment.glsl.js +0 -6
  543. package/src/renderers/shaders/ShaderChunk/lights_fragment_begin.glsl.js +25 -0
  544. package/src/renderers/shaders/ShaderChunk/lights_fragment_maps.glsl.js +0 -6
  545. package/src/renderers/shaders/ShaderChunk/lights_physical_fragment.glsl.js +23 -0
  546. package/src/renderers/shaders/ShaderChunk/lights_physical_pars_fragment.glsl.js +43 -5
  547. package/src/renderers/shaders/ShaderChunk/morphcolor_vertex.glsl.js +24 -0
  548. package/src/renderers/shaders/ShaderChunk/morphnormal_vertex.glsl.js +1 -1
  549. package/src/renderers/shaders/ShaderChunk/morphtarget_pars_vertex.glsl.js +7 -7
  550. package/src/renderers/shaders/ShaderChunk/morphtarget_vertex.glsl.js +1 -9
  551. package/src/renderers/shaders/ShaderChunk/skinning_pars_vertex.glsl.js +16 -31
  552. package/src/renderers/shaders/ShaderChunk/transmission_pars_fragment.glsl.js +1 -1
  553. package/src/renderers/shaders/ShaderChunk.js +6 -0
  554. package/src/renderers/shaders/ShaderLib/background.glsl.js +8 -0
  555. package/src/renderers/shaders/ShaderLib/linedashed.glsl.js +1 -0
  556. package/src/renderers/shaders/ShaderLib/meshbasic.glsl.js +3 -2
  557. package/src/renderers/shaders/ShaderLib/meshlambert.glsl.js +1 -0
  558. package/src/renderers/shaders/ShaderLib/meshmatcap.glsl.js +1 -0
  559. package/src/renderers/shaders/ShaderLib/meshnormal.glsl.js +6 -0
  560. package/src/renderers/shaders/ShaderLib/meshphong.glsl.js +1 -0
  561. package/src/renderers/shaders/ShaderLib/meshphysical.glsl.js +10 -0
  562. package/src/renderers/shaders/ShaderLib/meshtoon.glsl.js +1 -0
  563. package/src/renderers/shaders/ShaderLib/points.glsl.js +1 -0
  564. package/src/renderers/shaders/ShaderLib.js +6 -0
  565. package/src/renderers/shaders/UniformsLib.js +2 -2
  566. package/src/renderers/webgl/WebGLAttributes.js +6 -6
  567. package/src/renderers/webgl/WebGLBackground.js +3 -0
  568. package/src/renderers/webgl/WebGLBindingStates.js +57 -29
  569. package/src/renderers/webgl/WebGLLights.js +0 -1
  570. package/src/renderers/webgl/WebGLMaterials.js +72 -187
  571. package/src/renderers/webgl/WebGLMorphtargets.js +47 -23
  572. package/src/renderers/webgl/WebGLProgram.js +57 -19
  573. package/src/renderers/webgl/WebGLPrograms.js +75 -86
  574. package/src/renderers/webgl/WebGLShaderCache.js +4 -3
  575. package/src/renderers/webgl/WebGLShadowMap.js +6 -8
  576. package/src/renderers/webgl/WebGLTextures.js +567 -380
  577. package/src/renderers/webgl/WebGLUniforms.js +79 -80
  578. package/src/renderers/webgl/WebGLUtils.js +12 -1
  579. package/src/renderers/webxr/WebXRManager.js +60 -45
  580. package/src/scenes/Fog.js +2 -2
  581. package/src/scenes/FogExp2.js +2 -2
  582. package/src/scenes/Scene.js +2 -2
  583. package/src/textures/CanvasTexture.js +2 -2
  584. package/src/textures/CompressedTexture.js +2 -2
  585. package/src/textures/CubeTexture.js +2 -2
  586. package/src/textures/{DataTexture3D.js → Data3DTexture.js} +4 -4
  587. package/src/textures/{DataTexture2DArray.js → DataArrayTexture.js} +4 -4
  588. package/src/textures/DataTexture.js +2 -5
  589. package/src/textures/DepthTexture.js +5 -5
  590. package/src/textures/FramebufferTexture.js +2 -2
  591. package/src/textures/Source.js +123 -0
  592. package/src/textures/Texture.js +27 -97
  593. package/src/textures/VideoTexture.js +2 -2
  594. package/examples/js/csm/Frustum.js +0 -133
  595. package/examples/js/deprecated/Geometry.js +0 -1656
  596. package/examples/js/loaders/VRMLoader.js +0 -72
  597. package/examples/js/objects/ReflectorRTT.js +0 -16
  598. package/examples/js/postprocessing/SSRrPass.js +0 -494
  599. package/examples/js/shaders/SSRrShader.js +0 -336
  600. package/examples/jsm/deprecated/Geometry.js +0 -1869
  601. package/examples/jsm/libs/opentype.module.min.js +0 -119
  602. package/examples/jsm/loaders/NodeMaterialLoader.js +0 -263
  603. package/examples/jsm/loaders/VRMLoader.js +0 -78
  604. package/examples/jsm/nodes/accessors/ColorsNode.js +0 -56
  605. package/examples/jsm/nodes/accessors/LightNode.js +0 -60
  606. package/examples/jsm/nodes/accessors/ResolutionNode.js +0 -64
  607. package/examples/jsm/nodes/accessors/ScreenUVNode.js +0 -64
  608. package/examples/jsm/nodes/core/NodeLib.js +0 -64
  609. package/examples/jsm/nodes/core/StructNode.js +0 -106
  610. package/examples/jsm/nodes/effects/BlurNode.js +0 -171
  611. package/examples/jsm/nodes/effects/ColorAdjustmentNode.js +0 -140
  612. package/examples/jsm/nodes/effects/LuminanceNode.js +0 -75
  613. package/examples/jsm/nodes/inputs/BoolNode.js +0 -51
  614. package/examples/jsm/nodes/inputs/ColorNode.js +0 -58
  615. package/examples/jsm/nodes/inputs/CubeTextureNode.js +0 -108
  616. package/examples/jsm/nodes/inputs/FloatNode.js +0 -51
  617. package/examples/jsm/nodes/inputs/IntNode.js +0 -51
  618. package/examples/jsm/nodes/inputs/Matrix3Node.js +0 -63
  619. package/examples/jsm/nodes/inputs/Matrix4Node.js +0 -63
  620. package/examples/jsm/nodes/inputs/PropertyNode.js +0 -47
  621. package/examples/jsm/nodes/inputs/RTTNode.js +0 -157
  622. package/examples/jsm/nodes/inputs/ReflectorNode.js +0 -90
  623. package/examples/jsm/nodes/inputs/ScreenNode.js +0 -28
  624. package/examples/jsm/nodes/inputs/TextureNode.js +0 -116
  625. package/examples/jsm/nodes/inputs/Vector2Node.js +0 -57
  626. package/examples/jsm/nodes/inputs/Vector3Node.js +0 -58
  627. package/examples/jsm/nodes/inputs/Vector4Node.js +0 -59
  628. package/examples/jsm/nodes/materials/BasicNodeMaterial.js +0 -26
  629. package/examples/jsm/nodes/materials/PhongNodeMaterial.js +0 -36
  630. package/examples/jsm/nodes/materials/StandardNodeMaterial.js +0 -40
  631. package/examples/jsm/nodes/materials/nodes/BasicNode.js +0 -154
  632. package/examples/jsm/nodes/materials/nodes/MeshStandardNode.js +0 -116
  633. package/examples/jsm/nodes/materials/nodes/PhongNode.js +0 -409
  634. package/examples/jsm/nodes/materials/nodes/RawNode.js +0 -62
  635. package/examples/jsm/nodes/materials/nodes/SpriteNode.js +0 -236
  636. package/examples/jsm/nodes/materials/nodes/StandardNode.js +0 -609
  637. package/examples/jsm/nodes/misc/BumpMapNode.js +0 -163
  638. package/examples/jsm/nodes/misc/NormalMapNode.js +0 -138
  639. package/examples/jsm/nodes/misc/TextureCubeNode.js +0 -86
  640. package/examples/jsm/nodes/misc/TextureCubeUVNode.js +0 -280
  641. package/examples/jsm/nodes/postprocessing/NodePass.js +0 -93
  642. package/examples/jsm/nodes/postprocessing/NodePostProcessing.js +0 -148
  643. package/examples/jsm/nodes/procedural/Fractal3DNode.js +0 -104
  644. package/examples/jsm/nodes/procedural/Noise2DNode.js +0 -149
  645. package/examples/jsm/nodes/procedural/Noise3DNode.js +0 -141
  646. package/examples/jsm/nodes/utils/BypassNode.js +0 -85
  647. package/examples/jsm/nodes/utils/ColorSpaceNode.js +0 -145
  648. package/examples/jsm/nodes/utils/MaxMIPLevelNode.js +0 -56
  649. package/examples/jsm/nodes/utils/RemapNode.js +0 -155
  650. package/examples/jsm/nodes/utils/SpecularMIPLevelNode.js +0 -101
  651. package/examples/jsm/nodes/utils/SubSlotNode.js +0 -77
  652. package/examples/jsm/nodes/utils/SwitchNode.js +0 -103
  653. package/examples/jsm/nodes/utils/UVTransformNode.js +0 -66
  654. package/examples/jsm/nodes/utils/VelocityNode.js +0 -170
  655. package/examples/jsm/objects/ReflectorRTT.js +0 -15
  656. package/examples/jsm/postprocessing/SSRrPass.js +0 -579
  657. package/examples/jsm/renderers/nodes/Nodes.js +0 -166
  658. package/examples/jsm/renderers/nodes/ShaderNode.js +0 -373
  659. package/examples/jsm/renderers/nodes/accessors/CameraNode.js +0 -68
  660. package/examples/jsm/renderers/nodes/accessors/NormalNode.js +0 -63
  661. package/examples/jsm/renderers/nodes/accessors/PositionNode.js +0 -67
  662. package/examples/jsm/renderers/nodes/accessors/ReferenceNode.js +0 -91
  663. package/examples/jsm/renderers/nodes/accessors/SkinningNode.js +0 -107
  664. package/examples/jsm/renderers/nodes/accessors/UVNode.js +0 -25
  665. package/examples/jsm/renderers/nodes/core/ArrayInputNode.js +0 -23
  666. package/examples/jsm/renderers/nodes/core/AttributeNode.js +0 -54
  667. package/examples/jsm/renderers/nodes/core/ExpressionNode.js +0 -32
  668. package/examples/jsm/renderers/nodes/core/FunctionCallNode.js +0 -67
  669. package/examples/jsm/renderers/nodes/core/FunctionNode.js +0 -87
  670. package/examples/jsm/renderers/nodes/core/InputNode.js +0 -66
  671. package/examples/jsm/renderers/nodes/core/Node.js +0 -104
  672. package/examples/jsm/renderers/nodes/core/NodeBuilder.js +0 -634
  673. package/examples/jsm/renderers/nodes/core/NodeFrame.js +0 -59
  674. package/examples/jsm/renderers/nodes/core/NodeUniform.js +0 -28
  675. package/examples/jsm/renderers/nodes/core/TempNode.js +0 -43
  676. package/examples/jsm/renderers/nodes/core/VarNode.js +0 -51
  677. package/examples/jsm/renderers/nodes/display/NormalMapNode.js +0 -87
  678. package/examples/jsm/renderers/nodes/functions/BSDFs.js +0 -122
  679. package/examples/jsm/renderers/nodes/functions/PhysicalMaterialFunctions.js +0 -27
  680. package/examples/jsm/renderers/nodes/inputs/BufferNode.js +0 -25
  681. package/examples/jsm/renderers/nodes/inputs/ColorNode.js +0 -18
  682. package/examples/jsm/renderers/nodes/inputs/FloatNode.js +0 -17
  683. package/examples/jsm/renderers/nodes/inputs/IntNode.js +0 -17
  684. package/examples/jsm/renderers/nodes/inputs/Matrix3Node.js +0 -18
  685. package/examples/jsm/renderers/nodes/inputs/Matrix4Node.js +0 -18
  686. package/examples/jsm/renderers/nodes/inputs/TextureNode.js +0 -74
  687. package/examples/jsm/renderers/nodes/inputs/Vector2Node.js +0 -18
  688. package/examples/jsm/renderers/nodes/inputs/Vector3Node.js +0 -18
  689. package/examples/jsm/renderers/nodes/inputs/Vector4Node.js +0 -18
  690. package/examples/jsm/renderers/nodes/lights/LightContextNode.js +0 -59
  691. package/examples/jsm/renderers/nodes/lights/LightNode.js +0 -79
  692. package/examples/jsm/renderers/nodes/lights/LightsNode.js +0 -44
  693. package/examples/jsm/renderers/nodes/materials/Materials.js +0 -11
  694. package/examples/jsm/renderers/nodes/materials/MeshStandardNodeMaterial.js +0 -63
  695. package/examples/jsm/renderers/nodes/math/CondNode.js +0 -60
  696. package/examples/jsm/renderers/nodes/math/MathNode.js +0 -242
  697. package/examples/jsm/renderers/nodes/math/OperatorNode.js +0 -174
  698. package/examples/jsm/renderers/nodes/procedural/CheckerNode.js +0 -36
  699. package/examples/jsm/renderers/nodes/utils/JoinNode.js +0 -42
  700. package/examples/jsm/renderers/nodes/utils/TimerNode.js +0 -47
  701. package/examples/jsm/renderers/webgpu/nodes/WebGPUNodeUniformsGroup.js +0 -20
  702. package/examples/jsm/shaders/SSRrShader.js +0 -307
  703. package/src/renderers/WebGLMultisampleRenderTarget.js +0 -33
@@ -1,1965 +1,94 @@
1
- import { Audio } from './audio/Audio.js';
2
- import { AudioAnalyser } from './audio/AudioAnalyser.js';
3
- import { PerspectiveCamera } from './cameras/PerspectiveCamera.js';
4
- import {
5
- FlatShading,
6
- sRGBEncoding,
7
- LinearEncoding,
8
- StaticDrawUsage,
9
- DynamicDrawUsage,
10
- TrianglesDrawMode
11
- } from './constants.js';
12
- import {
13
- Float64BufferAttribute,
14
- Float32BufferAttribute,
15
- Uint32BufferAttribute,
16
- Int32BufferAttribute,
17
- Uint16BufferAttribute,
18
- Int16BufferAttribute,
19
- Uint8ClampedBufferAttribute,
20
- Uint8BufferAttribute,
21
- Int8BufferAttribute,
22
- BufferAttribute
23
- } from './core/BufferAttribute.js';
24
1
  import { BufferGeometry } from './core/BufferGeometry.js';
25
- import { InterleavedBuffer } from './core/InterleavedBuffer.js';
26
- import { Object3D } from './core/Object3D.js';
27
- import { Uniform } from './core/Uniform.js';
28
- import { Curve } from './extras/core/Curve.js';
29
- import { Path } from './extras/core/Path.js';
30
- import { AxesHelper } from './helpers/AxesHelper.js';
31
- import { BoxHelper } from './helpers/BoxHelper.js';
32
- import { GridHelper } from './helpers/GridHelper.js';
33
- import { SkeletonHelper } from './helpers/SkeletonHelper.js';
34
- import { EdgesGeometry } from './geometries/EdgesGeometry.js';
35
- import { ExtrudeGeometry } from './geometries/ExtrudeGeometry.js';
36
- import { ShapeGeometry } from './geometries/ShapeGeometry.js';
37
- import { WireframeGeometry } from './geometries/WireframeGeometry.js';
38
- import { Light } from './lights/Light.js';
39
- import { Loader } from './loaders/Loader.js';
40
- import { LoaderUtils } from './loaders/LoaderUtils.js';
41
- import { FileLoader } from './loaders/FileLoader.js';
42
- import { AudioLoader } from './loaders/AudioLoader.js';
43
- import { CubeTextureLoader } from './loaders/CubeTextureLoader.js';
44
- import { DataTextureLoader } from './loaders/DataTextureLoader.js';
45
- import { TextureLoader } from './loaders/TextureLoader.js';
46
- import { Material } from './materials/Material.js';
47
- import { LineBasicMaterial } from './materials/LineBasicMaterial.js';
48
- import { PointsMaterial } from './materials/PointsMaterial.js';
49
- import { ShaderMaterial } from './materials/ShaderMaterial.js';
50
- import { Box2 } from './math/Box2.js';
51
- import { Box3 } from './math/Box3.js';
52
- import { Sphere } from './math/Sphere.js';
53
- import { Color } from './math/Color.js';
54
- import { Frustum } from './math/Frustum.js';
55
- import { Line3 } from './math/Line3.js';
56
- import * as MathUtils from './math/MathUtils.js';
57
- import { Matrix3 } from './math/Matrix3.js';
58
- import { Matrix4 } from './math/Matrix4.js';
59
- import { Plane } from './math/Plane.js';
60
- import { Quaternion } from './math/Quaternion.js';
61
- import { Ray } from './math/Ray.js';
62
- import { Triangle } from './math/Triangle.js';
63
- import { Vector2 } from './math/Vector2.js';
64
- import { Vector3 } from './math/Vector3.js';
65
- import { Vector4 } from './math/Vector4.js';
66
- import { Mesh } from './objects/Mesh.js';
67
- import { LineSegments } from './objects/LineSegments.js';
68
- import { Points } from './objects/Points.js';
69
- import { Sprite } from './objects/Sprite.js';
70
- import { SkinnedMesh } from './objects/SkinnedMesh.js';
71
- import { WebGLRenderer } from './renderers/WebGLRenderer.js';
72
2
  import { WebGLRenderTarget } from './renderers/WebGLRenderTarget.js';
73
- import { WebGLCubeRenderTarget } from './renderers/WebGLCubeRenderTarget.js';
74
- import { WebGLShadowMap } from './renderers/webgl/WebGLShadowMap.js';
75
- import { ImageUtils } from './extras/ImageUtils.js';
76
- import { Shape } from './extras/core/Shape.js';
77
- import { CubeCamera } from './cameras/CubeCamera.js';
78
- import { Scene } from './scenes/Scene.js';
3
+ import { DataArrayTexture } from './textures/DataArrayTexture.js';
4
+ import { Data3DTexture } from './textures/Data3DTexture.js';
79
5
 
80
- export { MathUtils as Math };
6
+ // r133, c5bb5434555a3c3ddd784944a0a124f996fc721b
81
7
 
82
- export const LineStrip = 0;
83
- export const LinePieces = 1;
84
- export const NoColors = 0;
85
- export const FaceColors = 1;
86
- export const VertexColors = 2;
8
+ export class ParametricGeometry extends BufferGeometry {
87
9
 
88
- export function MeshFaceMaterial( materials ) {
10
+ constructor() {
89
11
 
90
- console.warn( 'THREE.MeshFaceMaterial has been removed. Use an Array instead.' );
91
- return materials;
12
+ console.error( 'THREE.ParametricGeometry has been moved to /examples/jsm/geometries/ParametricGeometry.js' );
13
+ super();
92
14
 
93
- }
94
-
95
- export function MultiMaterial( materials = [] ) {
96
-
97
- console.warn( 'THREE.MultiMaterial has been removed. Use an Array instead.' );
98
- materials.isMultiMaterial = true;
99
- materials.materials = materials;
100
- materials.clone = function () {
101
-
102
- return materials.slice();
103
-
104
- };
105
-
106
- return materials;
107
-
108
- }
109
-
110
- export function PointCloud( geometry, material ) {
111
-
112
- console.warn( 'THREE.PointCloud has been renamed to THREE.Points.' );
113
- return new Points( geometry, material );
114
-
115
- }
116
-
117
- export function Particle( material ) {
118
-
119
- console.warn( 'THREE.Particle has been renamed to THREE.Sprite.' );
120
- return new Sprite( material );
121
-
122
- }
123
-
124
- export function ParticleSystem( geometry, material ) {
125
-
126
- console.warn( 'THREE.ParticleSystem has been renamed to THREE.Points.' );
127
- return new Points( geometry, material );
128
-
129
- }
130
-
131
- export function PointCloudMaterial( parameters ) {
132
-
133
- console.warn( 'THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial.' );
134
- return new PointsMaterial( parameters );
135
-
136
- }
137
-
138
- export function ParticleBasicMaterial( parameters ) {
139
-
140
- console.warn( 'THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial.' );
141
- return new PointsMaterial( parameters );
142
-
143
- }
144
-
145
- export function ParticleSystemMaterial( parameters ) {
146
-
147
- console.warn( 'THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial.' );
148
- return new PointsMaterial( parameters );
149
-
150
- }
151
-
152
- export function Vertex( x, y, z ) {
153
-
154
- console.warn( 'THREE.Vertex has been removed. Use THREE.Vector3 instead.' );
155
- return new Vector3( x, y, z );
156
-
157
- }
158
-
159
- //
160
-
161
- export function DynamicBufferAttribute( array, itemSize ) {
162
-
163
- console.warn( 'THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setUsage( THREE.DynamicDrawUsage ) instead.' );
164
- return new BufferAttribute( array, itemSize ).setUsage( DynamicDrawUsage );
165
-
166
- }
167
-
168
- export function Int8Attribute( array, itemSize ) {
169
-
170
- console.warn( 'THREE.Int8Attribute has been removed. Use new THREE.Int8BufferAttribute() instead.' );
171
- return new Int8BufferAttribute( array, itemSize );
172
-
173
- }
174
-
175
- export function Uint8Attribute( array, itemSize ) {
176
-
177
- console.warn( 'THREE.Uint8Attribute has been removed. Use new THREE.Uint8BufferAttribute() instead.' );
178
- return new Uint8BufferAttribute( array, itemSize );
179
-
180
- }
181
-
182
- export function Uint8ClampedAttribute( array, itemSize ) {
183
-
184
- console.warn( 'THREE.Uint8ClampedAttribute has been removed. Use new THREE.Uint8ClampedBufferAttribute() instead.' );
185
- return new Uint8ClampedBufferAttribute( array, itemSize );
186
-
187
- }
188
-
189
- export function Int16Attribute( array, itemSize ) {
190
-
191
- console.warn( 'THREE.Int16Attribute has been removed. Use new THREE.Int16BufferAttribute() instead.' );
192
- return new Int16BufferAttribute( array, itemSize );
193
-
194
- }
195
-
196
- export function Uint16Attribute( array, itemSize ) {
197
-
198
- console.warn( 'THREE.Uint16Attribute has been removed. Use new THREE.Uint16BufferAttribute() instead.' );
199
- return new Uint16BufferAttribute( array, itemSize );
200
-
201
- }
202
-
203
- export function Int32Attribute( array, itemSize ) {
204
-
205
- console.warn( 'THREE.Int32Attribute has been removed. Use new THREE.Int32BufferAttribute() instead.' );
206
- return new Int32BufferAttribute( array, itemSize );
207
-
208
- }
209
-
210
- export function Uint32Attribute( array, itemSize ) {
211
-
212
- console.warn( 'THREE.Uint32Attribute has been removed. Use new THREE.Uint32BufferAttribute() instead.' );
213
- return new Uint32BufferAttribute( array, itemSize );
214
-
215
- }
216
-
217
- export function Float32Attribute( array, itemSize ) {
218
-
219
- console.warn( 'THREE.Float32Attribute has been removed. Use new THREE.Float32BufferAttribute() instead.' );
220
- return new Float32BufferAttribute( array, itemSize );
221
-
222
- }
223
-
224
- export function Float64Attribute( array, itemSize ) {
225
-
226
- console.warn( 'THREE.Float64Attribute has been removed. Use new THREE.Float64BufferAttribute() instead.' );
227
- return new Float64BufferAttribute( array, itemSize );
228
-
229
- }
230
-
231
- //
232
-
233
- Curve.create = function ( construct, getPoint ) {
234
-
235
- console.log( 'THREE.Curve.create() has been deprecated' );
236
-
237
- construct.prototype = Object.create( Curve.prototype );
238
- construct.prototype.constructor = construct;
239
- construct.prototype.getPoint = getPoint;
240
-
241
- return construct;
242
-
243
- };
244
-
245
- //
246
-
247
- Path.prototype.fromPoints = function ( points ) {
248
-
249
- console.warn( 'THREE.Path: .fromPoints() has been renamed to .setFromPoints().' );
250
- return this.setFromPoints( points );
251
-
252
- };
253
-
254
- //
255
-
256
- export function AxisHelper( size ) {
257
-
258
- console.warn( 'THREE.AxisHelper has been renamed to THREE.AxesHelper.' );
259
- return new AxesHelper( size );
260
-
261
- }
262
-
263
- export function BoundingBoxHelper( object, color ) {
264
-
265
- console.warn( 'THREE.BoundingBoxHelper has been deprecated. Creating a THREE.BoxHelper instead.' );
266
- return new BoxHelper( object, color );
267
-
268
- }
269
-
270
- export function EdgesHelper( object, hex ) {
271
-
272
- console.warn( 'THREE.EdgesHelper has been removed. Use THREE.EdgesGeometry instead.' );
273
- return new LineSegments( new EdgesGeometry( object.geometry ), new LineBasicMaterial( { color: hex !== undefined ? hex : 0xffffff } ) );
274
-
275
- }
276
-
277
- GridHelper.prototype.setColors = function () {
278
-
279
- console.error( 'THREE.GridHelper: setColors() has been deprecated, pass them in the constructor instead.' );
280
-
281
- };
282
-
283
- SkeletonHelper.prototype.update = function () {
284
-
285
- console.error( 'THREE.SkeletonHelper: update() no longer needs to be called.' );
286
-
287
- };
288
-
289
- export function WireframeHelper( object, hex ) {
290
-
291
- console.warn( 'THREE.WireframeHelper has been removed. Use THREE.WireframeGeometry instead.' );
292
- return new LineSegments( new WireframeGeometry( object.geometry ), new LineBasicMaterial( { color: hex !== undefined ? hex : 0xffffff } ) );
293
-
294
- }
295
-
296
- //
297
-
298
- Loader.prototype.extractUrlBase = function ( url ) {
299
-
300
- console.warn( 'THREE.Loader: .extractUrlBase() has been deprecated. Use THREE.LoaderUtils.extractUrlBase() instead.' );
301
- return LoaderUtils.extractUrlBase( url );
302
-
303
- };
304
-
305
- Loader.Handlers = {
306
-
307
- add: function ( /* regex, loader */ ) {
308
-
309
- console.error( 'THREE.Loader: Handlers.add() has been removed. Use LoadingManager.addHandler() instead.' );
310
-
311
- },
312
-
313
- get: function ( /* file */ ) {
314
-
315
- console.error( 'THREE.Loader: Handlers.get() has been removed. Use LoadingManager.getHandler() instead.' );
316
-
317
- }
318
-
319
- };
320
-
321
- export function XHRLoader( manager ) {
322
-
323
- console.warn( 'THREE.XHRLoader has been renamed to THREE.FileLoader.' );
324
- return new FileLoader( manager );
325
-
326
- }
327
-
328
- export function BinaryTextureLoader( manager ) {
329
-
330
- console.warn( 'THREE.BinaryTextureLoader has been renamed to THREE.DataTextureLoader.' );
331
- return new DataTextureLoader( manager );
332
-
333
- }
334
-
335
- //
336
-
337
- Box2.prototype.center = function ( optionalTarget ) {
338
-
339
- console.warn( 'THREE.Box2: .center() has been renamed to .getCenter().' );
340
- return this.getCenter( optionalTarget );
341
-
342
- };
343
-
344
- Box2.prototype.empty = function () {
345
-
346
- console.warn( 'THREE.Box2: .empty() has been renamed to .isEmpty().' );
347
- return this.isEmpty();
348
-
349
- };
350
-
351
- Box2.prototype.isIntersectionBox = function ( box ) {
352
-
353
- console.warn( 'THREE.Box2: .isIntersectionBox() has been renamed to .intersectsBox().' );
354
- return this.intersectsBox( box );
355
-
356
- };
357
-
358
- Box2.prototype.size = function ( optionalTarget ) {
359
-
360
- console.warn( 'THREE.Box2: .size() has been renamed to .getSize().' );
361
- return this.getSize( optionalTarget );
362
-
363
- };
364
-
365
- //
366
-
367
- Box3.prototype.center = function ( optionalTarget ) {
368
-
369
- console.warn( 'THREE.Box3: .center() has been renamed to .getCenter().' );
370
- return this.getCenter( optionalTarget );
371
-
372
- };
373
-
374
- Box3.prototype.empty = function () {
375
-
376
- console.warn( 'THREE.Box3: .empty() has been renamed to .isEmpty().' );
377
- return this.isEmpty();
378
-
379
- };
380
-
381
- Box3.prototype.isIntersectionBox = function ( box ) {
382
-
383
- console.warn( 'THREE.Box3: .isIntersectionBox() has been renamed to .intersectsBox().' );
384
- return this.intersectsBox( box );
385
-
386
- };
387
-
388
- Box3.prototype.isIntersectionSphere = function ( sphere ) {
389
-
390
- console.warn( 'THREE.Box3: .isIntersectionSphere() has been renamed to .intersectsSphere().' );
391
- return this.intersectsSphere( sphere );
392
-
393
- };
394
-
395
- Box3.prototype.size = function ( optionalTarget ) {
396
-
397
- console.warn( 'THREE.Box3: .size() has been renamed to .getSize().' );
398
- return this.getSize( optionalTarget );
399
-
400
- };
401
-
402
- //
403
-
404
- Sphere.prototype.empty = function () {
405
-
406
- console.warn( 'THREE.Sphere: .empty() has been renamed to .isEmpty().' );
407
- return this.isEmpty();
408
-
409
- };
410
-
411
- //
412
-
413
- Frustum.prototype.setFromMatrix = function ( m ) {
414
-
415
- console.warn( 'THREE.Frustum: .setFromMatrix() has been renamed to .setFromProjectionMatrix().' );
416
- return this.setFromProjectionMatrix( m );
417
-
418
- };
419
-
420
- //
421
-
422
- Line3.prototype.center = function ( optionalTarget ) {
423
-
424
- console.warn( 'THREE.Line3: .center() has been renamed to .getCenter().' );
425
- return this.getCenter( optionalTarget );
426
-
427
- };
428
-
429
- //
430
-
431
- Matrix3.prototype.flattenToArrayOffset = function ( array, offset ) {
432
-
433
- console.warn( 'THREE.Matrix3: .flattenToArrayOffset() has been deprecated. Use .toArray() instead.' );
434
- return this.toArray( array, offset );
435
-
436
- };
437
-
438
- Matrix3.prototype.multiplyVector3 = function ( vector ) {
439
-
440
- console.warn( 'THREE.Matrix3: .multiplyVector3() has been removed. Use vector.applyMatrix3( matrix ) instead.' );
441
- return vector.applyMatrix3( this );
442
-
443
- };
444
-
445
- Matrix3.prototype.multiplyVector3Array = function ( /* a */ ) {
446
-
447
- console.error( 'THREE.Matrix3: .multiplyVector3Array() has been removed.' );
448
-
449
- };
450
-
451
- Matrix3.prototype.applyToBufferAttribute = function ( attribute ) {
452
-
453
- console.warn( 'THREE.Matrix3: .applyToBufferAttribute() has been removed. Use attribute.applyMatrix3( matrix ) instead.' );
454
- return attribute.applyMatrix3( this );
455
-
456
- };
457
-
458
- Matrix3.prototype.applyToVector3Array = function ( /* array, offset, length */ ) {
459
-
460
- console.error( 'THREE.Matrix3: .applyToVector3Array() has been removed.' );
461
-
462
- };
463
-
464
- Matrix3.prototype.getInverse = function ( matrix ) {
465
-
466
- console.warn( 'THREE.Matrix3: .getInverse() has been removed. Use matrixInv.copy( matrix ).invert(); instead.' );
467
- return this.copy( matrix ).invert();
468
-
469
- };
470
-
471
- //
472
-
473
- Matrix4.prototype.extractPosition = function ( m ) {
474
-
475
- console.warn( 'THREE.Matrix4: .extractPosition() has been renamed to .copyPosition().' );
476
- return this.copyPosition( m );
477
-
478
- };
479
-
480
- Matrix4.prototype.flattenToArrayOffset = function ( array, offset ) {
481
-
482
- console.warn( 'THREE.Matrix4: .flattenToArrayOffset() has been deprecated. Use .toArray() instead.' );
483
- return this.toArray( array, offset );
484
-
485
- };
486
-
487
- Matrix4.prototype.getPosition = function () {
488
-
489
- console.warn( 'THREE.Matrix4: .getPosition() has been removed. Use Vector3.setFromMatrixPosition( matrix ) instead.' );
490
- return new Vector3().setFromMatrixColumn( this, 3 );
491
-
492
- };
493
-
494
- Matrix4.prototype.setRotationFromQuaternion = function ( q ) {
495
-
496
- console.warn( 'THREE.Matrix4: .setRotationFromQuaternion() has been renamed to .makeRotationFromQuaternion().' );
497
- return this.makeRotationFromQuaternion( q );
498
-
499
- };
500
-
501
- Matrix4.prototype.multiplyToArray = function () {
502
-
503
- console.warn( 'THREE.Matrix4: .multiplyToArray() has been removed.' );
504
-
505
- };
506
-
507
- Matrix4.prototype.multiplyVector3 = function ( vector ) {
508
-
509
- console.warn( 'THREE.Matrix4: .multiplyVector3() has been removed. Use vector.applyMatrix4( matrix ) instead.' );
510
- return vector.applyMatrix4( this );
511
-
512
- };
513
-
514
- Matrix4.prototype.multiplyVector4 = function ( vector ) {
515
-
516
- console.warn( 'THREE.Matrix4: .multiplyVector4() has been removed. Use vector.applyMatrix4( matrix ) instead.' );
517
- return vector.applyMatrix4( this );
518
-
519
- };
520
-
521
- Matrix4.prototype.multiplyVector3Array = function ( /* a */ ) {
522
-
523
- console.error( 'THREE.Matrix4: .multiplyVector3Array() has been removed.' );
524
-
525
- };
526
-
527
- Matrix4.prototype.rotateAxis = function ( v ) {
528
-
529
- console.warn( 'THREE.Matrix4: .rotateAxis() has been removed. Use Vector3.transformDirection( matrix ) instead.' );
530
- v.transformDirection( this );
531
-
532
- };
533
-
534
- Matrix4.prototype.crossVector = function ( vector ) {
535
-
536
- console.warn( 'THREE.Matrix4: .crossVector() has been removed. Use vector.applyMatrix4( matrix ) instead.' );
537
- return vector.applyMatrix4( this );
538
-
539
- };
540
-
541
- Matrix4.prototype.translate = function () {
542
-
543
- console.error( 'THREE.Matrix4: .translate() has been removed.' );
544
-
545
- };
546
-
547
- Matrix4.prototype.rotateX = function () {
548
-
549
- console.error( 'THREE.Matrix4: .rotateX() has been removed.' );
550
-
551
- };
552
-
553
- Matrix4.prototype.rotateY = function () {
554
-
555
- console.error( 'THREE.Matrix4: .rotateY() has been removed.' );
556
-
557
- };
558
-
559
- Matrix4.prototype.rotateZ = function () {
560
-
561
- console.error( 'THREE.Matrix4: .rotateZ() has been removed.' );
562
-
563
- };
564
-
565
- Matrix4.prototype.rotateByAxis = function () {
566
-
567
- console.error( 'THREE.Matrix4: .rotateByAxis() has been removed.' );
568
-
569
- };
570
-
571
- Matrix4.prototype.applyToBufferAttribute = function ( attribute ) {
572
-
573
- console.warn( 'THREE.Matrix4: .applyToBufferAttribute() has been removed. Use attribute.applyMatrix4( matrix ) instead.' );
574
- return attribute.applyMatrix4( this );
575
-
576
- };
577
-
578
- Matrix4.prototype.applyToVector3Array = function ( /* array, offset, length */ ) {
579
-
580
- console.error( 'THREE.Matrix4: .applyToVector3Array() has been removed.' );
581
-
582
- };
583
-
584
- Matrix4.prototype.makeFrustum = function ( left, right, bottom, top, near, far ) {
585
-
586
- console.warn( 'THREE.Matrix4: .makeFrustum() has been removed. Use .makePerspective( left, right, top, bottom, near, far ) instead.' );
587
- return this.makePerspective( left, right, top, bottom, near, far );
588
-
589
- };
590
-
591
- Matrix4.prototype.getInverse = function ( matrix ) {
592
-
593
- console.warn( 'THREE.Matrix4: .getInverse() has been removed. Use matrixInv.copy( matrix ).invert(); instead.' );
594
- return this.copy( matrix ).invert();
595
-
596
- };
597
-
598
- //
599
-
600
- Plane.prototype.isIntersectionLine = function ( line ) {
601
-
602
- console.warn( 'THREE.Plane: .isIntersectionLine() has been renamed to .intersectsLine().' );
603
- return this.intersectsLine( line );
604
-
605
- };
606
-
607
- //
608
-
609
- Quaternion.prototype.multiplyVector3 = function ( vector ) {
610
-
611
- console.warn( 'THREE.Quaternion: .multiplyVector3() has been removed. Use is now vector.applyQuaternion( quaternion ) instead.' );
612
- return vector.applyQuaternion( this );
613
-
614
- };
615
-
616
- Quaternion.prototype.inverse = function ( ) {
617
-
618
- console.warn( 'THREE.Quaternion: .inverse() has been renamed to invert().' );
619
- return this.invert();
620
-
621
- };
622
-
623
- //
624
-
625
- Ray.prototype.isIntersectionBox = function ( box ) {
626
-
627
- console.warn( 'THREE.Ray: .isIntersectionBox() has been renamed to .intersectsBox().' );
628
- return this.intersectsBox( box );
629
-
630
- };
631
-
632
- Ray.prototype.isIntersectionPlane = function ( plane ) {
633
-
634
- console.warn( 'THREE.Ray: .isIntersectionPlane() has been renamed to .intersectsPlane().' );
635
- return this.intersectsPlane( plane );
636
-
637
- };
638
-
639
- Ray.prototype.isIntersectionSphere = function ( sphere ) {
640
-
641
- console.warn( 'THREE.Ray: .isIntersectionSphere() has been renamed to .intersectsSphere().' );
642
- return this.intersectsSphere( sphere );
643
-
644
- };
645
-
646
- //
647
-
648
- Triangle.prototype.area = function () {
649
-
650
- console.warn( 'THREE.Triangle: .area() has been renamed to .getArea().' );
651
- return this.getArea();
652
-
653
- };
654
-
655
- Triangle.prototype.barycoordFromPoint = function ( point, target ) {
656
-
657
- console.warn( 'THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord().' );
658
- return this.getBarycoord( point, target );
659
-
660
- };
661
-
662
- Triangle.prototype.midpoint = function ( target ) {
663
-
664
- console.warn( 'THREE.Triangle: .midpoint() has been renamed to .getMidpoint().' );
665
- return this.getMidpoint( target );
666
-
667
- };
668
-
669
- Triangle.prototypenormal = function ( target ) {
670
-
671
- console.warn( 'THREE.Triangle: .normal() has been renamed to .getNormal().' );
672
- return this.getNormal( target );
673
-
674
- };
675
-
676
- Triangle.prototype.plane = function ( target ) {
677
-
678
- console.warn( 'THREE.Triangle: .plane() has been renamed to .getPlane().' );
679
- return this.getPlane( target );
680
-
681
- };
682
-
683
- Triangle.barycoordFromPoint = function ( point, a, b, c, target ) {
684
-
685
- console.warn( 'THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord().' );
686
- return Triangle.getBarycoord( point, a, b, c, target );
687
-
688
- };
689
-
690
- Triangle.normal = function ( a, b, c, target ) {
691
-
692
- console.warn( 'THREE.Triangle: .normal() has been renamed to .getNormal().' );
693
- return Triangle.getNormal( a, b, c, target );
694
-
695
- };
696
-
697
- //
698
-
699
- Shape.prototype.extractAllPoints = function ( divisions ) {
700
-
701
- console.warn( 'THREE.Shape: .extractAllPoints() has been removed. Use .extractPoints() instead.' );
702
- return this.extractPoints( divisions );
703
-
704
- };
705
-
706
- Shape.prototype.extrude = function ( options ) {
707
-
708
- console.warn( 'THREE.Shape: .extrude() has been removed. Use ExtrudeGeometry() instead.' );
709
- return new ExtrudeGeometry( this, options );
710
-
711
- };
712
-
713
- Shape.prototype.makeGeometry = function ( options ) {
714
-
715
- console.warn( 'THREE.Shape: .makeGeometry() has been removed. Use ShapeGeometry() instead.' );
716
- return new ShapeGeometry( this, options );
717
-
718
- };
719
-
720
- //
721
-
722
- Vector2.prototype.fromAttribute = function ( attribute, index, offset ) {
723
-
724
- console.warn( 'THREE.Vector2: .fromAttribute() has been renamed to .fromBufferAttribute().' );
725
- return this.fromBufferAttribute( attribute, index, offset );
726
-
727
- };
728
-
729
- Vector2.prototype.distanceToManhattan = function ( v ) {
730
-
731
- console.warn( 'THREE.Vector2: .distanceToManhattan() has been renamed to .manhattanDistanceTo().' );
732
- return this.manhattanDistanceTo( v );
733
-
734
- };
735
-
736
- Vector2.prototype.lengthManhattan = function () {
737
-
738
- console.warn( 'THREE.Vector2: .lengthManhattan() has been renamed to .manhattanLength().' );
739
- return this.manhattanLength();
740
-
741
- };
742
-
743
- //
744
-
745
- Vector3.prototype.setEulerFromRotationMatrix = function () {
746
-
747
- console.error( 'THREE.Vector3: .setEulerFromRotationMatrix() has been removed. Use Euler.setFromRotationMatrix() instead.' );
748
-
749
- };
750
-
751
- Vector3.prototype.setEulerFromQuaternion = function () {
752
-
753
- console.error( 'THREE.Vector3: .setEulerFromQuaternion() has been removed. Use Euler.setFromQuaternion() instead.' );
754
-
755
- };
756
-
757
- Vector3.prototype.getPositionFromMatrix = function ( m ) {
758
-
759
- console.warn( 'THREE.Vector3: .getPositionFromMatrix() has been renamed to .setFromMatrixPosition().' );
760
- return this.setFromMatrixPosition( m );
761
-
762
- };
763
-
764
- Vector3.prototype.getScaleFromMatrix = function ( m ) {
765
-
766
- console.warn( 'THREE.Vector3: .getScaleFromMatrix() has been renamed to .setFromMatrixScale().' );
767
- return this.setFromMatrixScale( m );
768
-
769
- };
770
-
771
- Vector3.prototype.getColumnFromMatrix = function ( index, matrix ) {
772
-
773
- console.warn( 'THREE.Vector3: .getColumnFromMatrix() has been renamed to .setFromMatrixColumn().' );
774
- return this.setFromMatrixColumn( matrix, index );
775
-
776
- };
777
-
778
- Vector3.prototype.applyProjection = function ( m ) {
779
-
780
- console.warn( 'THREE.Vector3: .applyProjection() has been removed. Use .applyMatrix4( m ) instead.' );
781
- return this.applyMatrix4( m );
782
-
783
- };
784
-
785
- Vector3.prototype.fromAttribute = function ( attribute, index, offset ) {
786
-
787
- console.warn( 'THREE.Vector3: .fromAttribute() has been renamed to .fromBufferAttribute().' );
788
- return this.fromBufferAttribute( attribute, index, offset );
789
-
790
- };
791
-
792
- Vector3.prototype.distanceToManhattan = function ( v ) {
793
-
794
- console.warn( 'THREE.Vector3: .distanceToManhattan() has been renamed to .manhattanDistanceTo().' );
795
- return this.manhattanDistanceTo( v );
796
-
797
- };
798
-
799
- Vector3.prototype.lengthManhattan = function () {
800
-
801
- console.warn( 'THREE.Vector3: .lengthManhattan() has been renamed to .manhattanLength().' );
802
- return this.manhattanLength();
803
-
804
- };
805
-
806
- //
807
-
808
- Vector4.prototype.fromAttribute = function ( attribute, index, offset ) {
809
-
810
- console.warn( 'THREE.Vector4: .fromAttribute() has been renamed to .fromBufferAttribute().' );
811
- return this.fromBufferAttribute( attribute, index, offset );
812
-
813
- };
814
-
815
- Vector4.prototype.lengthManhattan = function () {
816
-
817
- console.warn( 'THREE.Vector4: .lengthManhattan() has been renamed to .manhattanLength().' );
818
- return this.manhattanLength();
819
-
820
- };
821
-
822
- //
823
-
824
- Object3D.prototype.getChildByName = function ( name ) {
825
-
826
- console.warn( 'THREE.Object3D: .getChildByName() has been renamed to .getObjectByName().' );
827
- return this.getObjectByName( name );
828
-
829
- };
830
-
831
- Object3D.prototype.renderDepth = function () {
832
-
833
- console.warn( 'THREE.Object3D: .renderDepth has been removed. Use .renderOrder, instead.' );
834
-
835
- };
836
-
837
- Object3D.prototype.translate = function ( distance, axis ) {
838
-
839
- console.warn( 'THREE.Object3D: .translate() has been removed. Use .translateOnAxis( axis, distance ) instead.' );
840
- return this.translateOnAxis( axis, distance );
841
-
842
- };
843
-
844
- Object3D.prototype.getWorldRotation = function () {
845
-
846
- console.error( 'THREE.Object3D: .getWorldRotation() has been removed. Use THREE.Object3D.getWorldQuaternion( target ) instead.' );
847
-
848
- };
849
-
850
- Object3D.prototype.applyMatrix = function ( matrix ) {
851
-
852
- console.warn( 'THREE.Object3D: .applyMatrix() has been renamed to .applyMatrix4().' );
853
- return this.applyMatrix4( matrix );
854
-
855
- };
856
-
857
- Object.defineProperties( Object3D.prototype, {
858
-
859
- eulerOrder: {
860
- get: function () {
861
-
862
- console.warn( 'THREE.Object3D: .eulerOrder is now .rotation.order.' );
863
- return this.rotation.order;
864
-
865
- },
866
- set: function ( value ) {
867
-
868
- console.warn( 'THREE.Object3D: .eulerOrder is now .rotation.order.' );
869
- this.rotation.order = value;
870
-
871
- }
872
- },
873
- useQuaternion: {
874
- get: function () {
875
-
876
- console.warn( 'THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.' );
877
-
878
- },
879
- set: function () {
880
-
881
- console.warn( 'THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.' );
882
-
883
- }
884
- }
885
-
886
- } );
887
-
888
- Mesh.prototype.setDrawMode = function () {
889
-
890
- console.error( 'THREE.Mesh: .setDrawMode() has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.' );
891
-
892
- };
893
-
894
- Object.defineProperties( Mesh.prototype, {
895
-
896
- drawMode: {
897
- get: function () {
898
-
899
- console.error( 'THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode.' );
900
- return TrianglesDrawMode;
901
-
902
- },
903
- set: function () {
904
-
905
- console.error( 'THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.' );
906
-
907
- }
908
- }
909
-
910
- } );
911
-
912
- SkinnedMesh.prototype.initBones = function () {
913
-
914
- console.error( 'THREE.SkinnedMesh: initBones() has been removed.' );
915
-
916
- };
917
-
918
- //
919
-
920
- PerspectiveCamera.prototype.setLens = function ( focalLength, filmGauge ) {
921
-
922
- console.warn( 'THREE.PerspectiveCamera.setLens is deprecated. ' +
923
- 'Use .setFocalLength and .filmGauge for a photographic setup.' );
924
-
925
- if ( filmGauge !== undefined ) this.filmGauge = filmGauge;
926
- this.setFocalLength( focalLength );
927
-
928
- };
929
-
930
- //
931
-
932
- Object.defineProperties( Light.prototype, {
933
- onlyShadow: {
934
- set: function () {
935
-
936
- console.warn( 'THREE.Light: .onlyShadow has been removed.' );
937
-
938
- }
939
- },
940
- shadowCameraFov: {
941
- set: function ( value ) {
942
-
943
- console.warn( 'THREE.Light: .shadowCameraFov is now .shadow.camera.fov.' );
944
- this.shadow.camera.fov = value;
945
-
946
- }
947
- },
948
- shadowCameraLeft: {
949
- set: function ( value ) {
950
-
951
- console.warn( 'THREE.Light: .shadowCameraLeft is now .shadow.camera.left.' );
952
- this.shadow.camera.left = value;
953
-
954
- }
955
- },
956
- shadowCameraRight: {
957
- set: function ( value ) {
958
-
959
- console.warn( 'THREE.Light: .shadowCameraRight is now .shadow.camera.right.' );
960
- this.shadow.camera.right = value;
961
-
962
- }
963
- },
964
- shadowCameraTop: {
965
- set: function ( value ) {
966
-
967
- console.warn( 'THREE.Light: .shadowCameraTop is now .shadow.camera.top.' );
968
- this.shadow.camera.top = value;
969
-
970
- }
971
- },
972
- shadowCameraBottom: {
973
- set: function ( value ) {
974
-
975
- console.warn( 'THREE.Light: .shadowCameraBottom is now .shadow.camera.bottom.' );
976
- this.shadow.camera.bottom = value;
977
-
978
- }
979
- },
980
- shadowCameraNear: {
981
- set: function ( value ) {
982
-
983
- console.warn( 'THREE.Light: .shadowCameraNear is now .shadow.camera.near.' );
984
- this.shadow.camera.near = value;
985
-
986
- }
987
- },
988
- shadowCameraFar: {
989
- set: function ( value ) {
990
-
991
- console.warn( 'THREE.Light: .shadowCameraFar is now .shadow.camera.far.' );
992
- this.shadow.camera.far = value;
993
-
994
- }
995
- },
996
- shadowCameraVisible: {
997
- set: function () {
998
-
999
- console.warn( 'THREE.Light: .shadowCameraVisible has been removed. Use new THREE.CameraHelper( light.shadow.camera ) instead.' );
1000
-
1001
- }
1002
- },
1003
- shadowBias: {
1004
- set: function ( value ) {
1005
-
1006
- console.warn( 'THREE.Light: .shadowBias is now .shadow.bias.' );
1007
- this.shadow.bias = value;
1008
-
1009
- }
1010
- },
1011
- shadowDarkness: {
1012
- set: function () {
1013
-
1014
- console.warn( 'THREE.Light: .shadowDarkness has been removed.' );
1015
-
1016
- }
1017
- },
1018
- shadowMapWidth: {
1019
- set: function ( value ) {
1020
-
1021
- console.warn( 'THREE.Light: .shadowMapWidth is now .shadow.mapSize.width.' );
1022
- this.shadow.mapSize.width = value;
1023
-
1024
- }
1025
- },
1026
- shadowMapHeight: {
1027
- set: function ( value ) {
1028
-
1029
- console.warn( 'THREE.Light: .shadowMapHeight is now .shadow.mapSize.height.' );
1030
- this.shadow.mapSize.height = value;
1031
-
1032
- }
1033
- }
1034
- } );
1035
-
1036
- //
1037
-
1038
- Object.defineProperties( BufferAttribute.prototype, {
1039
-
1040
- length: {
1041
- get: function () {
1042
-
1043
- console.warn( 'THREE.BufferAttribute: .length has been deprecated. Use .count instead.' );
1044
- return this.array.length;
1045
-
1046
- }
1047
- },
1048
- dynamic: {
1049
- get: function () {
1050
-
1051
- console.warn( 'THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead.' );
1052
- return this.usage === DynamicDrawUsage;
1053
-
1054
- },
1055
- set: function ( /* value */ ) {
1056
-
1057
- console.warn( 'THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead.' );
1058
- this.setUsage( DynamicDrawUsage );
1059
-
1060
- }
1061
- }
1062
-
1063
- } );
1064
-
1065
- BufferAttribute.prototype.setDynamic = function ( value ) {
1066
-
1067
- console.warn( 'THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead.' );
1068
- this.setUsage( value === true ? DynamicDrawUsage : StaticDrawUsage );
1069
- return this;
1070
-
1071
- };
1072
-
1073
- BufferAttribute.prototype.copyIndicesArray = function ( /* indices */ ) {
1074
-
1075
- console.error( 'THREE.BufferAttribute: .copyIndicesArray() has been removed.' );
1076
-
1077
- },
1078
-
1079
- BufferAttribute.prototype.setArray = function ( /* array */ ) {
1080
-
1081
- console.error( 'THREE.BufferAttribute: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers' );
1082
-
1083
- };
1084
-
1085
- //
1086
-
1087
- BufferGeometry.prototype.addIndex = function ( index ) {
1088
-
1089
- console.warn( 'THREE.BufferGeometry: .addIndex() has been renamed to .setIndex().' );
1090
- this.setIndex( index );
1091
-
1092
- };
1093
-
1094
- BufferGeometry.prototype.addAttribute = function ( name, attribute ) {
1095
-
1096
- console.warn( 'THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute().' );
1097
-
1098
- if ( ! ( attribute && attribute.isBufferAttribute ) && ! ( attribute && attribute.isInterleavedBufferAttribute ) ) {
1099
-
1100
- console.warn( 'THREE.BufferGeometry: .addAttribute() now expects ( name, attribute ).' );
1101
-
1102
- return this.setAttribute( name, new BufferAttribute( arguments[ 1 ], arguments[ 2 ] ) );
1103
-
1104
- }
1105
-
1106
- if ( name === 'index' ) {
1107
-
1108
- console.warn( 'THREE.BufferGeometry.addAttribute: Use .setIndex() for index attribute.' );
1109
- this.setIndex( attribute );
1110
-
1111
- return this;
1112
-
1113
- }
1114
-
1115
- return this.setAttribute( name, attribute );
1116
-
1117
- };
1118
-
1119
- BufferGeometry.prototype.addDrawCall = function ( start, count, indexOffset ) {
1120
-
1121
- if ( indexOffset !== undefined ) {
1122
-
1123
- console.warn( 'THREE.BufferGeometry: .addDrawCall() no longer supports indexOffset.' );
1124
-
1125
- }
1126
-
1127
- console.warn( 'THREE.BufferGeometry: .addDrawCall() is now .addGroup().' );
1128
- this.addGroup( start, count );
1129
-
1130
- };
1131
-
1132
- BufferGeometry.prototype.clearDrawCalls = function () {
1133
-
1134
- console.warn( 'THREE.BufferGeometry: .clearDrawCalls() is now .clearGroups().' );
1135
- this.clearGroups();
1136
-
1137
- };
1138
-
1139
- BufferGeometry.prototype.computeOffsets = function () {
1140
-
1141
- console.warn( 'THREE.BufferGeometry: .computeOffsets() has been removed.' );
1142
-
1143
- };
1144
-
1145
- BufferGeometry.prototype.removeAttribute = function ( name ) {
1146
-
1147
- console.warn( 'THREE.BufferGeometry: .removeAttribute() has been renamed to .deleteAttribute().' );
1148
-
1149
- return this.deleteAttribute( name );
1150
-
1151
- };
1152
-
1153
- BufferGeometry.prototype.applyMatrix = function ( matrix ) {
1154
-
1155
- console.warn( 'THREE.BufferGeometry: .applyMatrix() has been renamed to .applyMatrix4().' );
1156
- return this.applyMatrix4( matrix );
1157
-
1158
- };
1159
-
1160
- Object.defineProperties( BufferGeometry.prototype, {
1161
-
1162
- drawcalls: {
1163
- get: function () {
1164
-
1165
- console.error( 'THREE.BufferGeometry: .drawcalls has been renamed to .groups.' );
1166
- return this.groups;
1167
-
1168
- }
1169
- },
1170
- offsets: {
1171
- get: function () {
1172
-
1173
- console.warn( 'THREE.BufferGeometry: .offsets has been renamed to .groups.' );
1174
- return this.groups;
1175
-
1176
- }
1177
- }
1178
-
1179
- } );
1180
-
1181
- InterleavedBuffer.prototype.setDynamic = function ( value ) {
1182
-
1183
- console.warn( 'THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead.' );
1184
- this.setUsage( value === true ? DynamicDrawUsage : StaticDrawUsage );
1185
- return this;
1186
-
1187
- };
1188
-
1189
- InterleavedBuffer.prototype.setArray = function ( /* array */ ) {
1190
-
1191
- console.error( 'THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers' );
1192
-
1193
- };
1194
-
1195
- //
1196
-
1197
- ExtrudeGeometry.prototype.getArrays = function () {
1198
-
1199
- console.error( 'THREE.ExtrudeGeometry: .getArrays() has been removed.' );
1200
-
1201
- };
1202
-
1203
- ExtrudeGeometry.prototype.addShapeList = function () {
1204
-
1205
- console.error( 'THREE.ExtrudeGeometry: .addShapeList() has been removed.' );
1206
-
1207
- };
1208
-
1209
- ExtrudeGeometry.prototype.addShape = function () {
1210
-
1211
- console.error( 'THREE.ExtrudeGeometry: .addShape() has been removed.' );
1212
-
1213
- };
1214
-
1215
- //
1216
-
1217
- Scene.prototype.dispose = function () {
1218
-
1219
- console.error( 'THREE.Scene: .dispose() has been removed.' );
1220
-
1221
- };
1222
-
1223
- //
1224
-
1225
- Uniform.prototype.onUpdate = function () {
1226
-
1227
- console.warn( 'THREE.Uniform: .onUpdate() has been removed. Use object.onBeforeRender() instead.' );
1228
- return this;
1229
-
1230
- };
1231
-
1232
- //
1233
-
1234
- Object.defineProperties( Material.prototype, {
1235
-
1236
- wrapAround: {
1237
- get: function () {
1238
-
1239
- console.warn( 'THREE.Material: .wrapAround has been removed.' );
1240
-
1241
- },
1242
- set: function () {
1243
-
1244
- console.warn( 'THREE.Material: .wrapAround has been removed.' );
1245
-
1246
- }
1247
- },
1248
-
1249
- overdraw: {
1250
- get: function () {
1251
-
1252
- console.warn( 'THREE.Material: .overdraw has been removed.' );
1253
-
1254
- },
1255
- set: function () {
1256
-
1257
- console.warn( 'THREE.Material: .overdraw has been removed.' );
1258
-
1259
- }
1260
- },
1261
-
1262
- wrapRGB: {
1263
- get: function () {
1264
-
1265
- console.warn( 'THREE.Material: .wrapRGB has been removed.' );
1266
- return new Color();
1267
-
1268
- }
1269
- },
1270
-
1271
- shading: {
1272
- get: function () {
1273
-
1274
- console.error( 'THREE.' + this.type + ': .shading has been removed. Use the boolean .flatShading instead.' );
1275
-
1276
- },
1277
- set: function ( value ) {
1278
-
1279
- console.warn( 'THREE.' + this.type + ': .shading has been removed. Use the boolean .flatShading instead.' );
1280
- this.flatShading = ( value === FlatShading );
1281
-
1282
- }
1283
- },
1284
-
1285
- stencilMask: {
1286
- get: function () {
1287
-
1288
- console.warn( 'THREE.' + this.type + ': .stencilMask has been removed. Use .stencilFuncMask instead.' );
1289
- return this.stencilFuncMask;
1290
-
1291
- },
1292
- set: function ( value ) {
1293
-
1294
- console.warn( 'THREE.' + this.type + ': .stencilMask has been removed. Use .stencilFuncMask instead.' );
1295
- this.stencilFuncMask = value;
1296
-
1297
- }
1298
- },
1299
-
1300
- vertexTangents: {
1301
- get: function () {
1302
-
1303
- console.warn( 'THREE.' + this.type + ': .vertexTangents has been removed.' );
1304
-
1305
- },
1306
- set: function () {
1307
-
1308
- console.warn( 'THREE.' + this.type + ': .vertexTangents has been removed.' );
1309
-
1310
- }
1311
- },
1312
-
1313
- } );
1314
-
1315
- Object.defineProperties( ShaderMaterial.prototype, {
1316
-
1317
- derivatives: {
1318
- get: function () {
1319
-
1320
- console.warn( 'THREE.ShaderMaterial: .derivatives has been moved to .extensions.derivatives.' );
1321
- return this.extensions.derivatives;
1322
-
1323
- },
1324
- set: function ( value ) {
1325
-
1326
- console.warn( 'THREE. ShaderMaterial: .derivatives has been moved to .extensions.derivatives.' );
1327
- this.extensions.derivatives = value;
1328
-
1329
- }
1330
- }
1331
-
1332
- } );
1333
-
1334
- //
1335
-
1336
- WebGLRenderer.prototype.clearTarget = function ( renderTarget, color, depth, stencil ) {
1337
-
1338
- console.warn( 'THREE.WebGLRenderer: .clearTarget() has been deprecated. Use .setRenderTarget() and .clear() instead.' );
1339
- this.setRenderTarget( renderTarget );
1340
- this.clear( color, depth, stencil );
1341
-
1342
- };
1343
-
1344
- WebGLRenderer.prototype.animate = function ( callback ) {
1345
-
1346
- console.warn( 'THREE.WebGLRenderer: .animate() is now .setAnimationLoop().' );
1347
- this.setAnimationLoop( callback );
1348
-
1349
- };
1350
-
1351
- WebGLRenderer.prototype.getCurrentRenderTarget = function () {
1352
-
1353
- console.warn( 'THREE.WebGLRenderer: .getCurrentRenderTarget() is now .getRenderTarget().' );
1354
- return this.getRenderTarget();
1355
-
1356
- };
1357
-
1358
- WebGLRenderer.prototype.getMaxAnisotropy = function () {
1359
-
1360
- console.warn( 'THREE.WebGLRenderer: .getMaxAnisotropy() is now .capabilities.getMaxAnisotropy().' );
1361
- return this.capabilities.getMaxAnisotropy();
1362
-
1363
- };
1364
-
1365
- WebGLRenderer.prototype.getPrecision = function () {
1366
-
1367
- console.warn( 'THREE.WebGLRenderer: .getPrecision() is now .capabilities.precision.' );
1368
- return this.capabilities.precision;
1369
-
1370
- };
1371
-
1372
- WebGLRenderer.prototype.resetGLState = function () {
1373
-
1374
- console.warn( 'THREE.WebGLRenderer: .resetGLState() is now .state.reset().' );
1375
- return this.state.reset();
1376
-
1377
- };
1378
-
1379
- WebGLRenderer.prototype.supportsFloatTextures = function () {
1380
-
1381
- console.warn( 'THREE.WebGLRenderer: .supportsFloatTextures() is now .extensions.get( \'OES_texture_float\' ).' );
1382
- return this.extensions.get( 'OES_texture_float' );
1383
-
1384
- };
1385
-
1386
- WebGLRenderer.prototype.supportsHalfFloatTextures = function () {
1387
-
1388
- console.warn( 'THREE.WebGLRenderer: .supportsHalfFloatTextures() is now .extensions.get( \'OES_texture_half_float\' ).' );
1389
- return this.extensions.get( 'OES_texture_half_float' );
1390
-
1391
- };
1392
-
1393
- WebGLRenderer.prototype.supportsStandardDerivatives = function () {
1394
-
1395
- console.warn( 'THREE.WebGLRenderer: .supportsStandardDerivatives() is now .extensions.get( \'OES_standard_derivatives\' ).' );
1396
- return this.extensions.get( 'OES_standard_derivatives' );
1397
-
1398
- };
1399
-
1400
- WebGLRenderer.prototype.supportsCompressedTextureS3TC = function () {
1401
-
1402
- console.warn( 'THREE.WebGLRenderer: .supportsCompressedTextureS3TC() is now .extensions.get( \'WEBGL_compressed_texture_s3tc\' ).' );
1403
- return this.extensions.get( 'WEBGL_compressed_texture_s3tc' );
1404
-
1405
- };
1406
-
1407
- WebGLRenderer.prototype.supportsCompressedTexturePVRTC = function () {
1408
-
1409
- console.warn( 'THREE.WebGLRenderer: .supportsCompressedTexturePVRTC() is now .extensions.get( \'WEBGL_compressed_texture_pvrtc\' ).' );
1410
- return this.extensions.get( 'WEBGL_compressed_texture_pvrtc' );
1411
-
1412
- };
1413
-
1414
- WebGLRenderer.prototype.supportsBlendMinMax = function () {
1415
-
1416
- console.warn( 'THREE.WebGLRenderer: .supportsBlendMinMax() is now .extensions.get( \'EXT_blend_minmax\' ).' );
1417
- return this.extensions.get( 'EXT_blend_minmax' );
1418
-
1419
- };
1420
-
1421
- WebGLRenderer.prototype.supportsVertexTextures = function () {
1422
-
1423
- console.warn( 'THREE.WebGLRenderer: .supportsVertexTextures() is now .capabilities.vertexTextures.' );
1424
- return this.capabilities.vertexTextures;
1425
-
1426
- };
1427
-
1428
- WebGLRenderer.prototype.supportsInstancedArrays = function () {
1429
-
1430
- console.warn( 'THREE.WebGLRenderer: .supportsInstancedArrays() is now .extensions.get( \'ANGLE_instanced_arrays\' ).' );
1431
- return this.extensions.get( 'ANGLE_instanced_arrays' );
1432
-
1433
- };
1434
-
1435
- WebGLRenderer.prototype.enableScissorTest = function ( boolean ) {
1436
-
1437
- console.warn( 'THREE.WebGLRenderer: .enableScissorTest() is now .setScissorTest().' );
1438
- this.setScissorTest( boolean );
1439
-
1440
- };
1441
-
1442
- WebGLRenderer.prototype.initMaterial = function () {
1443
-
1444
- console.warn( 'THREE.WebGLRenderer: .initMaterial() has been removed.' );
1445
-
1446
- };
1447
-
1448
- WebGLRenderer.prototype.addPrePlugin = function () {
1449
-
1450
- console.warn( 'THREE.WebGLRenderer: .addPrePlugin() has been removed.' );
1451
-
1452
- };
1453
-
1454
- WebGLRenderer.prototype.addPostPlugin = function () {
1455
-
1456
- console.warn( 'THREE.WebGLRenderer: .addPostPlugin() has been removed.' );
1457
-
1458
- };
1459
-
1460
- WebGLRenderer.prototype.updateShadowMap = function () {
1461
-
1462
- console.warn( 'THREE.WebGLRenderer: .updateShadowMap() has been removed.' );
1463
-
1464
- };
1465
-
1466
- WebGLRenderer.prototype.setFaceCulling = function () {
1467
-
1468
- console.warn( 'THREE.WebGLRenderer: .setFaceCulling() has been removed.' );
1469
-
1470
- };
1471
-
1472
- WebGLRenderer.prototype.setTexture = function () {
1473
-
1474
- console.warn( 'THREE.WebGLRenderer: .setTexture() has been removed.' );
1475
-
1476
- };
1477
-
1478
- WebGLRenderer.prototype.setTextureCube = function () {
1479
-
1480
- console.warn( 'THREE.WebGLRenderer: .setTextureCube() has been removed.' );
1481
-
1482
- };
1483
-
1484
- WebGLRenderer.prototype.getActiveMipMapLevel = function () {
1485
-
1486
- console.warn( 'THREE.WebGLRenderer: .getActiveMipMapLevel() is now .getActiveMipmapLevel().' );
1487
- return this.getActiveMipmapLevel();
1488
-
1489
- };
1490
-
1491
- Object.defineProperties( WebGLRenderer.prototype, {
1492
-
1493
- shadowMapEnabled: {
1494
- get: function () {
1495
-
1496
- return this.shadowMap.enabled;
1497
-
1498
- },
1499
- set: function ( value ) {
1500
-
1501
- console.warn( 'THREE.WebGLRenderer: .shadowMapEnabled is now .shadowMap.enabled.' );
1502
- this.shadowMap.enabled = value;
1503
-
1504
- }
1505
- },
1506
- shadowMapType: {
1507
- get: function () {
1508
-
1509
- return this.shadowMap.type;
1510
-
1511
- },
1512
- set: function ( value ) {
1513
-
1514
- console.warn( 'THREE.WebGLRenderer: .shadowMapType is now .shadowMap.type.' );
1515
- this.shadowMap.type = value;
1516
-
1517
- }
1518
- },
1519
- shadowMapCullFace: {
1520
- get: function () {
1521
-
1522
- console.warn( 'THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.' );
1523
- return undefined;
1524
-
1525
- },
1526
- set: function ( /* value */ ) {
1527
-
1528
- console.warn( 'THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.' );
1529
-
1530
- }
1531
- },
1532
- context: {
1533
- get: function () {
1534
-
1535
- console.warn( 'THREE.WebGLRenderer: .context has been removed. Use .getContext() instead.' );
1536
- return this.getContext();
1537
-
1538
- }
1539
- },
1540
- vr: {
1541
- get: function () {
1542
-
1543
- console.warn( 'THREE.WebGLRenderer: .vr has been renamed to .xr' );
1544
- return this.xr;
1545
-
1546
- }
1547
- },
1548
- gammaInput: {
1549
- get: function () {
1550
-
1551
- console.warn( 'THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.' );
1552
- return false;
1553
-
1554
- },
1555
- set: function () {
1556
-
1557
- console.warn( 'THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.' );
1558
-
1559
- }
1560
- },
1561
- gammaOutput: {
1562
- get: function () {
1563
-
1564
- console.warn( 'THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead.' );
1565
- return false;
1566
-
1567
- },
1568
- set: function ( value ) {
1569
-
1570
- console.warn( 'THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead.' );
1571
- this.outputEncoding = ( value === true ) ? sRGBEncoding : LinearEncoding;
1572
-
1573
- }
1574
- },
1575
- toneMappingWhitePoint: {
1576
- get: function () {
1577
-
1578
- console.warn( 'THREE.WebGLRenderer: .toneMappingWhitePoint has been removed.' );
1579
- return 1.0;
1580
-
1581
- },
1582
- set: function () {
1583
-
1584
- console.warn( 'THREE.WebGLRenderer: .toneMappingWhitePoint has been removed.' );
1585
-
1586
- }
1587
- },
1588
- gammaFactor: {
1589
- get: function () {
1590
-
1591
- console.warn( 'THREE.WebGLRenderer: .gammaFactor has been removed.' );
1592
- return 2;
1593
-
1594
- },
1595
- set: function () {
1596
-
1597
- console.warn( 'THREE.WebGLRenderer: .gammaFactor has been removed.' );
1598
-
1599
- }
1600
- }
1601
- } );
1602
-
1603
- Object.defineProperties( WebGLShadowMap.prototype, {
1604
-
1605
- cullFace: {
1606
- get: function () {
1607
-
1608
- console.warn( 'THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.' );
1609
- return undefined;
1610
-
1611
- },
1612
- set: function ( /* cullFace */ ) {
1613
-
1614
- console.warn( 'THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.' );
1615
-
1616
- }
1617
- },
1618
- renderReverseSided: {
1619
- get: function () {
1620
-
1621
- console.warn( 'THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.' );
1622
- return undefined;
1623
-
1624
- },
1625
- set: function () {
1626
-
1627
- console.warn( 'THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.' );
1628
-
1629
- }
1630
- },
1631
- renderSingleSided: {
1632
- get: function () {
1633
-
1634
- console.warn( 'THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.' );
1635
- return undefined;
1636
-
1637
- },
1638
- set: function () {
1639
-
1640
- console.warn( 'THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.' );
1641
-
1642
- }
1643
15
  }
1644
16
 
1645
- } );
1646
-
1647
- export function WebGLRenderTargetCube( width, height, options ) {
1648
-
1649
- console.warn( 'THREE.WebGLRenderTargetCube( width, height, options ) is now WebGLCubeRenderTarget( size, options ).' );
1650
- return new WebGLCubeRenderTarget( width, options );
1651
-
1652
17
  }
1653
18
 
1654
- //
1655
-
1656
- Object.defineProperties( WebGLRenderTarget.prototype, {
1657
-
1658
- wrapS: {
1659
- get: function () {
1660
-
1661
- console.warn( 'THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS.' );
1662
- return this.texture.wrapS;
1663
-
1664
- },
1665
- set: function ( value ) {
1666
-
1667
- console.warn( 'THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS.' );
1668
- this.texture.wrapS = value;
1669
-
1670
- }
1671
- },
1672
- wrapT: {
1673
- get: function () {
1674
-
1675
- console.warn( 'THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT.' );
1676
- return this.texture.wrapT;
1677
-
1678
- },
1679
- set: function ( value ) {
1680
-
1681
- console.warn( 'THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT.' );
1682
- this.texture.wrapT = value;
19
+ // r133, eb58ff153119090d3bbb24474ea0ffc40c70dc92
1683
20
 
1684
- }
1685
- },
1686
- magFilter: {
1687
- get: function () {
21
+ export class TextGeometry extends BufferGeometry {
1688
22
 
1689
- console.warn( 'THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter.' );
1690
- return this.texture.magFilter;
23
+ constructor() {
1691
24
 
1692
- },
1693
- set: function ( value ) {
25
+ console.error( 'THREE.TextGeometry has been moved to /examples/jsm/geometries/TextGeometry.js' );
26
+ super();
1694
27
 
1695
- console.warn( 'THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter.' );
1696
- this.texture.magFilter = value;
1697
-
1698
- }
1699
- },
1700
- minFilter: {
1701
- get: function () {
1702
-
1703
- console.warn( 'THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter.' );
1704
- return this.texture.minFilter;
1705
-
1706
- },
1707
- set: function ( value ) {
1708
-
1709
- console.warn( 'THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter.' );
1710
- this.texture.minFilter = value;
1711
-
1712
- }
1713
- },
1714
- anisotropy: {
1715
- get: function () {
1716
-
1717
- console.warn( 'THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy.' );
1718
- return this.texture.anisotropy;
1719
-
1720
- },
1721
- set: function ( value ) {
1722
-
1723
- console.warn( 'THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy.' );
1724
- this.texture.anisotropy = value;
1725
-
1726
- }
1727
- },
1728
- offset: {
1729
- get: function () {
1730
-
1731
- console.warn( 'THREE.WebGLRenderTarget: .offset is now .texture.offset.' );
1732
- return this.texture.offset;
1733
-
1734
- },
1735
- set: function ( value ) {
1736
-
1737
- console.warn( 'THREE.WebGLRenderTarget: .offset is now .texture.offset.' );
1738
- this.texture.offset = value;
1739
-
1740
- }
1741
- },
1742
- repeat: {
1743
- get: function () {
1744
-
1745
- console.warn( 'THREE.WebGLRenderTarget: .repeat is now .texture.repeat.' );
1746
- return this.texture.repeat;
1747
-
1748
- },
1749
- set: function ( value ) {
1750
-
1751
- console.warn( 'THREE.WebGLRenderTarget: .repeat is now .texture.repeat.' );
1752
- this.texture.repeat = value;
1753
-
1754
- }
1755
- },
1756
- format: {
1757
- get: function () {
1758
-
1759
- console.warn( 'THREE.WebGLRenderTarget: .format is now .texture.format.' );
1760
- return this.texture.format;
1761
-
1762
- },
1763
- set: function ( value ) {
1764
-
1765
- console.warn( 'THREE.WebGLRenderTarget: .format is now .texture.format.' );
1766
- this.texture.format = value;
1767
-
1768
- }
1769
- },
1770
- type: {
1771
- get: function () {
1772
-
1773
- console.warn( 'THREE.WebGLRenderTarget: .type is now .texture.type.' );
1774
- return this.texture.type;
1775
-
1776
- },
1777
- set: function ( value ) {
1778
-
1779
- console.warn( 'THREE.WebGLRenderTarget: .type is now .texture.type.' );
1780
- this.texture.type = value;
1781
-
1782
- }
1783
- },
1784
- generateMipmaps: {
1785
- get: function () {
1786
-
1787
- console.warn( 'THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.' );
1788
- return this.texture.generateMipmaps;
1789
-
1790
- },
1791
- set: function ( value ) {
1792
-
1793
- console.warn( 'THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.' );
1794
- this.texture.generateMipmaps = value;
1795
-
1796
- }
1797
28
  }
1798
29
 
1799
- } );
1800
-
1801
- //
1802
-
1803
- Audio.prototype.load = function ( file ) {
1804
-
1805
- console.warn( 'THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.' );
1806
- const scope = this;
1807
- const audioLoader = new AudioLoader();
1808
- audioLoader.load( file, function ( buffer ) {
1809
-
1810
- scope.setBuffer( buffer );
1811
-
1812
- } );
1813
- return this;
1814
-
1815
- };
1816
-
1817
-
1818
- AudioAnalyser.prototype.getData = function () {
1819
-
1820
- console.warn( 'THREE.AudioAnalyser: .getData() is now .getFrequencyData().' );
1821
- return this.getFrequencyData();
1822
-
1823
- };
1824
-
1825
- //
1826
-
1827
- CubeCamera.prototype.updateCubeMap = function ( renderer, scene ) {
1828
-
1829
- console.warn( 'THREE.CubeCamera: .updateCubeMap() is now .update().' );
1830
- return this.update( renderer, scene );
1831
-
1832
- };
1833
-
1834
- CubeCamera.prototype.clear = function ( renderer, color, depth, stencil ) {
1835
-
1836
- console.warn( 'THREE.CubeCamera: .clear() is now .renderTarget.clear().' );
1837
- return this.renderTarget.clear( renderer, color, depth, stencil );
1838
-
1839
- };
1840
-
1841
- ImageUtils.crossOrigin = undefined;
1842
-
1843
- ImageUtils.loadTexture = function ( url, mapping, onLoad, onError ) {
1844
-
1845
- console.warn( 'THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.' );
1846
-
1847
- const loader = new TextureLoader();
1848
- loader.setCrossOrigin( this.crossOrigin );
1849
-
1850
- const texture = loader.load( url, onLoad, undefined, onError );
1851
-
1852
- if ( mapping ) texture.mapping = mapping;
1853
-
1854
- return texture;
1855
-
1856
- };
1857
-
1858
- ImageUtils.loadTextureCube = function ( urls, mapping, onLoad, onError ) {
1859
-
1860
- console.warn( 'THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.' );
1861
-
1862
- const loader = new CubeTextureLoader();
1863
- loader.setCrossOrigin( this.crossOrigin );
1864
-
1865
- const texture = loader.load( urls, onLoad, undefined, onError );
1866
-
1867
- if ( mapping ) texture.mapping = mapping;
1868
-
1869
- return texture;
1870
-
1871
- };
1872
-
1873
- ImageUtils.loadCompressedTexture = function () {
1874
-
1875
- console.error( 'THREE.ImageUtils.loadCompressedTexture has been removed. Use THREE.DDSLoader instead.' );
1876
-
1877
- };
1878
-
1879
- ImageUtils.loadCompressedTextureCube = function () {
1880
-
1881
- console.error( 'THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead.' );
1882
-
1883
- };
30
+ }
1884
31
 
1885
- //
32
+ // r133, eb58ff153119090d3bbb24474ea0ffc40c70dc92
1886
33
 
1887
- export function CanvasRenderer() {
34
+ export function FontLoader() {
1888
35
 
1889
- console.error( 'THREE.CanvasRenderer has been removed' );
36
+ console.error( 'THREE.FontLoader has been moved to /examples/jsm/loaders/FontLoader.js' );
1890
37
 
1891
38
  }
1892
39
 
1893
- //
40
+ // r133, eb58ff153119090d3bbb24474ea0ffc40c70dc92
1894
41
 
1895
- export function JSONLoader() {
42
+ export function Font() {
1896
43
 
1897
- console.error( 'THREE.JSONLoader has been removed.' );
44
+ console.error( 'THREE.Font has been moved to /examples/jsm/loaders/FontLoader.js' );
1898
45
 
1899
46
  }
1900
47
 
1901
- //
48
+ // r134, d65e0af06644fe5a84a6fc0e372f4318f95a04c0
1902
49
 
1903
- export const SceneUtils = {
1904
-
1905
- createMultiMaterialObject: function ( /* geometry, materials */ ) {
1906
-
1907
- console.error( 'THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js' );
50
+ export function ImmediateRenderObject() {
1908
51
 
1909
- },
52
+ console.error( 'THREE.ImmediateRenderObject has been removed.' );
1910
53
 
1911
- detach: function ( /* child, parent, scene */ ) {
54
+ }
1912
55
 
1913
- console.error( 'THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js' );
56
+ // r138, 48b05d3500acc084df50be9b4c90781ad9b8cb17
1914
57
 
1915
- },
58
+ export class WebGLMultisampleRenderTarget extends WebGLRenderTarget {
1916
59
 
1917
- attach: function ( /* child, scene, parent */ ) {
60
+ constructor( width, height, options ) {
1918
61
 
1919
- console.error( 'THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js' );
62
+ console.error( 'THREE.WebGLMultisampleRenderTarget has been removed. Use a normal render target and set the "samples" property to greater 0 to enable multisampling.' );
63
+ super( width, height, options );
64
+ this.samples = 4;
1920
65
 
1921
66
  }
1922
67
 
1923
- };
1924
-
1925
- //
1926
-
1927
- export function LensFlare() {
1928
-
1929
- console.error( 'THREE.LensFlare has been moved to /examples/jsm/objects/Lensflare.js' );
1930
-
1931
- }
1932
-
1933
- //
1934
-
1935
- export function ParametricGeometry() {
1936
-
1937
- console.error( 'THREE.ParametricGeometry has been moved to /examples/jsm/geometries/ParametricGeometry.js' );
1938
- return new BufferGeometry();
1939
-
1940
68
  }
1941
69
 
1942
- export function TextGeometry() {
70
+ // r138, f9cd9cab03b7b64244e304900a3a2eeaa3a588ce
1943
71
 
1944
- console.error( 'THREE.TextGeometry has been moved to /examples/jsm/geometries/TextGeometry.js' );
1945
- return new BufferGeometry();
72
+ export class DataTexture2DArray extends DataArrayTexture {
1946
73
 
1947
- }
74
+ constructor( data, width, height, depth ) {
1948
75
 
1949
- export function FontLoader() {
76
+ console.warn( 'THREE.DataTexture2DArray has been renamed to DataArrayTexture.' );
77
+ super( data, width, height, depth );
1950
78
 
1951
- console.error( 'THREE.FontLoader has been moved to /examples/jsm/loaders/FontLoader.js' );
79
+ }
1952
80
 
1953
81
  }
1954
82
 
1955
- export function Font() {
83
+ // r138, f9cd9cab03b7b64244e304900a3a2eeaa3a588ce
1956
84
 
1957
- console.error( 'THREE.Font has been moved to /examples/jsm/loaders/FontLoader.js' );
85
+ export class DataTexture3D extends Data3DTexture {
1958
86
 
1959
- }
87
+ constructor( data, width, height, depth ) {
1960
88
 
1961
- export function ImmediateRenderObject() {
89
+ console.warn( 'THREE.DataTexture3D has been renamed to Data3DTexture.' );
90
+ super( data, width, height, depth );
1962
91
 
1963
- console.error( 'THREE.ImmediateRenderObject has been removed.' );
92
+ }
1964
93
 
1965
94
  }