rhodonite 0.25.0 → 0.26.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 (469) hide show
  1. package/README.md +93 -19
  2. package/VERSION-FILE +1 -1
  3. package/dist/esm/foundation/components/BlendShape/BlendShapeComponent.d.ts +54 -0
  4. package/dist/esm/foundation/components/BlendShape/BlendShapeComponent.js +1 -1
  5. package/dist/esm/foundation/components/Camera/CameraComponent.d.ts +34 -0
  6. package/dist/esm/foundation/components/Camera/CameraComponent.js +1 -1
  7. package/dist/esm/foundation/components/Light/LightComponent.d.ts +3 -1
  8. package/dist/esm/foundation/components/Light/LightComponent.js +1 -1
  9. package/dist/esm/foundation/components/Mesh/MeshComponent.js +1 -1
  10. package/dist/esm/foundation/components/MeshRenderer/MeshRendererComponent.js +1 -1
  11. package/dist/esm/foundation/components/SceneGraph/SceneGraphComponent.d.ts +16 -0
  12. package/dist/esm/foundation/components/SceneGraph/SceneGraphComponent.js +1 -1
  13. package/dist/esm/foundation/components/Shape/ShapeComponent.js +1 -1
  14. package/dist/esm/foundation/components/Skeletal/AnimationRetarget/AbsoluteAnimation.js +1 -1
  15. package/dist/esm/foundation/components/Skeletal/AnimationRetarget/GlobalRetarget.js +1 -1
  16. package/dist/esm/foundation/components/Skeletal/AnimationRetarget/GlobalRetargetReverse.js +1 -1
  17. package/dist/esm/foundation/components/Skeletal/SkeletalComponent.d.ts +48 -0
  18. package/dist/esm/foundation/components/Skeletal/SkeletalComponent.js +1 -1
  19. package/dist/esm/foundation/components/Transform/TransformComponent.js +1 -1
  20. package/dist/esm/foundation/components/Trigger/TriggerComponent.js +1 -1
  21. package/dist/esm/foundation/components/Vrm/VrmComponent.js +1 -1
  22. package/dist/esm/foundation/constraints/VrmAimConstraint.js +1 -1
  23. package/dist/esm/foundation/constraints/VrmRollConstraint.js +1 -1
  24. package/dist/esm/foundation/constraints/VrmRotationConstraint.js +1 -1
  25. package/dist/esm/foundation/core/Component.js +1 -1
  26. package/dist/esm/foundation/core/ComponentRepository.js +1 -1
  27. package/dist/esm/foundation/core/Entity.js +1 -1
  28. package/dist/esm/foundation/core/EntityRepository.js +1 -1
  29. package/dist/esm/foundation/geometry/ComplexVertexAttribute.js +1 -1
  30. package/dist/esm/foundation/geometry/Mesh.js +1 -1
  31. package/dist/esm/foundation/geometry/Primitive.js +1 -1
  32. package/dist/esm/foundation/gizmos/AABBGizmo.js +1 -1
  33. package/dist/esm/foundation/gizmos/CapsuleColliderGizmo.js +1 -1
  34. package/dist/esm/foundation/gizmos/Gizmo.d.ts +13 -0
  35. package/dist/esm/foundation/gizmos/Gizmo.js +1 -1
  36. package/dist/esm/foundation/gizmos/JointGizmo.js +1 -1
  37. package/dist/esm/foundation/gizmos/LightGizmo.d.ts +0 -1
  38. package/dist/esm/foundation/gizmos/LightGizmo.js +1 -1
  39. package/dist/esm/foundation/gizmos/LocatorGizmo.js +1 -1
  40. package/dist/esm/foundation/gizmos/RotationGizmo.js +1 -1
  41. package/dist/esm/foundation/gizmos/ScaleGizmo.js +1 -1
  42. package/dist/esm/foundation/gizmos/ShapeGizmo.js +1 -1
  43. package/dist/esm/foundation/gizmos/SphereColliderGizmo.js +1 -1
  44. package/dist/esm/foundation/gizmos/TranslationGizmo.js +1 -1
  45. package/dist/esm/foundation/helpers/BloomHelper.js +1 -1
  46. package/dist/esm/foundation/helpers/GaussianBlurHelper.js +1 -1
  47. package/dist/esm/foundation/helpers/Shadow/PointShadowMap.js +1 -1
  48. package/dist/esm/foundation/helpers/Shadow/ShadowMap.js +1 -1
  49. package/dist/esm/foundation/helpers/Shadow/ShadowSystem.js +1 -1
  50. package/dist/esm/foundation/helpers/materials/createMotionVectorMaterial.d.ts +25 -0
  51. package/dist/esm/foundation/helpers/materials/createMotionVectorMaterial.js +1 -0
  52. package/dist/esm/foundation/helpers/materials/createTemporalAAResolveMaterial.d.ts +33 -0
  53. package/dist/esm/foundation/helpers/materials/createTemporalAAResolveMaterial.js +1 -0
  54. package/dist/esm/foundation/importer/AnimationAssigner.js +1 -1
  55. package/dist/esm/foundation/importer/DrcPointCloudImporter.js +1 -1
  56. package/dist/esm/foundation/importer/Gltf2Importer.js +1 -1
  57. package/dist/esm/foundation/importer/GltfImporter.js +1 -1
  58. package/dist/esm/foundation/importer/ModelConverter.js +1 -1
  59. package/dist/esm/foundation/importer/RhodoniteImportExtension.js +1 -1
  60. package/dist/esm/foundation/importer/Vrm0xImporter.js +1 -1
  61. package/dist/esm/foundation/importer/VrmImporter.js +1 -1
  62. package/dist/esm/foundation/materials/contents/CustomMaterialContent.js +1 -1
  63. package/dist/esm/foundation/materials/contents/MToon0xMaterialContent.js +18 -18
  64. package/dist/esm/foundation/materials/contents/MToon1MaterialContent.js +6 -6
  65. package/dist/esm/foundation/materials/core/AbstractMaterialContent.d.ts +11 -0
  66. package/dist/esm/foundation/materials/core/AbstractMaterialContent.js +1 -1
  67. package/dist/esm/foundation/materials/core/ShaderityUtilityWebGL.js +2 -2
  68. package/dist/esm/foundation/materials/core/ShaderityUtilityWebGPU.js +2 -2
  69. package/dist/esm/foundation/materials/nodes/CastToFloatShaderNode.js +1 -1
  70. package/dist/esm/foundation/materials/nodes/MergeVectorShaderNode.js +1 -1
  71. package/dist/esm/foundation/materials/nodes/Random_HashPRNGShaderNode.js +1 -1
  72. package/dist/esm/foundation/materials/nodes/Random_SinHashShaderNode.js +1 -1
  73. package/dist/esm/foundation/materials/nodes/SplitVectorShaderNode.js +1 -1
  74. package/dist/esm/foundation/math/MathClassUtil.js +1 -1
  75. package/dist/esm/foundation/math/Quaternion.js +1 -1
  76. package/dist/esm/foundation/math/Transform3D.js +1 -1
  77. package/dist/esm/foundation/math/shapes/MathSphere.js +1 -1
  78. package/dist/esm/foundation/memory/Accessor.js +6 -6
  79. package/dist/esm/foundation/memory/BufferView.js +1 -1
  80. package/dist/esm/foundation/misc/cache/Cache.js +1 -1
  81. package/dist/esm/foundation/physics/VRMSpring/CapsuleCollider.js +1 -1
  82. package/dist/esm/foundation/physics/VRMSpring/SphereCollider.js +1 -1
  83. package/dist/esm/foundation/physics/VRMSpring/VRMSpringBone.js +1 -1
  84. package/dist/esm/foundation/renderer/Frame.js +1 -1
  85. package/dist/esm/foundation/renderer/RenderPass.js +1 -1
  86. package/dist/esm/foundation/renderer/TemporalAA/PreviousFrameDataTracker.d.ts +33 -0
  87. package/dist/esm/foundation/renderer/TemporalAA/PreviousFrameDataTracker.js +1 -0
  88. package/dist/esm/foundation/renderer/TemporalAA/TemporalAASystem.d.ts +135 -0
  89. package/dist/esm/foundation/renderer/TemporalAA/TemporalAASystem.js +1 -0
  90. package/dist/esm/foundation/renderer/pipelines/DeferredRenderPipeline.js +1 -1
  91. package/dist/esm/foundation/renderer/pipelines/ForwardRenderPipeline.d.ts +62 -16
  92. package/dist/esm/foundation/renderer/pipelines/ForwardRenderPipeline.js +1 -1
  93. package/dist/esm/foundation/system/Engine.d.ts +37 -3
  94. package/dist/esm/foundation/system/Engine.js +1 -1
  95. package/dist/esm/foundation/textures/AbstractTexture.js +1 -1
  96. package/dist/esm/foundation/textures/CubeTexture.js +1 -1
  97. package/dist/esm/foundation/textures/RenderTargetTexture.js +1 -1
  98. package/dist/esm/foundation/textures/RenderTargetTexture2DArray.js +1 -1
  99. package/dist/esm/foundation/textures/RenderTargetTextureCube.js +1 -1
  100. package/dist/esm/foundation/textures/Texture.js +1 -1
  101. package/dist/esm/foundation/textures/TextureDataFloat.js +1 -1
  102. package/dist/esm/foundation/textures/VideoTexture.js +1 -1
  103. package/dist/esm/version.js +1 -1
  104. package/dist/esm/webgl/MultiDraw.js +1 -1
  105. package/dist/esm/webgl/MultiDrawRepository.js +1 -1
  106. package/dist/esm/webgl/WebGLStereoUtil.js +1 -1
  107. package/dist/esm/webgl/WebGLStrategyWebGL2.d.ts +8 -0
  108. package/dist/esm/webgl/WebGLStrategyWebGL2.js +47 -28
  109. package/dist/esm/webgl/shaderity_shaders/ClassicSingleShader/ClassicSingleShader.vert.js +0 -3
  110. package/dist/esm/webgl/shaderity_shaders/MotionVectorShader/MotionVectorShader.frag.js +35 -0
  111. package/dist/esm/webgl/shaderity_shaders/MotionVectorShader/MotionVectorShader.vert.js +140 -0
  112. package/dist/esm/webgl/shaderity_shaders/TemporalAAResolveShader/TemporalAAResolveShader.frag.js +175 -0
  113. package/dist/esm/webgl/shaderity_shaders/TemporalAAResolveShader/TemporalAAResolveShader.vert.js +18 -0
  114. package/dist/esm/webgl/shaders/StandardShaderPart.js +3 -3
  115. package/dist/esm/webgl/shaders/nodes/ConstantVariableShader.js +5 -5
  116. package/dist/esm/webgl/shaders/nodes/UniformDataShader.js +9 -9
  117. package/dist/esm/webgpu/GpuCullingRegistry.js +1 -1
  118. package/dist/esm/webgpu/GpuDeformRegistry.js +1 -1
  119. package/dist/esm/webgpu/WebGpuGpuCulling.js +1 -1
  120. package/dist/esm/webgpu/WebGpuGpuTimer.js +1 -1
  121. package/dist/esm/webgpu/WebGpuLightClusterBuilder.js +1 -1
  122. package/dist/esm/webgpu/WebGpuResourceRepository.js +3 -3
  123. package/dist/esm/webgpu/WebGpuStrategyBasic.d.ts +8 -0
  124. package/dist/esm/webgpu/WebGpuStrategyBasic.js +78 -59
  125. package/dist/esm/webgpu/WebGpuVertexDeformer.js +1 -1
  126. package/dist/esm/webgpu/shaderity_shaders/MotionVectorShader/MotionVectorShader.frag.wgsl.js +30 -0
  127. package/dist/esm/webgpu/shaderity_shaders/MotionVectorShader/MotionVectorShader.vert.wgsl.js +133 -0
  128. package/dist/esm/webgpu/shaderity_shaders/TemporalAAResolveShader/TemporalAAResolveShader.frag.wgsl.js +169 -0
  129. package/dist/esm/webgpu/shaderity_shaders/TemporalAAResolveShader/TemporalAAResolveShader.vert.wgsl.js +19 -0
  130. package/dist/esmdev/foundation/components/BlendShape/BlendShapeComponent.d.ts +54 -0
  131. package/dist/esmdev/foundation/components/BlendShape/BlendShapeComponent.js +107 -1
  132. package/dist/esmdev/foundation/components/Camera/CameraComponent.d.ts +34 -0
  133. package/dist/esmdev/foundation/components/Camera/CameraComponent.js +118 -46
  134. package/dist/esmdev/foundation/components/CameraController/CameraControllerComponent.js +8 -8
  135. package/dist/esmdev/foundation/components/CharacterController/CharacterAnimationController.js +74 -74
  136. package/dist/esmdev/foundation/components/CharacterController/CharacterControllerComponent.js +39 -39
  137. package/dist/esmdev/foundation/components/Constraint/ConstraintComponent.js +4 -4
  138. package/dist/esmdev/foundation/components/Light/LightComponent.d.ts +3 -1
  139. package/dist/esmdev/foundation/components/Light/LightComponent.js +126 -121
  140. package/dist/esmdev/foundation/components/Mesh/MeshComponent.js +50 -50
  141. package/dist/esmdev/foundation/components/MeshRenderer/MeshRendererComponent.js +96 -92
  142. package/dist/esmdev/foundation/components/Physics/PhysicsComponent.js +73 -73
  143. package/dist/esmdev/foundation/components/Raymarching/RaymarchingComponent.js +54 -54
  144. package/dist/esmdev/foundation/components/Raymarching/RaymarchingSdfEvaluator.js +251 -251
  145. package/dist/esmdev/foundation/components/SceneGraph/SceneGraphComponent.d.ts +16 -0
  146. package/dist/esmdev/foundation/components/SceneGraph/SceneGraphComponent.js +375 -343
  147. package/dist/esmdev/foundation/components/Shape/ShapeComponent.js +31 -31
  148. package/dist/esmdev/foundation/components/Skeletal/AnimationRetarget/AbsoluteAnimation.js +5 -5
  149. package/dist/esmdev/foundation/components/Skeletal/AnimationRetarget/GlobalRetarget.js +5 -5
  150. package/dist/esmdev/foundation/components/Skeletal/AnimationRetarget/GlobalRetargetReverse.js +9 -9
  151. package/dist/esmdev/foundation/components/Skeletal/SkeletalComponent.d.ts +48 -0
  152. package/dist/esmdev/foundation/components/Skeletal/SkeletalComponent.js +337 -205
  153. package/dist/esmdev/foundation/components/Transform/TransformComponent.js +93 -93
  154. package/dist/esmdev/foundation/components/Trigger/TriggerComponent.js +61 -61
  155. package/dist/esmdev/foundation/components/Vrm/VrmComponent.js +44 -44
  156. package/dist/esmdev/foundation/constraints/VrmAimConstraint.js +11 -11
  157. package/dist/esmdev/foundation/constraints/VrmRollConstraint.js +16 -16
  158. package/dist/esmdev/foundation/constraints/VrmRotationConstraint.js +10 -10
  159. package/dist/esmdev/foundation/core/Component.js +32 -32
  160. package/dist/esmdev/foundation/core/ComponentMemoryRegistry.js +42 -42
  161. package/dist/esmdev/foundation/core/ComponentRepository.js +37 -37
  162. package/dist/esmdev/foundation/core/Config.js +9 -9
  163. package/dist/esmdev/foundation/core/Entity.js +9 -9
  164. package/dist/esmdev/foundation/core/EntityRepository.js +19 -19
  165. package/dist/esmdev/foundation/core/GlobalDataRepository.js +17 -17
  166. package/dist/esmdev/foundation/core/MemoryManager.js +25 -25
  167. package/dist/esmdev/foundation/core/RnObject.js +37 -37
  168. package/dist/esmdev/foundation/definitions/Blend.js +3 -3
  169. package/dist/esmdev/foundation/definitions/ComponentType.js +7 -7
  170. package/dist/esmdev/foundation/definitions/CompositionType.js +50 -50
  171. package/dist/esmdev/foundation/definitions/CompressionTextureType.js +6 -6
  172. package/dist/esmdev/foundation/definitions/ShaderSemantics.js +6 -6
  173. package/dist/esmdev/foundation/definitions/TextureFormat.js +3 -3
  174. package/dist/esmdev/foundation/definitions/TextureParameter.js +3 -3
  175. package/dist/esmdev/foundation/definitions/VertexAttribute.js +30 -30
  176. package/dist/esmdev/foundation/enhanced_js_objects/Array.js +2 -2
  177. package/dist/esmdev/foundation/exporter/Gltf2Exporter.js +112 -112
  178. package/dist/esmdev/foundation/geometry/ComplexVertexAttribute.js +24 -24
  179. package/dist/esmdev/foundation/geometry/Frustum.js +41 -41
  180. package/dist/esmdev/foundation/geometry/Mesh.js +218 -218
  181. package/dist/esmdev/foundation/geometry/Primitive.js +133 -133
  182. package/dist/esmdev/foundation/geometry/SimpleVertexAttribute.js +7 -7
  183. package/dist/esmdev/foundation/geometry/shapes/Cylinder.js +3 -3
  184. package/dist/esmdev/foundation/geometry/shapes/Joint.js +33 -33
  185. package/dist/esmdev/foundation/gizmos/AABBGizmo.js +17 -20
  186. package/dist/esmdev/foundation/gizmos/CapsuleColliderGizmo.js +24 -26
  187. package/dist/esmdev/foundation/gizmos/Gizmo.d.ts +13 -0
  188. package/dist/esmdev/foundation/gizmos/Gizmo.js +43 -21
  189. package/dist/esmdev/foundation/gizmos/JointGizmo.js +38 -40
  190. package/dist/esmdev/foundation/gizmos/LightGizmo.d.ts +0 -1
  191. package/dist/esmdev/foundation/gizmos/LightGizmo.js +26 -30
  192. package/dist/esmdev/foundation/gizmos/LocatorGizmo.js +26 -29
  193. package/dist/esmdev/foundation/gizmos/RotationGizmo.js +217 -219
  194. package/dist/esmdev/foundation/gizmos/ScaleGizmo.js +135 -137
  195. package/dist/esmdev/foundation/gizmos/ShapeGizmo.js +44 -47
  196. package/dist/esmdev/foundation/gizmos/SphereColliderGizmo.js +25 -27
  197. package/dist/esmdev/foundation/gizmos/TranslationGizmo.js +132 -134
  198. package/dist/esmdev/foundation/helpers/BloomHelper.js +34 -34
  199. package/dist/esmdev/foundation/helpers/GaussianBlurHelper.js +18 -18
  200. package/dist/esmdev/foundation/helpers/Shadow/PointShadowMap.js +12 -12
  201. package/dist/esmdev/foundation/helpers/Shadow/ShadowMap.js +5 -5
  202. package/dist/esmdev/foundation/helpers/Shadow/ShadowSystem.js +119 -119
  203. package/dist/esmdev/foundation/helpers/materials/createMotionVectorMaterial.d.ts +25 -0
  204. package/dist/esmdev/foundation/helpers/materials/createMotionVectorMaterial.js +61 -0
  205. package/dist/esmdev/foundation/helpers/materials/createTemporalAAResolveMaterial.d.ts +33 -0
  206. package/dist/esmdev/foundation/helpers/materials/createTemporalAAResolveMaterial.js +127 -0
  207. package/dist/esmdev/foundation/importer/AnimationAssigner.js +44 -44
  208. package/dist/esmdev/foundation/importer/DrcPointCloudImporter.js +33 -33
  209. package/dist/esmdev/foundation/importer/Gltf2Importer.js +14 -14
  210. package/dist/esmdev/foundation/importer/GltfImporter.js +22 -22
  211. package/dist/esmdev/foundation/importer/ModelConverter.js +131 -131
  212. package/dist/esmdev/foundation/importer/RhodoniteImportExtension.js +6 -6
  213. package/dist/esmdev/foundation/importer/Vrm0xImporter.js +48 -48
  214. package/dist/esmdev/foundation/importer/VrmImporter.js +10 -10
  215. package/dist/esmdev/foundation/materials/contents/CustomMaterialContent.js +27 -27
  216. package/dist/esmdev/foundation/materials/contents/DepthEncodeMaterialContent.js +2 -2
  217. package/dist/esmdev/foundation/materials/contents/MToon0xMaterialContent.js +138 -138
  218. package/dist/esmdev/foundation/materials/contents/MToon1MaterialContent.js +19 -19
  219. package/dist/esmdev/foundation/materials/contents/ShadowMapDecodeClassicMaterialContent.js +5 -5
  220. package/dist/esmdev/foundation/materials/contents/VarianceShadowMapDecodeClassicMaterialContent.js +5 -5
  221. package/dist/esmdev/foundation/materials/core/AbstractMaterialContent.d.ts +11 -0
  222. package/dist/esmdev/foundation/materials/core/AbstractMaterialContent.js +68 -53
  223. package/dist/esmdev/foundation/materials/core/AbstractShaderNode.js +26 -26
  224. package/dist/esmdev/foundation/materials/core/DummyTextures.js +3 -3
  225. package/dist/esmdev/foundation/materials/core/Material.js +115 -115
  226. package/dist/esmdev/foundation/materials/core/MaterialRepository.js +65 -65
  227. package/dist/esmdev/foundation/materials/core/ShaderGraphResolver.js +38 -38
  228. package/dist/esmdev/foundation/materials/core/ShaderHandler.js +4 -4
  229. package/dist/esmdev/foundation/materials/core/ShaderityUtilityWebGL.js +16 -17
  230. package/dist/esmdev/foundation/materials/core/ShaderityUtilityWebGPU.js +17 -18
  231. package/dist/esmdev/foundation/materials/nodes/AbsShaderNode.js +13 -13
  232. package/dist/esmdev/foundation/materials/nodes/AcosShaderNode.js +13 -13
  233. package/dist/esmdev/foundation/materials/nodes/AddShaderNode.js +18 -18
  234. package/dist/esmdev/foundation/materials/nodes/AlphaTestShaderNode.js +5 -5
  235. package/dist/esmdev/foundation/materials/nodes/AndShaderNode.js +6 -6
  236. package/dist/esmdev/foundation/materials/nodes/Atan2ShaderNode.js +15 -15
  237. package/dist/esmdev/foundation/materials/nodes/AttributeColorShaderNode.js +1 -1
  238. package/dist/esmdev/foundation/materials/nodes/AttributeInstanceIdsShaderNode.js +1 -1
  239. package/dist/esmdev/foundation/materials/nodes/AttributeJointShaderNode.js +1 -1
  240. package/dist/esmdev/foundation/materials/nodes/AttributeNormalShaderNode.js +1 -1
  241. package/dist/esmdev/foundation/materials/nodes/AttributePositionShaderNode.js +2 -2
  242. package/dist/esmdev/foundation/materials/nodes/AttributeTangentShaderNode.js +1 -1
  243. package/dist/esmdev/foundation/materials/nodes/AttributeTexcoordShaderNode.js +2 -2
  244. package/dist/esmdev/foundation/materials/nodes/AttributeWeightShaderNode.js +1 -1
  245. package/dist/esmdev/foundation/materials/nodes/BlockBeginShaderNode.js +11 -11
  246. package/dist/esmdev/foundation/materials/nodes/BlockEndShaderNode.js +6 -6
  247. package/dist/esmdev/foundation/materials/nodes/BranchShaderNode.js +15 -15
  248. package/dist/esmdev/foundation/materials/nodes/CalcBitangentShaderNode.js +7 -7
  249. package/dist/esmdev/foundation/materials/nodes/CastToFloatShaderNode.js +13 -13
  250. package/dist/esmdev/foundation/materials/nodes/ClampShaderNode.js +15 -15
  251. package/dist/esmdev/foundation/materials/nodes/ClassicShaderNode.js +11 -11
  252. package/dist/esmdev/foundation/materials/nodes/ConstantScalarVariableShaderNode.js +1 -1
  253. package/dist/esmdev/foundation/materials/nodes/ConstantVariableShaderNode.js +5 -5
  254. package/dist/esmdev/foundation/materials/nodes/ConstantVector2VariableShaderNode.js +1 -1
  255. package/dist/esmdev/foundation/materials/nodes/ConstantVector3VariableShaderNode.js +1 -1
  256. package/dist/esmdev/foundation/materials/nodes/ConstantVector4VariableShaderNode.js +1 -1
  257. package/dist/esmdev/foundation/materials/nodes/CosShaderNode.js +13 -13
  258. package/dist/esmdev/foundation/materials/nodes/DiscardShaderNode.js +2 -2
  259. package/dist/esmdev/foundation/materials/nodes/DotProductShaderNode.js +10 -10
  260. package/dist/esmdev/foundation/materials/nodes/EqualShaderNode.js +10 -10
  261. package/dist/esmdev/foundation/materials/nodes/FlatShaderNode.js +5 -5
  262. package/dist/esmdev/foundation/materials/nodes/GreaterOrEqualShaderNode.js +10 -10
  263. package/dist/esmdev/foundation/materials/nodes/GreaterShaderNode.js +3 -3
  264. package/dist/esmdev/foundation/materials/nodes/GreaterThanShaderNode.js +10 -10
  265. package/dist/esmdev/foundation/materials/nodes/LengthShaderNode.js +13 -13
  266. package/dist/esmdev/foundation/materials/nodes/LessOrEqualShaderNode.js +10 -10
  267. package/dist/esmdev/foundation/materials/nodes/LessThanShaderNode.js +10 -10
  268. package/dist/esmdev/foundation/materials/nodes/MergeVectorShaderNode.js +19 -19
  269. package/dist/esmdev/foundation/materials/nodes/MinShaderNode.js +18 -18
  270. package/dist/esmdev/foundation/materials/nodes/MultiplyShaderNode.js +21 -21
  271. package/dist/esmdev/foundation/materials/nodes/NormalMatrixShaderNode.js +1 -1
  272. package/dist/esmdev/foundation/materials/nodes/NormalizeShaderNode.js +9 -9
  273. package/dist/esmdev/foundation/materials/nodes/NotEqualShaderNode.js +10 -10
  274. package/dist/esmdev/foundation/materials/nodes/OrShaderNode.js +6 -6
  275. package/dist/esmdev/foundation/materials/nodes/OutColorShaderNode.js +2 -2
  276. package/dist/esmdev/foundation/materials/nodes/OutPositionShaderNode.js +2 -2
  277. package/dist/esmdev/foundation/materials/nodes/PbrAnisotropyPropsShaderNode.js +5 -5
  278. package/dist/esmdev/foundation/materials/nodes/PbrAnisotropyRotationShaderNode.js +3 -3
  279. package/dist/esmdev/foundation/materials/nodes/PbrBaseColorPropsShaderNode.js +5 -5
  280. package/dist/esmdev/foundation/materials/nodes/PbrClearcoatPropsShaderNode.js +7 -7
  281. package/dist/esmdev/foundation/materials/nodes/PbrDiffuseTransmissionPropsShaderNode.js +6 -6
  282. package/dist/esmdev/foundation/materials/nodes/PbrEmissivePropsShaderNode.js +5 -5
  283. package/dist/esmdev/foundation/materials/nodes/PbrIridescencePropsShaderNode.js +8 -8
  284. package/dist/esmdev/foundation/materials/nodes/PbrMetallicRoughnessPropsShaderNode.js +6 -6
  285. package/dist/esmdev/foundation/materials/nodes/PbrNormalPropsShaderNode.js +11 -11
  286. package/dist/esmdev/foundation/materials/nodes/PbrOcclusionPropsShaderNode.js +4 -4
  287. package/dist/esmdev/foundation/materials/nodes/PbrShaderShaderNode.js +21 -21
  288. package/dist/esmdev/foundation/materials/nodes/PbrSheenPropsShaderNode.js +6 -6
  289. package/dist/esmdev/foundation/materials/nodes/PbrSpecularPropsShaderNode.js +6 -6
  290. package/dist/esmdev/foundation/materials/nodes/PbrTransmissionPropsShaderNode.js +4 -4
  291. package/dist/esmdev/foundation/materials/nodes/PbrVolumePropsShaderNode.js +6 -6
  292. package/dist/esmdev/foundation/materials/nodes/PremultipliedAlphaShaderNode.js +4 -4
  293. package/dist/esmdev/foundation/materials/nodes/ProcessGeometryShaderNode.js +22 -22
  294. package/dist/esmdev/foundation/materials/nodes/ProjectionMatrixShaderNode.js +1 -1
  295. package/dist/esmdev/foundation/materials/nodes/Random_HashPRNGShaderNode.js +12 -12
  296. package/dist/esmdev/foundation/materials/nodes/Random_SinHashShaderNode.js +12 -12
  297. package/dist/esmdev/foundation/materials/nodes/RemapShaderNode.js +17 -17
  298. package/dist/esmdev/foundation/materials/nodes/SinShaderNode.js +13 -13
  299. package/dist/esmdev/foundation/materials/nodes/SmoothStepShaderNode.js +15 -15
  300. package/dist/esmdev/foundation/materials/nodes/SplitVectorShaderNode.js +17 -17
  301. package/dist/esmdev/foundation/materials/nodes/StepShaderNode.js +14 -14
  302. package/dist/esmdev/foundation/materials/nodes/TanShaderNode.js +13 -13
  303. package/dist/esmdev/foundation/materials/nodes/Texture2DShaderNode.js +16 -16
  304. package/dist/esmdev/foundation/materials/nodes/TimeShaderNode.js +1 -1
  305. package/dist/esmdev/foundation/materials/nodes/TransformShaderNode.js +10 -10
  306. package/dist/esmdev/foundation/materials/nodes/UniformDataShaderNode.js +5 -5
  307. package/dist/esmdev/foundation/materials/nodes/ViewMatrixShaderNode.js +1 -1
  308. package/dist/esmdev/foundation/materials/nodes/WireframeMaterialNode.js +3 -3
  309. package/dist/esmdev/foundation/materials/nodes/WorldMatrixShaderNode.js +1 -1
  310. package/dist/esmdev/foundation/materials/nodes/raymarching/BendXYShaderNode.js +4 -4
  311. package/dist/esmdev/foundation/materials/nodes/raymarching/BendXZShaderNode.js +4 -4
  312. package/dist/esmdev/foundation/materials/nodes/raymarching/BendYXShaderNode.js +4 -4
  313. package/dist/esmdev/foundation/materials/nodes/raymarching/BendYZShaderNode.js +4 -4
  314. package/dist/esmdev/foundation/materials/nodes/raymarching/BendZXShaderNode.js +4 -4
  315. package/dist/esmdev/foundation/materials/nodes/raymarching/BendZYShaderNode.js +4 -4
  316. package/dist/esmdev/foundation/materials/nodes/raymarching/InitialPositionShaderNode.js +1 -1
  317. package/dist/esmdev/foundation/materials/nodes/raymarching/OpSmoothIntersectionShaderNode.js +5 -5
  318. package/dist/esmdev/foundation/materials/nodes/raymarching/OpSmoothSubtractionShaderNode.js +5 -5
  319. package/dist/esmdev/foundation/materials/nodes/raymarching/OpSmoothUnionShaderNode.js +5 -5
  320. package/dist/esmdev/foundation/materials/nodes/raymarching/OpSubtractionShaderNode.js +6 -6
  321. package/dist/esmdev/foundation/materials/nodes/raymarching/OpUnionShaderNode.js +6 -6
  322. package/dist/esmdev/foundation/materials/nodes/raymarching/OutDistanceShaderNode.js +16 -16
  323. package/dist/esmdev/foundation/materials/nodes/raymarching/OutShadingColorShaderNode.js +2 -2
  324. package/dist/esmdev/foundation/materials/nodes/raymarching/OutUnionShaderNode.js +16 -16
  325. package/dist/esmdev/foundation/materials/nodes/raymarching/RaymarchCameraPositionShaderNode.js +2 -2
  326. package/dist/esmdev/foundation/materials/nodes/raymarching/RaymarchHitDistanceShaderNode.js +2 -2
  327. package/dist/esmdev/foundation/materials/nodes/raymarching/RaymarchHitNormalShaderNode.js +2 -2
  328. package/dist/esmdev/foundation/materials/nodes/raymarching/RaymarchHitPositionShaderNode.js +2 -2
  329. package/dist/esmdev/foundation/materials/nodes/raymarching/RaymarchObjectIdShaderNode.js +2 -2
  330. package/dist/esmdev/foundation/materials/nodes/raymarching/RaymarchObjectIdUniformShaderNode.js +4 -4
  331. package/dist/esmdev/foundation/materials/nodes/raymarching/RaymarchRayDirectionShaderNode.js +2 -2
  332. package/dist/esmdev/foundation/materials/nodes/raymarching/RaymarchTBNShaderNode.js +2 -2
  333. package/dist/esmdev/foundation/materials/nodes/raymarching/RaymarchViewDirectionShaderNode.js +2 -2
  334. package/dist/esmdev/foundation/materials/nodes/raymarching/SdApplyTransformShaderNode.js +9 -9
  335. package/dist/esmdev/foundation/materials/nodes/raymarching/SdApplyWorldMatrixShaderNode.js +5 -5
  336. package/dist/esmdev/foundation/materials/nodes/raymarching/SdBarXShaderNode.js +3 -3
  337. package/dist/esmdev/foundation/materials/nodes/raymarching/SdBarYShaderNode.js +3 -3
  338. package/dist/esmdev/foundation/materials/nodes/raymarching/SdBarZShaderNode.js +3 -3
  339. package/dist/esmdev/foundation/materials/nodes/raymarching/SdBoxShaderNode.js +3 -3
  340. package/dist/esmdev/foundation/materials/nodes/raymarching/SdCapsuleShaderNode.js +5 -5
  341. package/dist/esmdev/foundation/materials/nodes/raymarching/SdRepeatShaderNode.js +4 -4
  342. package/dist/esmdev/foundation/materials/nodes/raymarching/SdRepeatXShaderNode.js +4 -4
  343. package/dist/esmdev/foundation/materials/nodes/raymarching/SdRepeatXYShaderNode.js +4 -4
  344. package/dist/esmdev/foundation/materials/nodes/raymarching/SdRepeatYShaderNode.js +4 -4
  345. package/dist/esmdev/foundation/materials/nodes/raymarching/SdRepeatYZShaderNode.js +4 -4
  346. package/dist/esmdev/foundation/materials/nodes/raymarching/SdRepeatZShaderNode.js +4 -4
  347. package/dist/esmdev/foundation/materials/nodes/raymarching/SdRepeatZXShaderNode.js +4 -4
  348. package/dist/esmdev/foundation/materials/nodes/raymarching/SdRoundBoxShaderNode.js +4 -4
  349. package/dist/esmdev/foundation/materials/nodes/raymarching/SdSphereShaderNode.js +3 -3
  350. package/dist/esmdev/foundation/materials/nodes/raymarching/SdTorusShaderNode.js +4 -4
  351. package/dist/esmdev/foundation/materials/nodes/raymarching/SdTubeXShaderNode.js +3 -3
  352. package/dist/esmdev/foundation/materials/nodes/raymarching/SdTubeYShaderNode.js +3 -3
  353. package/dist/esmdev/foundation/materials/nodes/raymarching/SdTubeZShaderNode.js +3 -3
  354. package/dist/esmdev/foundation/materials/nodes/raymarching/TwistXShaderNode.js +4 -4
  355. package/dist/esmdev/foundation/materials/nodes/raymarching/TwistYShaderNode.js +4 -4
  356. package/dist/esmdev/foundation/materials/nodes/raymarching/TwistZShaderNode.js +4 -4
  357. package/dist/esmdev/foundation/math/AABB.js +132 -132
  358. package/dist/esmdev/foundation/math/AnimatedQuaternion.js +54 -54
  359. package/dist/esmdev/foundation/math/AnimatedScalar.js +55 -55
  360. package/dist/esmdev/foundation/math/AnimatedValueEvaluationState.js +20 -20
  361. package/dist/esmdev/foundation/math/AnimatedVector2.js +55 -55
  362. package/dist/esmdev/foundation/math/AnimatedVector3.js +55 -55
  363. package/dist/esmdev/foundation/math/AnimatedVector4.js +55 -55
  364. package/dist/esmdev/foundation/math/AnimatedVectorN.js +55 -55
  365. package/dist/esmdev/foundation/math/IdentityMatrix33.js +2 -2
  366. package/dist/esmdev/foundation/math/IdentityMatrix44.js +2 -2
  367. package/dist/esmdev/foundation/math/MathClassUtil.js +4 -4
  368. package/dist/esmdev/foundation/math/Quaternion.js +20 -20
  369. package/dist/esmdev/foundation/math/Transform3D.js +83 -83
  370. package/dist/esmdev/foundation/math/shapes/MathSphere.js +9 -9
  371. package/dist/esmdev/foundation/memory/Accessor.js +370 -370
  372. package/dist/esmdev/foundation/memory/Buffer.js +40 -40
  373. package/dist/esmdev/foundation/memory/BufferView.js +33 -33
  374. package/dist/esmdev/foundation/misc/DataUtil.js +2 -2
  375. package/dist/esmdev/foundation/misc/EnumIO.js +10 -10
  376. package/dist/esmdev/foundation/misc/Logger.js +14 -14
  377. package/dist/esmdev/foundation/misc/RnPromise.js +14 -14
  378. package/dist/esmdev/foundation/misc/Time.js +27 -27
  379. package/dist/esmdev/foundation/misc/WeakOption.js +14 -14
  380. package/dist/esmdev/foundation/misc/cache/Cache.js +2 -2
  381. package/dist/esmdev/foundation/misc/cache/SymbolWeakMap.js +8 -8
  382. package/dist/esmdev/foundation/physics/PhysicsWorldQuery.js +13 -13
  383. package/dist/esmdev/foundation/physics/Rapier/RapierCharacterControllerStrategy.js +203 -203
  384. package/dist/esmdev/foundation/physics/Rapier/RapierPhysicsStrategy.js +241 -241
  385. package/dist/esmdev/foundation/physics/Rapier/RapierPhysicsWorldQueryStrategy.js +3 -3
  386. package/dist/esmdev/foundation/physics/VRMSpring/CapsuleCollider.js +42 -42
  387. package/dist/esmdev/foundation/physics/VRMSpring/SphereCollider.js +27 -27
  388. package/dist/esmdev/foundation/physics/VRMSpring/VRMSpringBone.js +10 -10
  389. package/dist/esmdev/foundation/physics/VRMSpring/VRMSpringBonePhysicsStrategy.js +51 -51
  390. package/dist/esmdev/foundation/renderer/Expression.js +6 -6
  391. package/dist/esmdev/foundation/renderer/Frame.js +12 -12
  392. package/dist/esmdev/foundation/renderer/FrameBuffer.js +25 -25
  393. package/dist/esmdev/foundation/renderer/RenderPass.js +102 -99
  394. package/dist/esmdev/foundation/renderer/TemporalAA/PreviousFrameDataTracker.d.ts +33 -0
  395. package/dist/esmdev/foundation/renderer/TemporalAA/PreviousFrameDataTracker.js +66 -0
  396. package/dist/esmdev/foundation/renderer/TemporalAA/TemporalAASystem.d.ts +135 -0
  397. package/dist/esmdev/foundation/renderer/TemporalAA/TemporalAASystem.js +275 -0
  398. package/dist/esmdev/foundation/renderer/lightCluster/LightClusterSystem.js +153 -153
  399. package/dist/esmdev/foundation/renderer/lightCluster/LightClusterSystemStub.js +3 -3
  400. package/dist/esmdev/foundation/renderer/pipelines/DeferredRenderPipeline.js +6 -6
  401. package/dist/esmdev/foundation/renderer/pipelines/ForwardRenderPipeline.d.ts +62 -16
  402. package/dist/esmdev/foundation/renderer/pipelines/ForwardRenderPipeline.js +535 -428
  403. package/dist/esmdev/foundation/system/Engine.d.ts +37 -3
  404. package/dist/esmdev/foundation/system/Engine.js +266 -224
  405. package/dist/esmdev/foundation/system/EventPubSub.js +8 -8
  406. package/dist/esmdev/foundation/system/InputManager.js +56 -56
  407. package/dist/esmdev/foundation/system/ModuleManager.js +6 -6
  408. package/dist/esmdev/foundation/textures/AbstractTexture.js +50 -50
  409. package/dist/esmdev/foundation/textures/CubeTexture.js +32 -32
  410. package/dist/esmdev/foundation/textures/RenderBuffer.js +11 -11
  411. package/dist/esmdev/foundation/textures/RenderTargetTexture.js +25 -25
  412. package/dist/esmdev/foundation/textures/RenderTargetTexture2DArray.js +37 -37
  413. package/dist/esmdev/foundation/textures/RenderTargetTextureCube.js +19 -19
  414. package/dist/esmdev/foundation/textures/Sampler.js +24 -24
  415. package/dist/esmdev/foundation/textures/Texture.js +83 -83
  416. package/dist/esmdev/foundation/textures/TextureArray.js +8 -8
  417. package/dist/esmdev/foundation/textures/TextureDataFloat.js +26 -26
  418. package/dist/esmdev/foundation/textures/VideoTexture.js +24 -24
  419. package/dist/esmdev/version.js +2 -2
  420. package/dist/esmdev/webgl/InstanceSidTable.js +62 -62
  421. package/dist/esmdev/webgl/MultiDraw.js +2 -2
  422. package/dist/esmdev/webgl/MultiDrawRepository.js +30 -30
  423. package/dist/esmdev/webgl/WebGLContextWrapper.js +164 -164
  424. package/dist/esmdev/webgl/WebGLGpuTimer.js +32 -32
  425. package/dist/esmdev/webgl/WebGLResourceRepository.js +306 -306
  426. package/dist/esmdev/webgl/WebGLStereoUtil.js +42 -42
  427. package/dist/esmdev/webgl/WebGLStrategyWebGL2.d.ts +8 -0
  428. package/dist/esmdev/webgl/WebGLStrategyWebGL2.js +296 -261
  429. package/dist/esmdev/webgl/debug/ShaderParameterDebugger.js +4 -4
  430. package/dist/esmdev/webgl/shaderity_shaders/ClassicSingleShader/ClassicSingleShader.vert.js +2 -2
  431. package/dist/esmdev/webgl/shaderity_shaders/MotionVectorShader/MotionVectorShader.frag.js +12 -0
  432. package/dist/esmdev/webgl/shaderity_shaders/MotionVectorShader/MotionVectorShader.vert.js +12 -0
  433. package/dist/esmdev/webgl/shaderity_shaders/TemporalAAResolveShader/TemporalAAResolveShader.frag.js +12 -0
  434. package/dist/esmdev/webgl/shaderity_shaders/TemporalAAResolveShader/TemporalAAResolveShader.vert.js +12 -0
  435. package/dist/esmdev/webgl/shaders/RaymarchingShaderPart.js +4 -4
  436. package/dist/esmdev/webgl/shaders/RaymarchingShadowShaderPart.js +14 -14
  437. package/dist/esmdev/webgl/shaders/StandardShaderPart.js +3 -3
  438. package/dist/esmdev/webgl/shaders/nodes/BlockBeginShader.js +10 -10
  439. package/dist/esmdev/webgl/shaders/nodes/BlockEndShader.js +10 -10
  440. package/dist/esmdev/webgl/shaders/nodes/ConstantVariableShader.js +21 -21
  441. package/dist/esmdev/webgl/shaders/nodes/DiscardShader.js +3 -3
  442. package/dist/esmdev/webgl/shaders/nodes/EndShader.js +3 -3
  443. package/dist/esmdev/webgl/shaders/nodes/OutDistance.js +12 -12
  444. package/dist/esmdev/webgl/shaders/nodes/OutUnion.js +9 -9
  445. package/dist/esmdev/webgl/shaders/nodes/RaymarchObjectIdUniform.js +8 -8
  446. package/dist/esmdev/webgl/shaders/nodes/SdApplyTransform.js +9 -9
  447. package/dist/esmdev/webgl/shaders/nodes/SdApplyWorldMatrix.js +8 -8
  448. package/dist/esmdev/webgl/shaders/nodes/Texture2DShader.js +23 -23
  449. package/dist/esmdev/webgl/shaders/nodes/UniformDataShader.js +23 -23
  450. package/dist/esmdev/webgl/textureLoader/KTX2TextureLoader.js +27 -27
  451. package/dist/esmdev/webgpu/GpuCullingRegistry.js +94 -94
  452. package/dist/esmdev/webgpu/GpuDeformRegistry.js +53 -53
  453. package/dist/esmdev/webgpu/RangeAllocator.js +16 -16
  454. package/dist/esmdev/webgpu/WebGpuBufferArena.js +21 -21
  455. package/dist/esmdev/webgpu/WebGpuDeviceWrapper.js +7 -7
  456. package/dist/esmdev/webgpu/WebGpuGpuCulling.js +198 -198
  457. package/dist/esmdev/webgpu/WebGpuGpuTimer.js +52 -52
  458. package/dist/esmdev/webgpu/WebGpuLightClusterBuilder.js +37 -37
  459. package/dist/esmdev/webgpu/WebGpuResourceRepository.js +597 -597
  460. package/dist/esmdev/webgpu/WebGpuStrategyBasic.d.ts +8 -0
  461. package/dist/esmdev/webgpu/WebGpuStrategyBasic.js +170 -133
  462. package/dist/esmdev/webgpu/WebGpuVertexDeformer.js +128 -128
  463. package/dist/esmdev/webgpu/shaderity_shaders/MotionVectorShader/MotionVectorShader.frag.wgsl.js +12 -0
  464. package/dist/esmdev/webgpu/shaderity_shaders/MotionVectorShader/MotionVectorShader.vert.wgsl.js +12 -0
  465. package/dist/esmdev/webgpu/shaderity_shaders/TemporalAAResolveShader/TemporalAAResolveShader.frag.wgsl.js +12 -0
  466. package/dist/esmdev/webgpu/shaderity_shaders/TemporalAAResolveShader/TemporalAAResolveShader.vert.wgsl.js +12 -0
  467. package/dist/esmdev/xr/WebARSystem.js +69 -69
  468. package/dist/esmdev/xr/WebXRSystem.js +153 -153
  469. package/package.json +1 -1
@@ -40,38 +40,38 @@ var _Accessor = class _Accessor {
40
40
  arrayLength,
41
41
  normalized
42
42
  }) {
43
- this.Ys = CompositionType.Unknown;
44
- this._s = ComponentType.Unknown;
45
- this.Xt = 0;
46
- this.cu = new Float32Array();
43
+ this.et = CompositionType.Unknown;
44
+ this.gt = ComponentType.Unknown;
45
+ this.du = 0;
46
+ this.ku = new Float32Array();
47
47
  // init with a dummy Float32Array at first
48
+ this.hu = 0;
48
49
  this.$t = 0;
49
- this.Tt = 0;
50
- this.gt = MutableVector4.fromCopyArray([
50
+ this.ot = MutableVector4.fromCopyArray([
51
51
  -Number.MAX_VALUE,
52
52
  -Number.MAX_VALUE,
53
53
  -Number.MAX_VALUE,
54
54
  -Number.MAX_VALUE
55
55
  ]);
56
- this.ft = MutableVector4.fromCopyArray([
56
+ this.nt = MutableVector4.fromCopyArray([
57
57
  Number.MAX_VALUE,
58
58
  Number.MAX_VALUE,
59
59
  Number.MAX_VALUE,
60
60
  Number.MAX_VALUE
61
61
  ]);
62
- this.au = 1;
63
- this.fu = false;
64
- this.Wt = true;
65
- this.eu = 0;
62
+ this.iu = 1;
63
+ this.nu = false;
64
+ this.cu = true;
65
+ this.mu = 0;
66
66
  var _a, _b, _c, _d, _e, _f, _g, _h;
67
- this.bu = bufferView;
68
- this.Yt = bufferView.byteOffsetInRawArrayBufferOfBuffer + byteOffsetInBufferView;
69
- this.Ys = compositionType;
70
- this._s = componentType;
71
- this.Xt = count;
72
- this.au = arrayLength;
67
+ this.ju = bufferView;
68
+ this.eu = bufferView.byteOffsetInRawArrayBufferOfBuffer + byteOffsetInBufferView;
69
+ this.et = compositionType;
70
+ this.gt = componentType;
71
+ this.du = count;
72
+ this.iu = arrayLength;
73
73
  if (Is.exist(max)) {
74
- this.gt.setComponents(
74
+ this.ot.setComponents(
75
75
  (_a = max[0]) != null ? _a : -Number.MAX_VALUE,
76
76
  (_b = max[1]) != null ? _b : -Number.MAX_VALUE,
77
77
  (_c = max[2]) != null ? _c : -Number.MAX_VALUE,
@@ -79,7 +79,7 @@ var _Accessor = class _Accessor {
79
79
  );
80
80
  }
81
81
  if (Is.exist(min)) {
82
- this.ft.setComponents(
82
+ this.nt.setComponents(
83
83
  (_e = min[0]) != null ? _e : Number.MAX_VALUE,
84
84
  (_f = min[1]) != null ? _f : Number.MAX_VALUE,
85
85
  (_g = min[2]) != null ? _g : Number.MAX_VALUE,
@@ -87,55 +87,55 @@ var _Accessor = class _Accessor {
87
87
  );
88
88
  }
89
89
  if (Is.exist(max) && Is.exist(min)) {
90
- this.Wt = false;
90
+ this.cu = false;
91
91
  }
92
- this.Ej = raw;
93
- this.fu = normalized;
94
- this.Tt = byteStride;
95
- if (this.Tt === 0) {
96
- this.Tt = this.Ys.getNumberOfComponents() * this._s.getSizeInBytes() * this.au;
92
+ this.Lj = raw;
93
+ this.nu = normalized;
94
+ this.$t = byteStride;
95
+ if (this.$t === 0) {
96
+ this.$t = this.et.getNumberOfComponents() * this.gt.getSizeInBytes() * this.iu;
97
97
  }
98
- const typedArrayClass = this.getTypedArrayClass(this._s);
99
- this.du = typedArrayClass;
100
- const maxExceededSizeOnAoS = this.Tt - this.Ys.getNumberOfComponents() * this._s.getSizeInBytes();
101
- const sizeFromAccessorBeginToArrayBufferEnd = this.Ej.byteLength - this.Yt;
102
- const maxLimitSizeToAccess = this.byteStride * this.Xt - maxExceededSizeOnAoS;
98
+ const typedArrayClass = this.getTypedArrayClass(this.gt);
99
+ this.lu = typedArrayClass;
100
+ const maxExceededSizeOnAoS = this.$t - this.et.getNumberOfComponents() * this.gt.getSizeInBytes();
101
+ const sizeFromAccessorBeginToArrayBufferEnd = this.Lj.byteLength - this.eu;
102
+ const maxLimitSizeToAccess = this.byteStride * this.du - maxExceededSizeOnAoS;
103
103
  if (sizeFromAccessorBeginToArrayBufferEnd < maxLimitSizeToAccess) {
104
104
  Logger.default.error(
105
105
  `Requesting a data size that exceeds the remaining capacity of the buffer: ${this.bufferView.buffer.name}.
106
106
  Exceeded Size: ${maxLimitSizeToAccess - sizeFromAccessorBeginToArrayBufferEnd}
107
- this.__raw.byteLength: ${this.Ej.byteLength}
107
+ this.__raw.byteLength: ${this.Lj.byteLength}
108
108
  this.__byteOffsetInRawArrayBufferOfBuffer: ${this.byteOffsetInRawArrayBufferOfBuffer}
109
109
  this.byteStride: ${this.byteStride}
110
- this.__count: ${this.Xt}
111
- this.__raw.byteLength - this.__byteOffsetInRawArrayBufferOfBuffer: ${this.Ej.byteLength - this.Yt}
112
- this.byteStride * this.__count: ${this.byteStride * this.Xt}
110
+ this.__count: ${this.du}
111
+ this.__raw.byteLength - this.__byteOffsetInRawArrayBufferOfBuffer: ${this.Lj.byteLength - this.eu}
112
+ this.byteStride * this.__count: ${this.byteStride * this.du}
113
113
  maxExceededSizeOnAoS: ${maxExceededSizeOnAoS}
114
114
  `
115
115
  );
116
116
  }
117
- this._t = new DataView(
118
- this.Ej,
119
- this.Yt,
120
- Math.min(this.Tt * this.Xt, this.Ej.byteLength - this.Yt)
117
+ this.gu = new DataView(
118
+ this.Lj,
119
+ this.eu,
120
+ Math.min(this.$t * this.du, this.Lj.byteLength - this.eu)
121
121
  );
122
- if (this.Yt % typedArrayClass.BYTES_PER_ELEMENT === 0) {
123
- this.cu = new typedArrayClass(
124
- this.Ej,
125
- this.Yt,
126
- this.Ys.getNumberOfComponents() * this.Xt
122
+ if (this.eu % typedArrayClass.BYTES_PER_ELEMENT === 0) {
123
+ this.ku = new typedArrayClass(
124
+ this.Lj,
125
+ this.eu,
126
+ this.et.getNumberOfComponents() * this.du
127
127
  );
128
128
  } else {
129
129
  Logger.default.warn(`This Accessor's byteOffsetInRawArrayBufferOfBuffer is not aligned with the typedArrayClass's BYTES_PER_ELEMENT. So we need to copy the buffer.
130
130
  So the typedArray data got by getTypedArray() is copied data, not reference to the original buffer.
131
131
  `);
132
- this.gu();
132
+ this.ou();
133
133
  }
134
- this.Ut = this._t[this.getDataViewGetter(this._s)].bind(
135
- this._t
134
+ this.au = this.gu[this.getDataViewGetter(this.gt)].bind(
135
+ this.gu
136
136
  );
137
- this.Vt = this._t[this.getDataViewSetter(this._s)].bind(
138
- this._t
137
+ this.bu = this.gu[this.getDataViewSetter(this.gt)].bind(
138
+ this.gu
139
139
  );
140
140
  }
141
141
  /**
@@ -143,23 +143,23 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
143
143
  * This is necessary when the buffer offset is not aligned with the typed array's BYTES_PER_ELEMENT.
144
144
  * @private
145
145
  */
146
- gu() {
147
- const typedArrayClass = this.getTypedArrayClass(this._s);
148
- const copyBuffer = this.Ej.slice(
149
- this.Yt,
150
- this.Yt + this.Ys.getNumberOfComponents() * this.Xt * typedArrayClass.BYTES_PER_ELEMENT
146
+ ou() {
147
+ const typedArrayClass = this.getTypedArrayClass(this.gt);
148
+ const copyBuffer = this.Lj.slice(
149
+ this.eu,
150
+ this.eu + this.et.getNumberOfComponents() * this.du * typedArrayClass.BYTES_PER_ELEMENT
151
151
  );
152
- this.cu = new typedArrayClass(copyBuffer);
152
+ this.ku = new typedArrayClass(copyBuffer);
153
153
  }
154
154
  /**
155
155
  * Called when the accessor data is updated. Increments version and notifies associated primitives.
156
156
  * @private
157
157
  */
158
- Zt() {
158
+ fu() {
159
159
  var _a;
160
- this.eu++;
160
+ this.mu++;
161
161
  if (this._primitive != null) {
162
- (_a = this._primitive.deref()) == null ? void 0 : _a.onAccessorUpdated(this.eu);
162
+ (_a = this._primitive.deref()) == null ? void 0 : _a.onAccessorUpdated(this.mu);
163
163
  }
164
164
  }
165
165
  /**
@@ -253,18 +253,18 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
253
253
  * @throws Error if trying to allocate more elements than available
254
254
  */
255
255
  takeOne() {
256
- const arrayBufferOfBufferView = this.Ej;
257
- if (this.$t >= this.Xt) {
256
+ const arrayBufferOfBufferView = this.Lj;
257
+ if (this.hu >= this.du) {
258
258
  Logger.default.error("You are trying to allocate more than you have secured.");
259
259
  }
260
- const subTypedArray = new this.du(
260
+ const subTypedArray = new this.lu(
261
261
  arrayBufferOfBufferView,
262
- this.Yt + this.Tt * this.$t,
263
- this.Ys.getNumberOfComponents() * this.au
262
+ this.eu + this.$t * this.hu,
263
+ this.et.getNumberOfComponents() * this.iu
264
264
  );
265
265
  subTypedArray._accessor = this;
266
- subTypedArray._idx_of_accessor = this.$t;
267
- this.$t += 1;
266
+ subTypedArray._idx_of_accessor = this.hu;
267
+ this.hu += 1;
268
268
  return subTypedArray;
269
269
  }
270
270
  /**
@@ -276,14 +276,14 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
276
276
  * @private
277
277
  */
278
278
  _takeExistedOne(idx) {
279
- const arrayBufferOfBufferView = this.Ej;
280
- if (idx >= this.Xt) {
279
+ const arrayBufferOfBufferView = this.Lj;
280
+ if (idx >= this.du) {
281
281
  Logger.default.error("You are trying to allocate more than you have secured.");
282
282
  }
283
- const subTypedArray = new this.du(
283
+ const subTypedArray = new this.lu(
284
284
  arrayBufferOfBufferView,
285
- this.Yt + this.Tt * idx,
286
- this.Ys.getNumberOfComponents() * this.au
285
+ this.eu + this.$t * idx,
286
+ this.et.getNumberOfComponents() * this.iu
287
287
  );
288
288
  subTypedArray._accessor = this;
289
289
  subTypedArray._idx_of_accessor = idx;
@@ -294,21 +294,21 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
294
294
  * @returns The count of taken elements
295
295
  */
296
296
  get takenCount() {
297
- return this.$t;
297
+ return this.hu;
298
298
  }
299
299
  /**
300
300
  * Gets the number of components per element (e.g., 3 for Vec3, 4 for Vec4).
301
301
  * @returns The number of components
302
302
  */
303
303
  get numberOfComponents() {
304
- return this.Ys.getNumberOfComponents();
304
+ return this.et.getNumberOfComponents();
305
305
  }
306
306
  /**
307
307
  * Gets the size in bytes of each component.
308
308
  * @returns The component size in bytes
309
309
  */
310
310
  get componentSizeInBytes() {
311
- return this._s.getSizeInBytes();
311
+ return this.gt.getSizeInBytes();
312
312
  }
313
313
  /**
314
314
  * Gets the size in bytes of each element (numberOfComponents * componentSizeInBytes).
@@ -323,28 +323,28 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
323
323
  * @returns The element count
324
324
  */
325
325
  get elementCount() {
326
- return this.Xt;
326
+ return this.du;
327
327
  }
328
328
  /**
329
329
  * Gets the total byte length of all data in this accessor.
330
330
  * @returns The byte length
331
331
  */
332
332
  get byteLength() {
333
- return this.Tt * this.Xt;
333
+ return this.$t * this.du;
334
334
  }
335
335
  /**
336
336
  * Gets the component type of this accessor.
337
337
  * @returns The component type enum
338
338
  */
339
339
  get componentType() {
340
- return this._s;
340
+ return this.gt;
341
341
  }
342
342
  /**
343
343
  * Gets the composition type of this accessor.
344
344
  * @returns The composition type enum
345
345
  */
346
346
  get compositionType() {
347
- return this.Ys;
347
+ return this.et;
348
348
  }
349
349
  /**
350
350
  * Gets the underlying TypedArray for this accessor.
@@ -352,7 +352,7 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
352
352
  * @returns The TypedArray containing the data
353
353
  */
354
354
  getTypedArray() {
355
- return this.cu;
355
+ return this.ku;
356
356
  }
357
357
  /**
358
358
  * Sets the data from a TypedArray into this accessor.
@@ -361,28 +361,28 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
361
361
  * @param typedArray - The TypedArray to copy data from
362
362
  */
363
363
  setTypedArray(typedArray) {
364
- if (typedArray.buffer === this.Ej) {
364
+ if (typedArray.buffer === this.Lj) {
365
365
  } else {
366
- if (this.Ys === CompositionType.Scalar) {
367
- for (let i = 0; i < this.Xt; i++) {
366
+ if (this.et === CompositionType.Scalar) {
367
+ for (let i = 0; i < this.du; i++) {
368
368
  this.setScalar(i, typedArray[i], { endian: true });
369
369
  }
370
- } else if (this.Ys === CompositionType.Vec2) {
371
- for (let i = 0; i < this.Xt; i++) {
370
+ } else if (this.et === CompositionType.Vec2) {
371
+ for (let i = 0; i < this.du; i++) {
372
372
  this.setVec2(i, typedArray[i * 2], typedArray[i * 2 + 1], { endian: true });
373
373
  }
374
- } else if (this.Ys === CompositionType.Vec3) {
375
- for (let i = 0; i < this.Xt; i++) {
374
+ } else if (this.et === CompositionType.Vec3) {
375
+ for (let i = 0; i < this.du; i++) {
376
376
  this.setVec3(i, typedArray[i * 3], typedArray[i * 3 + 1], typedArray[i * 3 + 2], { endian: true });
377
377
  }
378
- } else if (this.Ys === CompositionType.Vec4) {
379
- for (let i = 0; i < this.Xt; i++) {
378
+ } else if (this.et === CompositionType.Vec4) {
379
+ for (let i = 0; i < this.du; i++) {
380
380
  this.setVec4(i, typedArray[i * 4], typedArray[i * 4 + 1], typedArray[i * 4 + 2], typedArray[i * 4 + 3], {
381
381
  endian: true
382
382
  });
383
383
  }
384
- } else if (this.Ys === CompositionType.Mat3) {
385
- for (let i = 0; i < this.Xt; i++) {
384
+ } else if (this.et === CompositionType.Mat3) {
385
+ for (let i = 0; i < this.du; i++) {
386
386
  this.setMat3(
387
387
  i,
388
388
  typedArray[i * 9],
@@ -397,8 +397,8 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
397
397
  { endian: true }
398
398
  );
399
399
  }
400
- } else if (this.Ys === CompositionType.Mat4) {
401
- for (let i = 0; i < this.Xt; i++) {
400
+ } else if (this.et === CompositionType.Mat4) {
401
+ for (let i = 0; i < this.du; i++) {
402
402
  this.setMat4(
403
403
  i,
404
404
  typedArray[i * 16],
@@ -423,7 +423,7 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
423
423
  } else {
424
424
  throw new Error("Unexpected CompositionType!");
425
425
  }
426
- this.gu();
426
+ this.ou();
427
427
  }
428
428
  }
429
429
  /**
@@ -452,7 +452,7 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
452
452
  * @returns True if using SoA layout
453
453
  */
454
454
  get isSoA() {
455
- const isSoA = this.byteStride === this.Ys.getNumberOfComponents() * this._s.getSizeInBytes();
455
+ const isSoA = this.byteStride === this.et.getNumberOfComponents() * this.gt.getSizeInBytes();
456
456
  return isSoA;
457
457
  }
458
458
  /**
@@ -462,7 +462,7 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
462
462
  * @returns The byte stride
463
463
  */
464
464
  get byteStride() {
465
- return this.Tt;
465
+ return this.$t;
466
466
  }
467
467
  /**
468
468
  * Gets a scalar value at the specified index.
@@ -475,7 +475,7 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
475
475
  if (indicesAccessor) {
476
476
  index = indicesAccessor.getScalar(i, {});
477
477
  }
478
- return this.Ut(this.Tt * index, endian);
478
+ return this.au(this.$t * index, endian);
479
479
  }
480
480
  /**
481
481
  * Gets a scalar value at the specified index with a composition offset.
@@ -489,7 +489,7 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
489
489
  if (indicesAccessor) {
490
490
  index = indicesAccessor.getScalar(i, {});
491
491
  }
492
- return this.Ut(this.Tt * index + compositionOffset, endian);
492
+ return this.au(this.$t * index + compositionOffset, endian);
493
493
  }
494
494
  /**
495
495
  * Gets a 2D vector as an array at the specified index.
@@ -504,8 +504,8 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
504
504
  }
505
505
  const byteSize = this.componentSizeInBytes;
506
506
  return [
507
- this.Ut(this.Tt * index, endian),
508
- this.Ut(this.Tt * index + 1 * byteSize, endian)
507
+ this.au(this.$t * index, endian),
508
+ this.au(this.$t * index + 1 * byteSize, endian)
509
509
  ];
510
510
  }
511
511
  /**
@@ -521,9 +521,9 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
521
521
  }
522
522
  const byteSize = this.componentSizeInBytes;
523
523
  return [
524
- this.Ut(this.Tt * index, endian),
525
- this.Ut(this.Tt * index + 1 * byteSize, endian),
526
- this.Ut(this.Tt * index + 2 * byteSize, endian)
524
+ this.au(this.$t * index, endian),
525
+ this.au(this.$t * index + 1 * byteSize, endian),
526
+ this.au(this.$t * index + 2 * byteSize, endian)
527
527
  ];
528
528
  }
529
529
  /**
@@ -539,10 +539,10 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
539
539
  }
540
540
  const byteSize = this.componentSizeInBytes;
541
541
  return [
542
- this.Ut(this.Tt * index, endian),
543
- this.Ut(this.Tt * index + 1 * byteSize, endian),
544
- this.Ut(this.Tt * index + 2 * byteSize, endian),
545
- this.Ut(this.Tt * index + 3 * byteSize, endian)
542
+ this.au(this.$t * index, endian),
543
+ this.au(this.$t * index + 1 * byteSize, endian),
544
+ this.au(this.$t * index + 2 * byteSize, endian),
545
+ this.au(this.$t * index + 3 * byteSize, endian)
546
546
  ];
547
547
  }
548
548
  /**
@@ -558,15 +558,15 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
558
558
  }
559
559
  const byteSize = this.componentSizeInBytes;
560
560
  return [
561
- this.Ut(this.Tt * index, endian),
562
- this.Ut(this.Tt * index + 1 * byteSize, endian),
563
- this.Ut(this.Tt * index + 2 * byteSize, endian),
564
- this.Ut(this.Tt * index + 3 * byteSize, endian),
565
- this.Ut(this.Tt * index + 4 * byteSize, endian),
566
- this.Ut(this.Tt * index + 5 * byteSize, endian),
567
- this.Ut(this.Tt * index + 6 * byteSize, endian),
568
- this.Ut(this.Tt * index + 7 * byteSize, endian),
569
- this.Ut(this.Tt * index + 8 * byteSize, endian)
561
+ this.au(this.$t * index, endian),
562
+ this.au(this.$t * index + 1 * byteSize, endian),
563
+ this.au(this.$t * index + 2 * byteSize, endian),
564
+ this.au(this.$t * index + 3 * byteSize, endian),
565
+ this.au(this.$t * index + 4 * byteSize, endian),
566
+ this.au(this.$t * index + 5 * byteSize, endian),
567
+ this.au(this.$t * index + 6 * byteSize, endian),
568
+ this.au(this.$t * index + 7 * byteSize, endian),
569
+ this.au(this.$t * index + 8 * byteSize, endian)
570
570
  ];
571
571
  }
572
572
  /**
@@ -582,22 +582,22 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
582
582
  }
583
583
  const byteSize = this.componentSizeInBytes;
584
584
  return [
585
- this.Ut(this.Tt * index, endian),
586
- this.Ut(this.Tt * index + 1 * byteSize, endian),
587
- this.Ut(this.Tt * index + 2 * byteSize, endian),
588
- this.Ut(this.Tt * index + 3 * byteSize, endian),
589
- this.Ut(this.Tt * index + 4 * byteSize, endian),
590
- this.Ut(this.Tt * index + 5 * byteSize, endian),
591
- this.Ut(this.Tt * index + 6 * byteSize, endian),
592
- this.Ut(this.Tt * index + 7 * byteSize, endian),
593
- this.Ut(this.Tt * index + 8 * byteSize, endian),
594
- this.Ut(this.Tt * index + 9 * byteSize, endian),
595
- this.Ut(this.Tt * index + 10 * byteSize, endian),
596
- this.Ut(this.Tt * index + 11 * byteSize, endian),
597
- this.Ut(this.Tt * index + 12 * byteSize, endian),
598
- this.Ut(this.Tt * index + 13 * byteSize, endian),
599
- this.Ut(this.Tt * index + 14 * byteSize, endian),
600
- this.Ut(this.Tt * index + 15 * byteSize, endian)
585
+ this.au(this.$t * index, endian),
586
+ this.au(this.$t * index + 1 * byteSize, endian),
587
+ this.au(this.$t * index + 2 * byteSize, endian),
588
+ this.au(this.$t * index + 3 * byteSize, endian),
589
+ this.au(this.$t * index + 4 * byteSize, endian),
590
+ this.au(this.$t * index + 5 * byteSize, endian),
591
+ this.au(this.$t * index + 6 * byteSize, endian),
592
+ this.au(this.$t * index + 7 * byteSize, endian),
593
+ this.au(this.$t * index + 8 * byteSize, endian),
594
+ this.au(this.$t * index + 9 * byteSize, endian),
595
+ this.au(this.$t * index + 10 * byteSize, endian),
596
+ this.au(this.$t * index + 11 * byteSize, endian),
597
+ this.au(this.$t * index + 12 * byteSize, endian),
598
+ this.au(this.$t * index + 13 * byteSize, endian),
599
+ this.au(this.$t * index + 14 * byteSize, endian),
600
+ this.au(this.$t * index + 15 * byteSize, endian)
601
601
  ];
602
602
  }
603
603
  /**
@@ -613,8 +613,8 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
613
613
  }
614
614
  const byteSize = this.componentSizeInBytes;
615
615
  return Vector2.fromCopyArray2([
616
- this.Ut(this.Tt * index, endian),
617
- this.Ut(this.Tt * index + 1 * byteSize, endian)
616
+ this.au(this.$t * index, endian),
617
+ this.au(this.$t * index + 1 * byteSize, endian)
618
618
  ]);
619
619
  }
620
620
  /**
@@ -630,9 +630,9 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
630
630
  }
631
631
  const byteSize = this.componentSizeInBytes;
632
632
  return Vector3.fromCopyArray([
633
- this.Ut(this.Tt * index, endian),
634
- this.Ut(this.Tt * index + 1 * byteSize, endian),
635
- this.Ut(this.Tt * index + 2 * byteSize, endian)
633
+ this.au(this.$t * index, endian),
634
+ this.au(this.$t * index + 1 * byteSize, endian),
635
+ this.au(this.$t * index + 2 * byteSize, endian)
636
636
  ]);
637
637
  }
638
638
  /**
@@ -648,10 +648,10 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
648
648
  }
649
649
  const byteSize = this.componentSizeInBytes;
650
650
  return Vector4.fromCopyArray([
651
- this.Ut(this.Tt * index, endian),
652
- this.Ut(this.Tt * index + 1 * byteSize, endian),
653
- this.Ut(this.Tt * index + 2 * byteSize, endian),
654
- this.Ut(this.Tt * index + 3 * byteSize, endian)
651
+ this.au(this.$t * index, endian),
652
+ this.au(this.$t * index + 1 * byteSize, endian),
653
+ this.au(this.$t * index + 2 * byteSize, endian),
654
+ this.au(this.$t * index + 3 * byteSize, endian)
655
655
  ]);
656
656
  }
657
657
  /**
@@ -667,15 +667,15 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
667
667
  }
668
668
  const byteSize = this.componentSizeInBytes;
669
669
  return Matrix33.fromCopy9RowMajor(
670
- this.Ut(this.Tt * index, endian),
671
- this.Ut(this.Tt * index + 1 * byteSize, endian),
672
- this.Ut(this.Tt * index + 2 * byteSize, endian),
673
- this.Ut(this.Tt * index + 3 * byteSize, endian),
674
- this.Ut(this.Tt * index + 4 * byteSize, endian),
675
- this.Ut(this.Tt * index + 5 * byteSize, endian),
676
- this.Ut(this.Tt * index + 6 * byteSize, endian),
677
- this.Ut(this.Tt * index + 7 * byteSize, endian),
678
- this.Ut(this.Tt * index + 8 * byteSize, endian)
670
+ this.au(this.$t * index, endian),
671
+ this.au(this.$t * index + 1 * byteSize, endian),
672
+ this.au(this.$t * index + 2 * byteSize, endian),
673
+ this.au(this.$t * index + 3 * byteSize, endian),
674
+ this.au(this.$t * index + 4 * byteSize, endian),
675
+ this.au(this.$t * index + 5 * byteSize, endian),
676
+ this.au(this.$t * index + 6 * byteSize, endian),
677
+ this.au(this.$t * index + 7 * byteSize, endian),
678
+ this.au(this.$t * index + 8 * byteSize, endian)
679
679
  );
680
680
  }
681
681
  /**
@@ -691,22 +691,22 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
691
691
  }
692
692
  const byteSize = this.componentSizeInBytes;
693
693
  return MutableMatrix44.fromCopy16RowMajor(
694
- this.Ut(this.Tt * index, endian),
695
- this.Ut(this.Tt * index + 1 * byteSize, endian),
696
- this.Ut(this.Tt * index + 2 * byteSize, endian),
697
- this.Ut(this.Tt * index + 3 * byteSize, endian),
698
- this.Ut(this.Tt * index + 4 * byteSize, endian),
699
- this.Ut(this.Tt * index + 5 * byteSize, endian),
700
- this.Ut(this.Tt * index + 6 * byteSize, endian),
701
- this.Ut(this.Tt * index + 7 * byteSize, endian),
702
- this.Ut(this.Tt * index + 8 * byteSize, endian),
703
- this.Ut(this.Tt * index + 9 * byteSize, endian),
704
- this.Ut(this.Tt * index + 10 * byteSize, endian),
705
- this.Ut(this.Tt * index + 11 * byteSize, endian),
706
- this.Ut(this.Tt * index + 12 * byteSize, endian),
707
- this.Ut(this.Tt * index + 13 * byteSize, endian),
708
- this.Ut(this.Tt * index + 14 * byteSize, endian),
709
- this.Ut(this.Tt * index + 15 * byteSize, endian)
694
+ this.au(this.$t * index, endian),
695
+ this.au(this.$t * index + 1 * byteSize, endian),
696
+ this.au(this.$t * index + 2 * byteSize, endian),
697
+ this.au(this.$t * index + 3 * byteSize, endian),
698
+ this.au(this.$t * index + 4 * byteSize, endian),
699
+ this.au(this.$t * index + 5 * byteSize, endian),
700
+ this.au(this.$t * index + 6 * byteSize, endian),
701
+ this.au(this.$t * index + 7 * byteSize, endian),
702
+ this.au(this.$t * index + 8 * byteSize, endian),
703
+ this.au(this.$t * index + 9 * byteSize, endian),
704
+ this.au(this.$t * index + 10 * byteSize, endian),
705
+ this.au(this.$t * index + 11 * byteSize, endian),
706
+ this.au(this.$t * index + 12 * byteSize, endian),
707
+ this.au(this.$t * index + 13 * byteSize, endian),
708
+ this.au(this.$t * index + 14 * byteSize, endian),
709
+ this.au(this.$t * index + 15 * byteSize, endian)
710
710
  );
711
711
  }
712
712
  /**
@@ -724,8 +724,8 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
724
724
  }
725
725
  const byteSize = this.componentSizeInBytes;
726
726
  return out.setComponents(
727
- this.Ut(this.Tt * index, endian),
728
- this.Ut(this.Tt * index + 1 * byteSize, endian)
727
+ this.au(this.$t * index, endian),
728
+ this.au(this.$t * index + 1 * byteSize, endian)
729
729
  );
730
730
  }
731
731
  /**
@@ -743,9 +743,9 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
743
743
  }
744
744
  const byteSize = this.componentSizeInBytes;
745
745
  return out.setComponents(
746
- this.Ut(this.Tt * index, endian),
747
- this.Ut(this.Tt * index + 1 * byteSize, endian),
748
- this.Ut(this.Tt * index + 2 * byteSize, endian)
746
+ this.au(this.$t * index, endian),
747
+ this.au(this.$t * index + 1 * byteSize, endian),
748
+ this.au(this.$t * index + 2 * byteSize, endian)
749
749
  );
750
750
  }
751
751
  /**
@@ -763,10 +763,10 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
763
763
  }
764
764
  const byteSize = this.componentSizeInBytes;
765
765
  return out.setComponents(
766
- this.Ut(this.Tt * index, endian),
767
- this.Ut(this.Tt * index + 1 * byteSize, endian),
768
- this.Ut(this.Tt * index + 2 * byteSize, endian),
769
- this.Ut(this.Tt * index + 3 * byteSize, endian)
766
+ this.au(this.$t * index, endian),
767
+ this.au(this.$t * index + 1 * byteSize, endian),
768
+ this.au(this.$t * index + 2 * byteSize, endian),
769
+ this.au(this.$t * index + 3 * byteSize, endian)
770
770
  );
771
771
  }
772
772
  /**
@@ -784,15 +784,15 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
784
784
  }
785
785
  const byteSize = this.componentSizeInBytes;
786
786
  return out.setComponents(
787
- this.Ut(this.Tt * index, endian),
788
- this.Ut(this.Tt * index + 1 * byteSize, endian),
789
- this.Ut(this.Tt * index + 2 * byteSize, endian),
790
- this.Ut(this.Tt * index + 3 * byteSize, endian),
791
- this.Ut(this.Tt * index + 4 * byteSize, endian),
792
- this.Ut(this.Tt * index + 5 * byteSize, endian),
793
- this.Ut(this.Tt * index + 6 * byteSize, endian),
794
- this.Ut(this.Tt * index + 7 * byteSize, endian),
795
- this.Ut(this.Tt * index + 8 * byteSize, endian)
787
+ this.au(this.$t * index, endian),
788
+ this.au(this.$t * index + 1 * byteSize, endian),
789
+ this.au(this.$t * index + 2 * byteSize, endian),
790
+ this.au(this.$t * index + 3 * byteSize, endian),
791
+ this.au(this.$t * index + 4 * byteSize, endian),
792
+ this.au(this.$t * index + 5 * byteSize, endian),
793
+ this.au(this.$t * index + 6 * byteSize, endian),
794
+ this.au(this.$t * index + 7 * byteSize, endian),
795
+ this.au(this.$t * index + 8 * byteSize, endian)
796
796
  );
797
797
  }
798
798
  /**
@@ -810,22 +810,22 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
810
810
  }
811
811
  const byteSize = this.componentSizeInBytes;
812
812
  return out.setComponents(
813
- this.Ut(this.Tt * index, endian),
814
- this.Ut(this.Tt * index + 1 * byteSize, endian),
815
- this.Ut(this.Tt * index + 2 * byteSize, endian),
816
- this.Ut(this.Tt * index + 3 * byteSize, endian),
817
- this.Ut(this.Tt * index + 4 * byteSize, endian),
818
- this.Ut(this.Tt * index + 5 * byteSize, endian),
819
- this.Ut(this.Tt * index + 6 * byteSize, endian),
820
- this.Ut(this.Tt * index + 7 * byteSize, endian),
821
- this.Ut(this.Tt * index + 8 * byteSize, endian),
822
- this.Ut(this.Tt * index + 9 * byteSize, endian),
823
- this.Ut(this.Tt * index + 10 * byteSize, endian),
824
- this.Ut(this.Tt * index + 11 * byteSize, endian),
825
- this.Ut(this.Tt * index + 12 * byteSize, endian),
826
- this.Ut(this.Tt * index + 13 * byteSize, endian),
827
- this.Ut(this.Tt * index + 14 * byteSize, endian),
828
- this.Ut(this.Tt * index + 15 * byteSize, endian)
813
+ this.au(this.$t * index, endian),
814
+ this.au(this.$t * index + 1 * byteSize, endian),
815
+ this.au(this.$t * index + 2 * byteSize, endian),
816
+ this.au(this.$t * index + 3 * byteSize, endian),
817
+ this.au(this.$t * index + 4 * byteSize, endian),
818
+ this.au(this.$t * index + 5 * byteSize, endian),
819
+ this.au(this.$t * index + 6 * byteSize, endian),
820
+ this.au(this.$t * index + 7 * byteSize, endian),
821
+ this.au(this.$t * index + 8 * byteSize, endian),
822
+ this.au(this.$t * index + 9 * byteSize, endian),
823
+ this.au(this.$t * index + 10 * byteSize, endian),
824
+ this.au(this.$t * index + 11 * byteSize, endian),
825
+ this.au(this.$t * index + 12 * byteSize, endian),
826
+ this.au(this.$t * index + 13 * byteSize, endian),
827
+ this.au(this.$t * index + 14 * byteSize, endian),
828
+ this.au(this.$t * index + 15 * byteSize, endian)
829
829
  );
830
830
  }
831
831
  /**
@@ -839,9 +839,9 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
839
839
  if (indicesAccessor) {
840
840
  index = indicesAccessor.getScalar(i, {});
841
841
  }
842
- this.Vt(this.Tt * index, value, endian);
843
- this.Wt = true;
844
- this.Zt();
842
+ this.bu(this.$t * index, value, endian);
843
+ this.cu = true;
844
+ this.fu();
845
845
  }
846
846
  /**
847
847
  * Sets a 2D vector at the specified index.
@@ -856,10 +856,10 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
856
856
  index = indicesAccessor.getScalar(i, {});
857
857
  }
858
858
  const sizeInBytes = this.componentSizeInBytes;
859
- this.Vt(this.Tt * index, x, endian);
860
- this.Vt(this.Tt * index + 1 * sizeInBytes, y, endian);
861
- this.Wt = true;
862
- this.Zt();
859
+ this.bu(this.$t * index, x, endian);
860
+ this.bu(this.$t * index + 1 * sizeInBytes, y, endian);
861
+ this.cu = true;
862
+ this.fu();
863
863
  }
864
864
  /**
865
865
  * Sets a 3D vector at the specified index.
@@ -875,11 +875,11 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
875
875
  index = indicesAccessor.getScalar(i, {});
876
876
  }
877
877
  const sizeInBytes = this.componentSizeInBytes;
878
- this.Vt(this.Tt * index, x, endian);
879
- this.Vt(this.Tt * index + 1 * sizeInBytes, y, endian);
880
- this.Vt(this.Tt * index + 2 * sizeInBytes, z, endian);
881
- this.Wt = true;
882
- this.Zt();
878
+ this.bu(this.$t * index, x, endian);
879
+ this.bu(this.$t * index + 1 * sizeInBytes, y, endian);
880
+ this.bu(this.$t * index + 2 * sizeInBytes, z, endian);
881
+ this.cu = true;
882
+ this.fu();
883
883
  }
884
884
  /**
885
885
  * Sets a 4D vector at the specified index.
@@ -896,12 +896,12 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
896
896
  index = indicesAccessor.getScalar(i, {});
897
897
  }
898
898
  const sizeInBytes = this.componentSizeInBytes;
899
- this.Vt(this.Tt * index, x, endian);
900
- this.Vt(this.Tt * index + 1 * sizeInBytes, y, endian);
901
- this.Vt(this.Tt * index + 2 * sizeInBytes, z, endian);
902
- this.Vt(this.Tt * index + 3 * sizeInBytes, w, endian);
903
- this.Wt = true;
904
- this.Zt();
899
+ this.bu(this.$t * index, x, endian);
900
+ this.bu(this.$t * index + 1 * sizeInBytes, y, endian);
901
+ this.bu(this.$t * index + 2 * sizeInBytes, z, endian);
902
+ this.bu(this.$t * index + 3 * sizeInBytes, w, endian);
903
+ this.cu = true;
904
+ this.fu();
905
905
  }
906
906
  /**
907
907
  * Sets a 3x3 matrix at the specified index.
@@ -923,17 +923,17 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
923
923
  index = indicesAccessor.getScalar(i, {});
924
924
  }
925
925
  const sizeInBytes = this.componentSizeInBytes;
926
- this.Vt(this.Tt * index, v0, endian);
927
- this.Vt(this.Tt * index + 1 * sizeInBytes, v1, endian);
928
- this.Vt(this.Tt * index + 2 * sizeInBytes, v2, endian);
929
- this.Vt(this.Tt * index + 3 * sizeInBytes, v3, endian);
930
- this.Vt(this.Tt * index + 4 * sizeInBytes, v4, endian);
931
- this.Vt(this.Tt * index + 5 * sizeInBytes, v5, endian);
932
- this.Vt(this.Tt * index + 6 * sizeInBytes, v6, endian);
933
- this.Vt(this.Tt * index + 7 * sizeInBytes, v7, endian);
934
- this.Vt(this.Tt * index + 8 * sizeInBytes, v8, endian);
935
- this.Wt = true;
936
- this.Zt();
926
+ this.bu(this.$t * index, v0, endian);
927
+ this.bu(this.$t * index + 1 * sizeInBytes, v1, endian);
928
+ this.bu(this.$t * index + 2 * sizeInBytes, v2, endian);
929
+ this.bu(this.$t * index + 3 * sizeInBytes, v3, endian);
930
+ this.bu(this.$t * index + 4 * sizeInBytes, v4, endian);
931
+ this.bu(this.$t * index + 5 * sizeInBytes, v5, endian);
932
+ this.bu(this.$t * index + 6 * sizeInBytes, v6, endian);
933
+ this.bu(this.$t * index + 7 * sizeInBytes, v7, endian);
934
+ this.bu(this.$t * index + 8 * sizeInBytes, v8, endian);
935
+ this.cu = true;
936
+ this.fu();
937
937
  }
938
938
  /**
939
939
  * Sets a 4x4 matrix at the specified index.
@@ -962,24 +962,24 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
962
962
  index = indicesAccessor.getScalar(i, {});
963
963
  }
964
964
  const sizeInBytes = this.componentSizeInBytes;
965
- this.Vt(this.Tt * index, v0, endian);
966
- this.Vt(this.Tt * index + 1 * sizeInBytes, v1, endian);
967
- this.Vt(this.Tt * index + 2 * sizeInBytes, v2, endian);
968
- this.Vt(this.Tt * index + 3 * sizeInBytes, v3, endian);
969
- this.Vt(this.Tt * index + 4 * sizeInBytes, v4, endian);
970
- this.Vt(this.Tt * index + 5 * sizeInBytes, v5, endian);
971
- this.Vt(this.Tt * index + 6 * sizeInBytes, v6, endian);
972
- this.Vt(this.Tt * index + 7 * sizeInBytes, v7, endian);
973
- this.Vt(this.Tt * index + 8 * sizeInBytes, v8, endian);
974
- this.Vt(this.Tt * index + 9 * sizeInBytes, v9, endian);
975
- this.Vt(this.Tt * index + 10 * sizeInBytes, v10, endian);
976
- this.Vt(this.Tt * index + 11 * sizeInBytes, v11, endian);
977
- this.Vt(this.Tt * index + 12 * sizeInBytes, v12, endian);
978
- this.Vt(this.Tt * index + 13 * sizeInBytes, v13, endian);
979
- this.Vt(this.Tt * index + 14 * sizeInBytes, v14, endian);
980
- this.Vt(this.Tt * index + 15 * sizeInBytes, v15, endian);
981
- this.Wt = true;
982
- this.Zt();
965
+ this.bu(this.$t * index, v0, endian);
966
+ this.bu(this.$t * index + 1 * sizeInBytes, v1, endian);
967
+ this.bu(this.$t * index + 2 * sizeInBytes, v2, endian);
968
+ this.bu(this.$t * index + 3 * sizeInBytes, v3, endian);
969
+ this.bu(this.$t * index + 4 * sizeInBytes, v4, endian);
970
+ this.bu(this.$t * index + 5 * sizeInBytes, v5, endian);
971
+ this.bu(this.$t * index + 6 * sizeInBytes, v6, endian);
972
+ this.bu(this.$t * index + 7 * sizeInBytes, v7, endian);
973
+ this.bu(this.$t * index + 8 * sizeInBytes, v8, endian);
974
+ this.bu(this.$t * index + 9 * sizeInBytes, v9, endian);
975
+ this.bu(this.$t * index + 10 * sizeInBytes, v10, endian);
976
+ this.bu(this.$t * index + 11 * sizeInBytes, v11, endian);
977
+ this.bu(this.$t * index + 12 * sizeInBytes, v12, endian);
978
+ this.bu(this.$t * index + 13 * sizeInBytes, v13, endian);
979
+ this.bu(this.$t * index + 14 * sizeInBytes, v14, endian);
980
+ this.bu(this.$t * index + 15 * sizeInBytes, v15, endian);
981
+ this.cu = true;
982
+ this.fu();
983
983
  }
984
984
  /**
985
985
  * Sets a 2D vector at the specified index using a Vector2 object.
@@ -993,10 +993,10 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
993
993
  index = indicesAccessor.getScalar(i, {});
994
994
  }
995
995
  const sizeInBytes = this.componentSizeInBytes;
996
- this.Vt(this.Tt * index, vec.x, endian);
997
- this.Vt(this.Tt * index + 1 * sizeInBytes, vec.y, endian);
998
- this.Wt = true;
999
- this.Zt();
996
+ this.bu(this.$t * index, vec.x, endian);
997
+ this.bu(this.$t * index + 1 * sizeInBytes, vec.y, endian);
998
+ this.cu = true;
999
+ this.fu();
1000
1000
  }
1001
1001
  /**
1002
1002
  * Sets a 3D vector at the specified index using a Vector3 object.
@@ -1010,11 +1010,11 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1010
1010
  index = indicesAccessor.getScalar(i, {});
1011
1011
  }
1012
1012
  const sizeInBytes = this.componentSizeInBytes;
1013
- this.Vt(this.Tt * index, vec.x, endian);
1014
- this.Vt(this.Tt * index + 1 * sizeInBytes, vec.y, endian);
1015
- this.Vt(this.Tt * index + 2 * sizeInBytes, vec.z, endian);
1016
- this.Wt = true;
1017
- this.Zt();
1013
+ this.bu(this.$t * index, vec.x, endian);
1014
+ this.bu(this.$t * index + 1 * sizeInBytes, vec.y, endian);
1015
+ this.bu(this.$t * index + 2 * sizeInBytes, vec.z, endian);
1016
+ this.cu = true;
1017
+ this.fu();
1018
1018
  }
1019
1019
  /**
1020
1020
  * Sets a 4D vector at the specified index using a Vector4 object.
@@ -1028,12 +1028,12 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1028
1028
  index = indicesAccessor.getScalar(i, {});
1029
1029
  }
1030
1030
  const sizeInBytes = this.componentSizeInBytes;
1031
- this.Vt(this.Tt * index, vec.x, endian);
1032
- this.Vt(this.Tt * index + 1 * sizeInBytes, vec.y, endian);
1033
- this.Vt(this.Tt * index + 2 * sizeInBytes, vec.z, endian);
1034
- this.Vt(this.Tt * index + 3 * sizeInBytes, vec.w, endian);
1035
- this.Wt = true;
1036
- this.Zt();
1031
+ this.bu(this.$t * index, vec.x, endian);
1032
+ this.bu(this.$t * index + 1 * sizeInBytes, vec.y, endian);
1033
+ this.bu(this.$t * index + 2 * sizeInBytes, vec.z, endian);
1034
+ this.bu(this.$t * index + 3 * sizeInBytes, vec.w, endian);
1035
+ this.cu = true;
1036
+ this.fu();
1037
1037
  }
1038
1038
  /**
1039
1039
  * Sets a 4x4 matrix at the specified index using a Matrix44 object.
@@ -1047,24 +1047,24 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1047
1047
  index = indicesAccessor.getScalar(i, {});
1048
1048
  }
1049
1049
  const sizeInBytes = this.componentSizeInBytes;
1050
- this.Vt(this.Tt * index, mat._v[0], endian);
1051
- this.Vt(this.Tt * index + 1 * sizeInBytes, mat._v[1], endian);
1052
- this.Vt(this.Tt * index + 2 * sizeInBytes, mat._v[2], endian);
1053
- this.Vt(this.Tt * index + 3 * sizeInBytes, mat._v[3], endian);
1054
- this.Vt(this.Tt * index + 4 * sizeInBytes, mat._v[4], endian);
1055
- this.Vt(this.Tt * index + 5 * sizeInBytes, mat._v[5], endian);
1056
- this.Vt(this.Tt * index + 6 * sizeInBytes, mat._v[6], endian);
1057
- this.Vt(this.Tt * index + 7 * sizeInBytes, mat._v[7], endian);
1058
- this.Vt(this.Tt * index + 8 * sizeInBytes, mat._v[8], endian);
1059
- this.Vt(this.Tt * index + 9 * sizeInBytes, mat._v[9], endian);
1060
- this.Vt(this.Tt * index + 10 * sizeInBytes, mat._v[10], endian);
1061
- this.Vt(this.Tt * index + 11 * sizeInBytes, mat._v[11], endian);
1062
- this.Vt(this.Tt * index + 12 * sizeInBytes, mat._v[12], endian);
1063
- this.Vt(this.Tt * index + 13 * sizeInBytes, mat._v[13], endian);
1064
- this.Vt(this.Tt * index + 14 * sizeInBytes, mat._v[14], endian);
1065
- this.Vt(this.Tt * index + 15 * sizeInBytes, mat._v[15], endian);
1066
- this.Wt = true;
1067
- this.Zt();
1050
+ this.bu(this.$t * index, mat._v[0], endian);
1051
+ this.bu(this.$t * index + 1 * sizeInBytes, mat._v[1], endian);
1052
+ this.bu(this.$t * index + 2 * sizeInBytes, mat._v[2], endian);
1053
+ this.bu(this.$t * index + 3 * sizeInBytes, mat._v[3], endian);
1054
+ this.bu(this.$t * index + 4 * sizeInBytes, mat._v[4], endian);
1055
+ this.bu(this.$t * index + 5 * sizeInBytes, mat._v[5], endian);
1056
+ this.bu(this.$t * index + 6 * sizeInBytes, mat._v[6], endian);
1057
+ this.bu(this.$t * index + 7 * sizeInBytes, mat._v[7], endian);
1058
+ this.bu(this.$t * index + 8 * sizeInBytes, mat._v[8], endian);
1059
+ this.bu(this.$t * index + 9 * sizeInBytes, mat._v[9], endian);
1060
+ this.bu(this.$t * index + 10 * sizeInBytes, mat._v[10], endian);
1061
+ this.bu(this.$t * index + 11 * sizeInBytes, mat._v[11], endian);
1062
+ this.bu(this.$t * index + 12 * sizeInBytes, mat._v[12], endian);
1063
+ this.bu(this.$t * index + 13 * sizeInBytes, mat._v[13], endian);
1064
+ this.bu(this.$t * index + 14 * sizeInBytes, mat._v[14], endian);
1065
+ this.bu(this.$t * index + 15 * sizeInBytes, mat._v[15], endian);
1066
+ this.cu = true;
1067
+ this.fu();
1068
1068
  }
1069
1069
  /**
1070
1070
  * Copies data from a TypedArray into this accessor.
@@ -1093,8 +1093,8 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1093
1093
  throw new Error("Other than vectors are currently not supported.");
1094
1094
  }
1095
1095
  }
1096
- this.Wt = true;
1097
- this.Zt();
1096
+ this.cu = true;
1097
+ this.fu();
1098
1098
  }
1099
1099
  /**
1100
1100
  * Sets a scalar value at the specified index with a composition offset.
@@ -1108,9 +1108,9 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1108
1108
  if (indicesAccessor) {
1109
1109
  index = indicesAccessor.getScalar(i, {});
1110
1110
  }
1111
- this.Vt(this.Tt * index + compositionOffset, value, endian);
1112
- this.Wt = true;
1113
- this.Zt();
1111
+ this.bu(this.$t * index + compositionOffset, value, endian);
1112
+ this.cu = true;
1113
+ this.fu();
1114
1114
  }
1115
1115
  /**
1116
1116
  * Sets an element from another accessor with the same composition type.
@@ -1129,20 +1129,20 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1129
1129
  } else if (this.compositionType.getNumberOfComponents() === 4) {
1130
1130
  this.setVec4AsVector(i, accessor.getVec4(j, {}), {});
1131
1131
  }
1132
- this.Wt = true;
1133
- this.Zt();
1132
+ this.cu = true;
1133
+ this.fu();
1134
1134
  }
1135
1135
  /**
1136
1136
  * Copies the entire buffer from another accessor.
1137
1137
  * @param accessor - The source accessor to copy the buffer from
1138
1138
  */
1139
1139
  copyBuffer(accessor) {
1140
- new Uint8Array(this.Ej).set(
1141
- new Uint8Array(accessor.Ej, accessor.Yt, accessor.byteLength),
1142
- this.Yt
1140
+ new Uint8Array(this.Lj).set(
1141
+ new Uint8Array(accessor.Lj, accessor.eu, accessor.byteLength),
1142
+ this.eu
1143
1143
  );
1144
- this.Wt = true;
1145
- this.Zt();
1144
+ this.cu = true;
1145
+ this.fu();
1146
1146
  }
1147
1147
  /**
1148
1148
  * Sets an element from another accessor, handling different composition types.
@@ -1205,8 +1205,8 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1205
1205
  this.setVec4AsVector(i, vec, {});
1206
1206
  }
1207
1207
  }
1208
- this.Wt = true;
1209
- this.Zt();
1208
+ this.cu = true;
1209
+ this.fu();
1210
1210
  }
1211
1211
  /**
1212
1212
  * Adds an element from another accessor with the same composition type, scaled by a coefficient.
@@ -1226,50 +1226,50 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1226
1226
  } else if (this.compositionType.getNumberOfComponents() === 4) {
1227
1227
  this.setVec4AsVector(i, Vector4.add(this.getVec4(i, {}), Vector4.multiply(accessor.getVec4(j, {}), coeff)), {});
1228
1228
  }
1229
- this.Wt = true;
1230
- this.Zt();
1229
+ this.cu = true;
1230
+ this.fu();
1231
1231
  }
1232
1232
  /**
1233
1233
  * Gets the underlying ArrayBuffer of the buffer view.
1234
1234
  * @returns The ArrayBuffer containing the data
1235
1235
  */
1236
1236
  get arrayBufferOfBufferView() {
1237
- return this.Ej;
1237
+ return this.Lj;
1238
1238
  }
1239
1239
  /**
1240
1240
  * Gets the DataView of the buffer view.
1241
1241
  * @returns The DataView for accessing the buffer data
1242
1242
  */
1243
1243
  get dataViewOfBufferView() {
1244
- return this._t;
1244
+ return this.gu;
1245
1245
  }
1246
1246
  /**
1247
1247
  * Gets the byte offset within the buffer view.
1248
1248
  * @returns The byte offset in the buffer view
1249
1249
  */
1250
1250
  get byteOffsetInBufferView() {
1251
- return this.Yt - this.bu.byteOffsetInRawArrayBufferOfBuffer;
1251
+ return this.eu - this.ju.byteOffsetInRawArrayBufferOfBuffer;
1252
1252
  }
1253
1253
  /**
1254
1254
  * Gets the byte offset within the buffer.
1255
1255
  * @returns The byte offset in the buffer
1256
1256
  */
1257
1257
  get byteOffsetInBuffer() {
1258
- return this.Yt - this.bu.buffer.byteOffsetInRawArrayBuffer;
1258
+ return this.eu - this.ju.buffer.byteOffsetInRawArrayBuffer;
1259
1259
  }
1260
1260
  /**
1261
1261
  * Gets the byte offset in the raw ArrayBuffer of the buffer.
1262
1262
  * @returns The byte offset in the raw ArrayBuffer
1263
1263
  */
1264
1264
  get byteOffsetInRawArrayBufferOfBuffer() {
1265
- return this.Yt;
1265
+ return this.eu;
1266
1266
  }
1267
1267
  /**
1268
1268
  * Gets the BufferView that contains this accessor's data.
1269
1269
  * @returns The BufferView object
1270
1270
  */
1271
1271
  get bufferView() {
1272
- return this.bu;
1272
+ return this.ju;
1273
1273
  }
1274
1274
  /**
1275
1275
  * Sets the minimum and maximum values for this accessor.
@@ -1279,31 +1279,31 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1279
1279
  setMinMax(min, max) {
1280
1280
  const componentN = this.compositionType.getNumberOfComponents();
1281
1281
  if (componentN === 1) {
1282
- this.ft._v[0] = min[0];
1283
- this.gt._v[0] = max[0];
1282
+ this.nt._v[0] = min[0];
1283
+ this.ot._v[0] = max[0];
1284
1284
  } else if (componentN === 2) {
1285
- this.ft._v[0] = min[0];
1286
- this.ft._v[1] = min[1];
1287
- this.gt._v[0] = max[0];
1288
- this.gt._v[1] = max[1];
1285
+ this.nt._v[0] = min[0];
1286
+ this.nt._v[1] = min[1];
1287
+ this.ot._v[0] = max[0];
1288
+ this.ot._v[1] = max[1];
1289
1289
  } else if (componentN === 3) {
1290
- this.ft._v[0] = min[0];
1291
- this.ft._v[1] = min[1];
1292
- this.ft._v[2] = min[2];
1293
- this.gt._v[0] = max[0];
1294
- this.gt._v[1] = max[1];
1295
- this.gt._v[2] = max[2];
1290
+ this.nt._v[0] = min[0];
1291
+ this.nt._v[1] = min[1];
1292
+ this.nt._v[2] = min[2];
1293
+ this.ot._v[0] = max[0];
1294
+ this.ot._v[1] = max[1];
1295
+ this.ot._v[2] = max[2];
1296
1296
  } else if (componentN === 4) {
1297
- this.ft._v[0] = min[0];
1298
- this.ft._v[1] = min[1];
1299
- this.ft._v[2] = min[2];
1300
- this.ft._v[3] = min[3];
1301
- this.gt._v[0] = max[0];
1302
- this.gt._v[1] = max[1];
1303
- this.gt._v[2] = max[2];
1304
- this.gt._v[3] = max[3];
1297
+ this.nt._v[0] = min[0];
1298
+ this.nt._v[1] = min[1];
1299
+ this.nt._v[2] = min[2];
1300
+ this.nt._v[3] = min[3];
1301
+ this.ot._v[0] = max[0];
1302
+ this.ot._v[1] = max[1];
1303
+ this.ot._v[2] = max[2];
1304
+ this.ot._v[3] = max[3];
1305
1305
  }
1306
- this.Wt = false;
1306
+ this.cu = false;
1307
1307
  }
1308
1308
  /**
1309
1309
  * Gets the minimum values for each component.
@@ -1311,20 +1311,20 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1311
1311
  * @returns Array of minimum values
1312
1312
  */
1313
1313
  get min() {
1314
- if (this.Wt) {
1315
- this.hu();
1314
+ if (this.cu) {
1315
+ this.pu();
1316
1316
  }
1317
1317
  const componentN = this.compositionType.getNumberOfComponents();
1318
1318
  if (componentN === 4) {
1319
- return [this.ft._v[0], this.ft._v[1], this.ft._v[2], this.ft._v[3]];
1319
+ return [this.nt._v[0], this.nt._v[1], this.nt._v[2], this.nt._v[3]];
1320
1320
  }
1321
1321
  if (componentN === 3) {
1322
- return [this.ft._v[0], this.ft._v[1], this.ft._v[2]];
1322
+ return [this.nt._v[0], this.nt._v[1], this.nt._v[2]];
1323
1323
  }
1324
1324
  if (componentN === 2) {
1325
- return [this.ft._v[0], this.ft._v[1]];
1325
+ return [this.nt._v[0], this.nt._v[1]];
1326
1326
  }
1327
- return [this.ft._v[0]];
1327
+ return [this.nt._v[0]];
1328
1328
  }
1329
1329
  /**
1330
1330
  * Gets the maximum values for each component.
@@ -1332,100 +1332,100 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1332
1332
  * @returns Array of maximum values
1333
1333
  */
1334
1334
  get max() {
1335
- if (this.Wt) {
1336
- this.hu();
1335
+ if (this.cu) {
1336
+ this.pu();
1337
1337
  }
1338
1338
  const componentN = this.compositionType.getNumberOfComponents();
1339
1339
  if (componentN === 4) {
1340
- return [this.gt._v[0], this.gt._v[1], this.gt._v[2], this.gt._v[3]];
1340
+ return [this.ot._v[0], this.ot._v[1], this.ot._v[2], this.ot._v[3]];
1341
1341
  }
1342
1342
  if (componentN === 3) {
1343
- return [this.gt._v[0], this.gt._v[1], this.gt._v[2]];
1343
+ return [this.ot._v[0], this.ot._v[1], this.ot._v[2]];
1344
1344
  }
1345
1345
  if (componentN === 2) {
1346
- return [this.gt._v[0], this.gt._v[1]];
1346
+ return [this.ot._v[0], this.ot._v[1]];
1347
1347
  }
1348
- return [this.gt._v[0]];
1348
+ return [this.ot._v[0]];
1349
1349
  }
1350
1350
  /**
1351
1351
  * Gets whether the data should be normalized.
1352
1352
  * @returns True if data should be normalized
1353
1353
  */
1354
1354
  get normalized() {
1355
- return this.fu;
1355
+ return this.nu;
1356
1356
  }
1357
1357
  /**
1358
1358
  * Calculates the minimum and maximum values for all elements.
1359
1359
  * @private
1360
1360
  */
1361
- hu() {
1361
+ pu() {
1362
1362
  const componentN = this.compositionType.getNumberOfComponents();
1363
1363
  if (componentN === 4) {
1364
- this.gt.setComponents(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE);
1365
- this.ft.setComponents(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE);
1366
- const vec4 = _Accessor.gn;
1364
+ this.ot.setComponents(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE);
1365
+ this.nt.setComponents(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE);
1366
+ const vec4 = _Accessor.pn;
1367
1367
  for (let i = 0; i < this.elementCount; i++) {
1368
1368
  this.getVec4To(i, vec4, {});
1369
1369
  for (let j = 0; j < 4; j++) {
1370
- if (this.gt._v[j] < vec4._v[j]) {
1371
- this.gt._v[j] = vec4._v[j];
1370
+ if (this.ot._v[j] < vec4._v[j]) {
1371
+ this.ot._v[j] = vec4._v[j];
1372
1372
  }
1373
- if (vec4._v[j] < this.ft._v[j]) {
1374
- this.ft._v[j] = vec4._v[j];
1373
+ if (vec4._v[j] < this.nt._v[j]) {
1374
+ this.nt._v[j] = vec4._v[j];
1375
1375
  }
1376
1376
  }
1377
1377
  }
1378
1378
  } else if (componentN === 3) {
1379
- this.gt.setComponents(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE);
1380
- this.ft.setComponents(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE);
1381
- const vec3 = _Accessor.Dc;
1379
+ this.ot.setComponents(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE);
1380
+ this.nt.setComponents(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE);
1381
+ const vec3 = _Accessor.Hc;
1382
1382
  for (let i = 0; i < this.elementCount; i++) {
1383
1383
  this.getVec3To(i, vec3, {});
1384
1384
  for (let j = 0; j < 3; j++) {
1385
- if (this.gt._v[j] < vec3._v[j]) {
1386
- this.gt._v[j] = vec3._v[j];
1385
+ if (this.ot._v[j] < vec3._v[j]) {
1386
+ this.ot._v[j] = vec3._v[j];
1387
1387
  }
1388
- if (vec3._v[j] < this.ft._v[j]) {
1389
- this.ft._v[j] = vec3._v[j];
1388
+ if (vec3._v[j] < this.nt._v[j]) {
1389
+ this.nt._v[j] = vec3._v[j];
1390
1390
  }
1391
1391
  }
1392
1392
  }
1393
1393
  } else if (componentN === 2) {
1394
- this.gt.setComponents(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE);
1395
- this.ft.setComponents(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE);
1396
- const vec2 = _Accessor.iu;
1394
+ this.ot.setComponents(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE);
1395
+ this.nt.setComponents(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE);
1396
+ const vec2 = _Accessor.qu;
1397
1397
  for (let i = 0; i < this.elementCount; i++) {
1398
1398
  this.getVec2To(i, vec2, {});
1399
1399
  for (let j = 0; j < 2; j++) {
1400
- if (this.gt._v[j] < vec2._v[j]) {
1401
- this.gt._v[j] = vec2._v[j];
1400
+ if (this.ot._v[j] < vec2._v[j]) {
1401
+ this.ot._v[j] = vec2._v[j];
1402
1402
  }
1403
- if (vec2._v[j] < this.ft._v[j]) {
1404
- this.ft._v[j] = vec2._v[j];
1403
+ if (vec2._v[j] < this.nt._v[j]) {
1404
+ this.nt._v[j] = vec2._v[j];
1405
1405
  }
1406
1406
  }
1407
1407
  }
1408
1408
  } else if (componentN === 1) {
1409
- this.gt.setComponents(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE);
1410
- this.ft.setComponents(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE);
1409
+ this.ot.setComponents(-Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE, -Number.MAX_VALUE);
1410
+ this.nt.setComponents(Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE, Number.MAX_VALUE);
1411
1411
  for (let i = 0; i < this.elementCount; i++) {
1412
1412
  const scalar = this.getScalar(i, {});
1413
- if (this.gt._v[0] < scalar) {
1414
- this.gt._v[0] = scalar;
1413
+ if (this.ot._v[0] < scalar) {
1414
+ this.ot._v[0] = scalar;
1415
1415
  }
1416
- if (scalar < this.ft._v[0]) {
1417
- this.ft._v[0] = scalar;
1416
+ if (scalar < this.nt._v[0]) {
1417
+ this.nt._v[0] = scalar;
1418
1418
  }
1419
1419
  }
1420
1420
  }
1421
- this.Wt = false;
1421
+ this.cu = false;
1422
1422
  }
1423
1423
  /**
1424
1424
  * Gets whether the min/max values are dirty and need recalculation.
1425
1425
  * @returns True if min/max values are dirty
1426
1426
  */
1427
1427
  get isMinMaxDirty() {
1428
- return this.Wt;
1428
+ return this.cu;
1429
1429
  }
1430
1430
  /**
1431
1431
  * Gets the version number of this accessor.
@@ -1433,18 +1433,18 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1433
1433
  * @returns The version number
1434
1434
  */
1435
1435
  get version() {
1436
- return this.eu;
1436
+ return this.mu;
1437
1437
  }
1438
1438
  /**
1439
1439
  * Gets the actual byte stride, accounting for zero stride.
1440
1440
  * @returns The actual byte stride
1441
1441
  */
1442
1442
  get actualByteStride() {
1443
- if (this.Tt === 0) {
1444
- const actualByteStride = this.Ys.getNumberOfComponents() * this._s.getSizeInBytes() * this.au;
1443
+ if (this.$t === 0) {
1444
+ const actualByteStride = this.et.getNumberOfComponents() * this.gt.getSizeInBytes() * this.iu;
1445
1445
  return actualByteStride;
1446
1446
  }
1447
- return this.Tt;
1447
+ return this.$t;
1448
1448
  }
1449
1449
  /**
1450
1450
  * Checks if this accessor is the same as another accessor.
@@ -1456,9 +1456,9 @@ So the typedArray data got by getTypedArray() is copied data, not reference to t
1456
1456
  return this.byteLength === rnAccessor.byteLength && this.byteOffsetInRawArrayBufferOfBuffer === rnAccessor.byteOffsetInRawArrayBufferOfBuffer && this.bufferView.buffer.getArrayBuffer() === rnAccessor.bufferView.buffer.getArrayBuffer();
1457
1457
  }
1458
1458
  };
1459
- _Accessor.gn = MutableVector4.zero();
1460
- _Accessor.Dc = MutableVector3.zero();
1461
- _Accessor.iu = MutableVector2.zero();
1459
+ _Accessor.pn = MutableVector4.zero();
1460
+ _Accessor.Hc = MutableVector3.zero();
1461
+ _Accessor.qu = MutableVector2.zero();
1462
1462
  var Accessor = _Accessor;
1463
1463
  export {
1464
1464
  Accessor