@aura3d/engine 1.5.2 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1262) hide show
  1. package/README.md +163 -119
  2. package/dist/animation/FootIk.d.ts +10 -1
  3. package/dist/animation/FootIk.d.ts.map +1 -1
  4. package/dist/animation/FootIk.js.map +1 -1
  5. package/dist/animation/HumanoidRetargeting.js +1 -1
  6. package/dist/animation/RigQuality.d.ts +1 -1
  7. package/dist/animation/RigQuality.js +2 -2
  8. package/dist/animation/RigQuality.js.map +1 -1
  9. package/dist/animation/SpringBones.d.ts.map +1 -1
  10. package/dist/animation/SpringBones.js +1 -2
  11. package/dist/animation/SpringBones.js.map +1 -1
  12. package/dist/animation/browser-index.d.ts +0 -2
  13. package/dist/animation/browser-index.d.ts.map +1 -1
  14. package/dist/animation/browser-index.js +0 -2
  15. package/dist/animation/browser-index.js.map +1 -1
  16. package/dist/animation/index.d.ts +0 -2
  17. package/dist/animation/index.d.ts.map +1 -1
  18. package/dist/animation/index.js +0 -2
  19. package/dist/animation/index.js.map +1 -1
  20. package/dist/animation/threejs-compatibility/AnimationAction.d.ts +1 -1
  21. package/dist/animation/threejs-compatibility/AnimationDiagnostics.d.ts +3 -3
  22. package/dist/animation/threejs-compatibility/AnimationMixer.d.ts +2 -2
  23. package/dist/animation/threejs-compatibility/SkinnedMesh.d.ts +1 -1
  24. package/dist/animation/threejs-compatibility/index.d.ts +11 -11
  25. package/dist/apps/index.d.ts +3 -3
  26. package/dist/assets/AssetCache.d.ts +1 -1
  27. package/dist/assets/AssetCompatibility.d.ts +2 -2
  28. package/dist/assets/AssetInspection.d.ts +4 -4
  29. package/dist/assets/AssetLoader.d.ts +1 -1
  30. package/dist/assets/AssetManager.d.ts +5 -5
  31. package/dist/assets/AssetRegistry.d.ts +1 -1
  32. package/dist/assets/AssetRenderDefaults.d.ts +1 -1
  33. package/dist/assets/AudioLoader.d.ts +2 -2
  34. package/dist/assets/CarConceptMaterialStability.d.ts +2 -2
  35. package/dist/assets/GLTFAnimationRuntime.d.ts +7 -3
  36. package/dist/assets/GLTFAnimationRuntime.d.ts.map +1 -1
  37. package/dist/assets/GLTFAnimationRuntime.js +29 -6
  38. package/dist/assets/GLTFAnimationRuntime.js.map +1 -1
  39. package/dist/assets/GLTFAutoFit.d.ts +1 -1
  40. package/dist/assets/GLTFCompressionDecoders.d.ts +1 -1
  41. package/dist/assets/GLTFLoader.d.ts +5 -5
  42. package/dist/assets/GLTFLoader.d.ts.map +1 -1
  43. package/dist/assets/GLTFLoader.js +13 -4
  44. package/dist/assets/GLTFLoader.js.map +1 -1
  45. package/dist/assets/GLTFRenderResources.d.ts +3 -3
  46. package/dist/assets/HDRLoader.d.ts +1 -1
  47. package/dist/assets/ImageLoader.d.ts +2 -2
  48. package/dist/assets/KTX2BasisTextureTranscoder.d.ts +1 -1
  49. package/dist/assets/LoadContext.d.ts +2 -2
  50. package/dist/assets/MaterialLoader.d.ts +3 -3
  51. package/dist/assets/MeshOptimization.d.ts +1 -1
  52. package/dist/assets/OBJLoader.d.ts +3 -3
  53. package/dist/assets/SceneLoader.d.ts +4 -4
  54. package/dist/assets/ShaderLoader.d.ts +2 -2
  55. package/dist/assets/TextureLoader.d.ts +3 -3
  56. package/dist/assets/TexturePipeline.d.ts +1 -1
  57. package/dist/assets/WorkerAssetJobs.d.ts +1 -1
  58. package/dist/assets/advanced-gallery/index.d.ts +2 -2
  59. package/dist/assets/asset-corpus/GLTFSceneLoader.d.ts +2 -2
  60. package/dist/assets/asset-corpus/ProductionAssetPipeline.d.ts +2 -2
  61. package/dist/assets/asset-corpus/ProductionGLTFRenderPipeline.d.ts +3 -3
  62. package/dist/assets/asset-corpus/index.d.ts +9 -9
  63. package/dist/assets/browser-index.d.ts +45 -49
  64. package/dist/assets/browser-index.d.ts.map +1 -1
  65. package/dist/assets/browser-index.js +0 -2
  66. package/dist/assets/browser-index.js.map +1 -1
  67. package/dist/assets/createRenderableScene.d.ts +4 -4
  68. package/dist/assets/gltf-runtime.d.ts +6 -0
  69. package/dist/assets/gltf-runtime.d.ts.map +1 -0
  70. package/dist/assets/gltf-runtime.js +4 -0
  71. package/dist/assets/gltf-runtime.js.map +1 -0
  72. package/dist/assets/index.d.ts +76 -80
  73. package/dist/assets/index.d.ts.map +1 -1
  74. package/dist/assets/index.js +0 -2
  75. package/dist/assets/index.js.map +1 -1
  76. package/dist/assets/loadRenderableAsset.d.ts +3 -3
  77. package/dist/assets/loaders/CubeTextureLoader.d.ts +1 -1
  78. package/dist/assets/loaders/HDRLoader.d.ts +1 -1
  79. package/dist/assets/loaders/KTX2Loader.d.ts +1 -1
  80. package/dist/assets/loaders/MTLLoader.d.ts +1 -1
  81. package/dist/assets/loaders/OBJLoader.d.ts +1 -1
  82. package/dist/assets/loaders/TextureLoader.d.ts +1 -1
  83. package/dist/assets/loaders/ThreeCompatGLTFLoader.d.ts +1 -1
  84. package/dist/assets/loaders/index.d.ts +13 -13
  85. package/dist/assets/threejs-compatibility/ThreeCompatAssetRegistry.d.ts +1 -1
  86. package/dist/assets/threejs-example-parity/index.d.ts +1 -1
  87. package/dist/audio/AudioBus.d.ts +20 -2
  88. package/dist/audio/AudioBus.d.ts.map +1 -1
  89. package/dist/audio/AudioBus.js.map +1 -1
  90. package/dist/audio/AudioFileManager.d.ts +7 -2
  91. package/dist/audio/AudioFileManager.d.ts.map +1 -1
  92. package/dist/audio/AudioFileManager.js +13 -0
  93. package/dist/audio/AudioFileManager.js.map +1 -1
  94. package/dist/audio/AudioMixer.d.ts +2 -2
  95. package/dist/audio/AudioSource.d.ts +10 -2
  96. package/dist/audio/AudioSource.d.ts.map +1 -1
  97. package/dist/audio/AudioSource.js +56 -7
  98. package/dist/audio/AudioSource.js.map +1 -1
  99. package/dist/audio/AudioSystem.d.ts +2 -2
  100. package/dist/audio/AudioTimelineTrack.d.ts +2 -2
  101. package/dist/audio/AudioWaveform.d.ts +1 -1
  102. package/dist/audio/SceneAudioBridge.d.ts +3 -3
  103. package/dist/audio/SpatialAudio.d.ts +2 -2
  104. package/dist/audio/effects/Filter.d.ts +2 -2
  105. package/dist/audio/effects/Reverb.d.ts +2 -2
  106. package/dist/audio/index.d.ts +25 -31
  107. package/dist/audio/index.d.ts.map +1 -1
  108. package/dist/audio/index.js +0 -3
  109. package/dist/audio/index.js.map +1 -1
  110. package/dist/aura3d-cli/animation-asset-profiles.d.ts +1 -1
  111. package/dist/aura3d-cli/asset-core-types.d.ts +1 -1
  112. package/dist/aura3d-cli/asset-core-types.d.ts.map +1 -1
  113. package/dist/aura3d-cli/asset-manifest.d.ts.map +1 -1
  114. package/dist/aura3d-cli/asset-manifest.js +36 -2
  115. package/dist/aura3d-cli/asset-manifest.js.map +1 -1
  116. package/dist/aura3d-cli/asset-role-admission.js +1 -1
  117. package/dist/aura3d-cli/asset-role-admission.js.map +1 -1
  118. package/dist/aura3d-cli/cli-help.js +3 -3
  119. package/dist/aura3d-cli/cli-help.js.map +1 -1
  120. package/dist/aura3d-cli/cli-options.d.ts +1 -1
  121. package/dist/aura3d-cli/cli-options.d.ts.map +1 -1
  122. package/dist/aura3d-cli/cli-options.js +2 -2
  123. package/dist/aura3d-cli/cli-options.js.map +1 -1
  124. package/dist/aura3d-cli/cli.js +1 -1
  125. package/dist/aura3d-cli/cli.js.map +1 -1
  126. package/dist/aura3d-cli/game-asset-profiles.d.ts +1 -1
  127. package/dist/aura3d-cli/game-asset-validator.d.ts +2 -2
  128. package/dist/aura3d-cli/index.d.ts.map +1 -1
  129. package/dist/aura3d-cli/index.js +13 -5
  130. package/dist/aura3d-cli/index.js.map +1 -1
  131. package/dist/aura3d-cli/pull-bridge/adapters.d.ts +1 -1
  132. package/dist/aura3d-cli/pull-bridge/profiles.d.ts +1 -1
  133. package/dist/aura3d-cli/pull-bridge/provenance.d.ts +1 -1
  134. package/dist/aura3d-cli/pull-bridge/pullable.d.ts +1 -1
  135. package/dist/aura3d-cli/pull-bridge/scoring.d.ts +1 -1
  136. package/dist/aura3d-cli/pull-bridge/search.d.ts +1 -1
  137. package/dist/aura3d-cli/pull-bridge/types.d.ts +1 -1
  138. package/dist/aura3d-cli/pull-bridge.d.ts +1 -1
  139. package/dist/controls/ControlState.d.ts +1 -1
  140. package/dist/controls/DragControls.d.ts +2 -2
  141. package/dist/controls/FirstPersonControls.d.ts +2 -2
  142. package/dist/controls/FlyControls.d.ts +3 -3
  143. package/dist/controls/InteractionControls.d.ts +5 -5
  144. package/dist/controls/MapControls.d.ts +3 -3
  145. package/dist/controls/OrbitControls.d.ts +3 -3
  146. package/dist/controls/Picking.d.ts +1 -1
  147. package/dist/controls/PickingAnnotations.d.ts +2 -2
  148. package/dist/controls/PointerLockControls.d.ts +3 -3
  149. package/dist/controls/SelectionManager.d.ts +1 -1
  150. package/dist/controls/TrackballControls.d.ts +1 -1
  151. package/dist/controls/TransformControls.d.ts +1 -1
  152. package/dist/controls/index.d.ts +25 -25
  153. package/dist/create-aura3d/index.d.ts.map +1 -1
  154. package/dist/create-aura3d/index.js +10 -4
  155. package/dist/create-aura3d/index.js.map +1 -1
  156. package/dist/create-aura3d/showcase-spec-evidence.js +5 -1
  157. package/dist/create-aura3d/showcase-spec-evidence.js.map +1 -1
  158. package/dist/create-aura3d/showcase-spec-game-geometry-extractor.d.ts +8 -1
  159. package/dist/create-aura3d/showcase-spec-game-geometry-extractor.d.ts.map +1 -1
  160. package/dist/create-aura3d/showcase-spec-game-geometry-extractor.js +191 -31
  161. package/dist/create-aura3d/showcase-spec-game-geometry-extractor.js.map +1 -1
  162. package/dist/create-aura3d/showcase-spec-game-template-evidence.d.ts.map +1 -1
  163. package/dist/create-aura3d/showcase-spec-game-template-evidence.js +7 -0
  164. package/dist/create-aura3d/showcase-spec-game-template-evidence.js.map +1 -1
  165. package/dist/create-aura3d/showcase-spec-parser.js +1 -1
  166. package/dist/create-aura3d/showcase-spec-parser.js.map +1 -1
  167. package/dist/create-aura3d/showcase-spec-types.d.ts +50 -0
  168. package/dist/create-aura3d/showcase-spec-types.d.ts.map +1 -1
  169. package/dist/debug/AnimationInspector.d.ts +1 -1
  170. package/dist/debug/DrawCallTracker.d.ts +1 -1
  171. package/dist/debug/MaterialDiagnostics.d.ts +1 -1
  172. package/dist/debug/PhysicsDebugAdapter.d.ts +1 -1
  173. package/dist/debug/ShaderDiagnostics.d.ts +1 -1
  174. package/dist/ecs/components/TransformComponent.d.ts +1 -1
  175. package/dist/editor/index.d.ts +1 -1
  176. package/dist/editor-runtime/AnimationSceneEditor.d.ts +5 -5
  177. package/dist/editor-runtime/AssetDropZone.d.ts +2 -2
  178. package/dist/editor-runtime/CameraPathEditor.d.ts +3 -3
  179. package/dist/editor-runtime/CommandHistory.d.ts +1 -1
  180. package/dist/editor-runtime/CurveEditor.d.ts +3 -3
  181. package/dist/editor-runtime/EditorRuntime.d.ts +14 -14
  182. package/dist/editor-runtime/EditorStateModel.d.ts +1 -1
  183. package/dist/editor-runtime/EventTrackEditor.d.ts +1 -1
  184. package/dist/editor-runtime/Gizmo.d.ts +3 -3
  185. package/dist/editor-runtime/HierarchyModel.d.ts +1 -1
  186. package/dist/editor-runtime/InspectorModel.d.ts +1 -1
  187. package/dist/editor-runtime/InteractiveTransformGizmo.d.ts +2 -2
  188. package/dist/editor-runtime/KeyframeEditor.d.ts +2 -2
  189. package/dist/editor-runtime/NonlinearAnimationEditor.d.ts +3 -3
  190. package/dist/editor-runtime/PickingService.d.ts +2 -2
  191. package/dist/editor-runtime/ProjectSerializer.d.ts +2 -2
  192. package/dist/editor-runtime/PropertyPanel.d.ts +2 -2
  193. package/dist/editor-runtime/RotateGizmo.d.ts +1 -1
  194. package/dist/editor-runtime/ScaleGizmo.d.ts +1 -1
  195. package/dist/editor-runtime/SceneOutliner.d.ts +3 -3
  196. package/dist/editor-runtime/TimelineEditorController.d.ts +4 -4
  197. package/dist/editor-runtime/TimelineRuntimeBridge.d.ts +2 -2
  198. package/dist/editor-runtime/TimelineTrackTypes.d.ts +1 -1
  199. package/dist/editor-runtime/TimelineUI.d.ts +1 -1
  200. package/dist/editor-runtime/TranslateGizmo.d.ts +1 -1
  201. package/dist/editor-runtime/VisualReviewDashboard.d.ts +1 -1
  202. package/dist/editor-runtime/commands/CreateNodeCommand.d.ts +1 -1
  203. package/dist/editor-runtime/commands/DeleteNodeCommand.d.ts +2 -2
  204. package/dist/editor-runtime/commands/ReparentNodeCommand.d.ts +1 -1
  205. package/dist/editor-runtime/commands/SetPropertyCommand.d.ts +1 -1
  206. package/dist/editor-runtime/commands/TransformCommand.d.ts +1 -1
  207. package/dist/editor-runtime/index.d.ts +79 -81
  208. package/dist/editor-runtime/index.d.ts.map +1 -1
  209. package/dist/editor-runtime/index.js +0 -1
  210. package/dist/editor-runtime/index.js.map +1 -1
  211. package/dist/engine/A3DApp.d.ts +2 -2
  212. package/dist/engine/A3DQualityPresets.d.ts +2 -2
  213. package/dist/engine/advanced-runtime/A3DRenderer.d.ts +2 -2
  214. package/dist/engine/advanced-runtime/A3DScene.d.ts +2 -2
  215. package/dist/engine/advanced-runtime/index.d.ts +4 -4
  216. package/dist/engine/agent-api/AnimationController.d.ts +3 -3
  217. package/dist/engine/agent-api/AuraAppHandle.d.ts +2 -2
  218. package/dist/engine/agent-api/GameAppRuntime.d.ts +4 -4
  219. package/dist/engine/agent-api/GameAssetValidation.js +1 -1
  220. package/dist/engine/agent-api/GameAssetValidation.js.map +1 -1
  221. package/dist/engine/agent-api/GameEvidence.d.ts +1 -1
  222. package/dist/engine/agent-api/GameEvidence.js +1 -1
  223. package/dist/engine/agent-api/GameEvidence.js.map +1 -1
  224. package/dist/engine/agent-api/GameGenreKits.d.ts +73 -0
  225. package/dist/engine/agent-api/GameGenreKits.d.ts.map +1 -1
  226. package/dist/engine/agent-api/GameGenreKits.js +298 -56
  227. package/dist/engine/agent-api/GameGenreKits.js.map +1 -1
  228. package/dist/engine/agent-api/GameRuntime.d.ts +49 -1
  229. package/dist/engine/agent-api/GameRuntime.d.ts.map +1 -1
  230. package/dist/engine/agent-api/GameRuntime.js +87 -1
  231. package/dist/engine/agent-api/GameRuntime.js.map +1 -1
  232. package/dist/engine/agent-api/GameSceneBridge.d.ts +1 -1
  233. package/dist/engine/agent-api/GameSceneGeometryBindings.d.ts +25 -1
  234. package/dist/engine/agent-api/GameSceneGeometryBindings.d.ts.map +1 -1
  235. package/dist/engine/agent-api/GameSceneGeometryBindings.js +52 -0
  236. package/dist/engine/agent-api/GameSceneGeometryBindings.js.map +1 -1
  237. package/dist/engine/agent-api/GameSceneGeometryMath.d.ts +1 -1
  238. package/dist/engine/agent-api/PhysicsRuntime.d.ts +332 -0
  239. package/dist/engine/agent-api/PhysicsRuntime.d.ts.map +1 -0
  240. package/dist/engine/agent-api/PhysicsRuntime.js +619 -0
  241. package/dist/engine/agent-api/PhysicsRuntime.js.map +1 -0
  242. package/dist/engine/agent-api/PlatformerMotion.d.ts +124 -0
  243. package/dist/engine/agent-api/PlatformerMotion.d.ts.map +1 -1
  244. package/dist/engine/agent-api/PlatformerMotion.js +101 -16
  245. package/dist/engine/agent-api/PlatformerMotion.js.map +1 -1
  246. package/dist/engine/agent-api/RootGeometry.d.ts +36 -0
  247. package/dist/engine/agent-api/RootGeometry.d.ts.map +1 -0
  248. package/dist/engine/agent-api/RootGeometry.js +152 -0
  249. package/dist/engine/agent-api/RootGeometry.js.map +1 -0
  250. package/dist/engine/agent-api/RuntimeNodeHandle.d.ts +1 -1
  251. package/dist/engine/agent-api/VehicleChassis.d.ts +52 -0
  252. package/dist/engine/agent-api/VehicleChassis.d.ts.map +1 -1
  253. package/dist/engine/agent-api/VehicleChassis.js +182 -8
  254. package/dist/engine/agent-api/VehicleChassis.js.map +1 -1
  255. package/dist/engine/agent-api/WorldLabelRenderer.d.ts +65 -1
  256. package/dist/engine/agent-api/WorldLabelRenderer.d.ts.map +1 -1
  257. package/dist/engine/agent-api/WorldLabelRenderer.js +48 -5
  258. package/dist/engine/agent-api/WorldLabelRenderer.js.map +1 -1
  259. package/dist/engine/agent-api/game-kits/fighting.d.ts +2 -2
  260. package/dist/engine/agent-api/game-kits/index.d.ts +10 -10
  261. package/dist/engine/agent-api/humanoid-walk-runtime.d.ts +1 -1
  262. package/dist/engine/agent-api/index.d.ts +288 -85
  263. package/dist/engine/agent-api/index.d.ts.map +1 -1
  264. package/dist/engine/agent-api/index.js +1404 -359
  265. package/dist/engine/agent-api/index.js.map +1 -1
  266. package/dist/engine/agent-api/lean-game.d.ts +3 -0
  267. package/dist/engine/agent-api/lean-game.d.ts.map +1 -0
  268. package/dist/engine/agent-api/lean-game.js +3 -0
  269. package/dist/engine/agent-api/lean-game.js.map +1 -0
  270. package/dist/engine/agent-api/lean-product.d.ts +3 -0
  271. package/dist/engine/agent-api/lean-product.d.ts.map +1 -0
  272. package/dist/engine/agent-api/lean-product.js +3 -0
  273. package/dist/engine/agent-api/lean-product.js.map +1 -0
  274. package/dist/engine/agent-api/lean.d.ts +3 -0
  275. package/dist/engine/agent-api/lean.d.ts.map +1 -0
  276. package/dist/engine/agent-api/lean.js +3 -0
  277. package/dist/engine/agent-api/lean.js.map +1 -0
  278. package/dist/engine/agent-api/media-node.d.ts +42 -0
  279. package/dist/engine/agent-api/media-node.d.ts.map +1 -0
  280. package/dist/engine/agent-api/media-node.js +44 -0
  281. package/dist/engine/agent-api/media-node.js.map +1 -0
  282. package/dist/engine/agent-api/product-viewer-runtime.d.ts.map +1 -1
  283. package/dist/engine/animation-studio/animation-episode-validator.d.ts +1 -1
  284. package/dist/engine/animation-studio/director-heuristics.d.ts +1 -1
  285. package/dist/engine/animation-studio/episode-document.d.ts +1 -1
  286. package/dist/engine/animation-studio/index.d.ts +4 -4
  287. package/dist/engine/animation-studio/scene-tools.d.ts +2 -2
  288. package/dist/engine/ecs/ECSRenderSource.d.ts +2 -2
  289. package/dist/engine/game/GameAudio.d.ts +5 -0
  290. package/dist/engine/game/GameAudio.d.ts.map +1 -1
  291. package/dist/engine/game/GameAudio.js +65 -23
  292. package/dist/engine/game/GameAudio.js.map +1 -1
  293. package/dist/engine/index.d.ts +14 -14
  294. package/dist/engine/production-runtime/GameRenderPreset.d.ts +1 -1
  295. package/dist/engine/production-runtime/TypedGLBActor.d.ts +11 -3
  296. package/dist/engine/production-runtime/TypedGLBActor.d.ts.map +1 -1
  297. package/dist/engine/production-runtime/TypedGLBActor.js +25 -7
  298. package/dist/engine/production-runtime/TypedGLBActor.js.map +1 -1
  299. package/dist/engine/production-runtime/index.d.ts +10 -10
  300. package/dist/engine/production-runtime/index.d.ts.map +1 -1
  301. package/dist/engine/threejs-example-parity/FlagshipFoundation.d.ts +3 -3
  302. package/dist/engine/threejs-example-parity/FlagshipFoundation.d.ts.map +1 -1
  303. package/dist/engine/threejs-example-parity/index.d.ts +1 -1
  304. package/dist/environments/EnvironmentPreview.d.ts +1 -1
  305. package/dist/environments/EnvironmentRegistry.d.ts +3 -3
  306. package/dist/environments/HDRIEnvironment.d.ts +1 -1
  307. package/dist/environments/index.d.ts +5 -10
  308. package/dist/environments/index.d.ts.map +1 -1
  309. package/dist/environments/index.js +0 -3
  310. package/dist/environments/index.js.map +1 -1
  311. package/dist/environments/node.d.ts +7 -0
  312. package/dist/environments/node.d.ts.map +1 -0
  313. package/dist/environments/node.js +5 -0
  314. package/dist/environments/node.js.map +1 -0
  315. package/dist/environments/production-runtime/index.d.ts +2 -2
  316. package/dist/index.d.ts +3 -0
  317. package/dist/index.js +3 -0
  318. package/dist/input/ActionMap.d.ts +1 -1
  319. package/dist/input/GamepadDevice.d.ts +1 -1
  320. package/dist/input/GamepadInput.d.ts +2 -2
  321. package/dist/input/GestureControls.d.ts +2 -2
  322. package/dist/input/GestureRecognizer.d.ts +1 -1
  323. package/dist/input/InputSystem.d.ts +5 -5
  324. package/dist/input/InputValueProcessors.d.ts +19 -0
  325. package/dist/input/InputValueProcessors.d.ts.map +1 -0
  326. package/dist/input/InputValueProcessors.js +24 -0
  327. package/dist/input/InputValueProcessors.js.map +1 -0
  328. package/dist/input/InteractionSystem.d.ts +3 -3
  329. package/dist/input/PickingRay.d.ts +2 -2
  330. package/dist/input/PointerDevice.d.ts +1 -1
  331. package/dist/input/controls/CameraRig.d.ts +1 -1
  332. package/dist/input/controls/EditorFlyControls.d.ts +2 -2
  333. package/dist/input/controls/FirstPersonControls.d.ts +2 -2
  334. package/dist/input/controls/OrbitControls.d.ts +2 -2
  335. package/dist/input/controls/PointerLockControls.d.ts +3 -3
  336. package/dist/input/controls/SceneCameraAdapter.d.ts +2 -2
  337. package/dist/input/controls/ThirdPersonFollowControls.d.ts +1 -1
  338. package/dist/input/index.d.ts +39 -43
  339. package/dist/input/index.d.ts.map +1 -1
  340. package/dist/input/index.js +1 -3
  341. package/dist/input/index.js.map +1 -1
  342. package/dist/lean/ArcadeRuntime.d.ts +111 -0
  343. package/dist/lean/ArcadeRuntime.d.ts.map +1 -0
  344. package/dist/lean/ArcadeRuntime.js +219 -0
  345. package/dist/lean/ArcadeRuntime.js.map +1 -0
  346. package/dist/lean/base.d.ts +228 -0
  347. package/dist/lean/base.d.ts.map +1 -0
  348. package/dist/lean/base.js +322 -0
  349. package/dist/lean/base.js.map +1 -0
  350. package/dist/lean/game.d.ts +19 -0
  351. package/dist/lean/game.d.ts.map +1 -0
  352. package/dist/lean/game.js +37 -0
  353. package/dist/lean/game.js.map +1 -0
  354. package/dist/lean/index.d.ts +4 -0
  355. package/dist/lean/index.d.ts.map +1 -0
  356. package/dist/lean/index.js +10 -0
  357. package/dist/lean/index.js.map +1 -0
  358. package/dist/lean/product.d.ts +4 -0
  359. package/dist/lean/product.d.ts.map +1 -0
  360. package/dist/lean/product.js +55 -0
  361. package/dist/lean/product.js.map +1 -0
  362. package/dist/materials/MaterialPresets.d.ts +2 -2
  363. package/dist/materials/MaterialPreviewScene.d.ts +1 -1
  364. package/dist/materials/PBRMaterialLibrary.d.ts +1 -1
  365. package/dist/materials/browser-index.d.ts +6 -6
  366. package/dist/materials/index.d.ts +1 -10
  367. package/dist/materials/index.d.ts.map +1 -1
  368. package/dist/materials/index.js +1 -6
  369. package/dist/materials/index.js.map +1 -1
  370. package/dist/materials/node.d.ts +4 -0
  371. package/dist/materials/node.d.ts.map +1 -0
  372. package/dist/materials/node.js +3 -0
  373. package/dist/materials/node.js.map +1 -0
  374. package/dist/physics/ArcadeCharacterController.d.ts +53 -0
  375. package/dist/physics/ArcadeCharacterController.d.ts.map +1 -0
  376. package/dist/physics/ArcadeCharacterController.js +98 -0
  377. package/dist/physics/ArcadeCharacterController.js.map +1 -0
  378. package/dist/physics/{VehicleDynamics.d.ts → ArcadeVehicleTelemetry.d.ts} +14 -4
  379. package/dist/physics/ArcadeVehicleTelemetry.d.ts.map +1 -0
  380. package/dist/physics/{VehicleDynamics.js → ArcadeVehicleTelemetry.js} +37 -9
  381. package/dist/physics/ArcadeVehicleTelemetry.js.map +1 -0
  382. package/dist/physics/Constraint.d.ts +20 -4
  383. package/dist/physics/Constraint.d.ts.map +1 -1
  384. package/dist/physics/Constraint.js +34 -60
  385. package/dist/physics/Constraint.js.map +1 -1
  386. package/dist/physics/FightingCharacterController.d.ts +32 -0
  387. package/dist/physics/FightingCharacterController.d.ts.map +1 -0
  388. package/dist/physics/FightingCharacterController.js +76 -0
  389. package/dist/physics/FightingCharacterController.js.map +1 -0
  390. package/dist/physics/MeshBVH.d.ts +72 -0
  391. package/dist/physics/MeshBVH.d.ts.map +1 -0
  392. package/dist/physics/MeshBVH.js +244 -0
  393. package/dist/physics/MeshBVH.js.map +1 -0
  394. package/dist/physics/PhysicsDebugDraw.d.ts +40 -1
  395. package/dist/physics/PhysicsDebugDraw.d.ts.map +1 -1
  396. package/dist/physics/PhysicsDebugDraw.js +87 -17
  397. package/dist/physics/PhysicsDebugDraw.js.map +1 -1
  398. package/dist/physics/PhysicsWorld.d.ts +37 -18
  399. package/dist/physics/PhysicsWorld.d.ts.map +1 -1
  400. package/dist/physics/PhysicsWorld.js +231 -630
  401. package/dist/physics/PhysicsWorld.js.map +1 -1
  402. package/dist/physics/Raycast.d.ts +11 -0
  403. package/dist/physics/Raycast.d.ts.map +1 -1
  404. package/dist/physics/Raycast.js +62 -8
  405. package/dist/physics/Raycast.js.map +1 -1
  406. package/dist/physics/RigidBody.d.ts +16 -9
  407. package/dist/physics/RigidBody.d.ts.map +1 -1
  408. package/dist/physics/RigidBody.js +23 -75
  409. package/dist/physics/RigidBody.js.map +1 -1
  410. package/dist/physics/SurfaceQuery.d.ts +72 -0
  411. package/dist/physics/SurfaceQuery.d.ts.map +1 -0
  412. package/dist/physics/SurfaceQuery.js +89 -0
  413. package/dist/physics/SurfaceQuery.js.map +1 -0
  414. package/dist/physics/index.d.ts +62 -17
  415. package/dist/physics/index.d.ts.map +1 -1
  416. package/dist/physics/index.js +70 -17
  417. package/dist/physics/index.js.map +1 -1
  418. package/dist/physics/solverless.d.ts +37 -0
  419. package/dist/physics/solverless.d.ts.map +1 -0
  420. package/dist/physics/solverless.js +36 -0
  421. package/dist/physics/solverless.js.map +1 -0
  422. package/dist/physics/world.d.ts +18 -0
  423. package/dist/physics/world.d.ts.map +1 -0
  424. package/dist/physics/world.js +17 -0
  425. package/dist/physics/world.js.map +1 -0
  426. package/dist/physics-rapier/index.d.ts +169 -0
  427. package/dist/physics-rapier/index.d.ts.map +1 -0
  428. package/dist/physics-rapier/index.js +311 -0
  429. package/dist/physics-rapier/index.js.map +1 -0
  430. package/dist/product-studio/ProductAsset.d.ts +1 -1
  431. package/dist/product-studio/ProductAssetLoader.d.ts +1 -1
  432. package/dist/product-studio/ProductCamera.d.ts +1 -1
  433. package/dist/product-studio/ProductDiagnostics.d.ts +2 -2
  434. package/dist/product-studio/ProductExport.d.ts +1 -1
  435. package/dist/product-studio/ProductFloor.d.ts +2 -2
  436. package/dist/product-studio/ProductLighting.d.ts +1 -1
  437. package/dist/product-studio/ProductLighting.d.ts.map +1 -1
  438. package/dist/product-studio/ProductLighting.js +34 -3
  439. package/dist/product-studio/ProductLighting.js.map +1 -1
  440. package/dist/product-studio/ProductMaterials.d.ts +2 -2
  441. package/dist/product-studio/ProductRenderScene.d.ts +1 -1
  442. package/dist/product-studio/ProductStudio.d.ts +1 -1
  443. package/dist/product-studio/ProductTypes.d.ts +2 -2
  444. package/dist/product-studio/index.d.ts +12 -12
  445. package/dist/react/index.d.ts +1 -1
  446. package/dist/rendering/ArchitecturalLighting.d.ts +35 -0
  447. package/dist/rendering/ArchitecturalLighting.d.ts.map +1 -0
  448. package/dist/rendering/{ArchitecturalLightingFixtures.js → ArchitecturalLighting.js} +3 -12
  449. package/dist/rendering/ArchitecturalLighting.js.map +1 -0
  450. package/dist/rendering/ArchitecturalMaterialCatalog.d.ts +3 -3
  451. package/dist/rendering/ArchitecturalMaterialCatalog.d.ts.map +1 -1
  452. package/dist/rendering/ArchitecturalMaterialCatalog.js +1 -1
  453. package/dist/rendering/ArchitecturalMaterialCatalog.js.map +1 -1
  454. package/dist/rendering/{ArchitecturalMeasurementFixtures.d.ts → ArchitecturalMeasurement.d.ts} +3 -6
  455. package/dist/rendering/ArchitecturalMeasurement.d.ts.map +1 -0
  456. package/dist/rendering/{ArchitecturalMeasurementFixtures.js → ArchitecturalMeasurement.js} +3 -6
  457. package/dist/rendering/ArchitecturalMeasurement.js.map +1 -0
  458. package/dist/rendering/CameraFraming.d.ts +1 -1
  459. package/dist/rendering/{CanonicalSceneFixtures.d.ts → CanonicalProductScene.d.ts} +2 -2
  460. package/dist/rendering/CanonicalProductScene.d.ts.map +1 -0
  461. package/dist/rendering/{CanonicalSceneFixtures.js → CanonicalProductScene.js} +2 -2
  462. package/dist/rendering/CanonicalProductScene.js.map +1 -0
  463. package/dist/rendering/CascadedShadowMaps.d.ts +8 -8
  464. package/dist/rendering/CascadedShadowMaps.d.ts.map +1 -1
  465. package/dist/rendering/CascadedShadowMaps.js +1 -1
  466. package/dist/rendering/CascadedShadowMaps.js.map +1 -1
  467. package/dist/rendering/ClusteredForwardLighting.d.ts +2 -2
  468. package/dist/rendering/DecalGeometry.d.ts +2 -2
  469. package/dist/rendering/DepthPass.d.ts +4 -4
  470. package/dist/rendering/DepthPass.d.ts.map +1 -1
  471. package/dist/rendering/DepthPass.js +2 -2
  472. package/dist/rendering/DepthPass.js.map +1 -1
  473. package/dist/rendering/EnvironmentBackgroundPass.d.ts +4 -4
  474. package/dist/rendering/EnvironmentBackgroundPass.d.ts.map +1 -1
  475. package/dist/rendering/EnvironmentBackgroundPass.js +2 -2
  476. package/dist/rendering/EnvironmentBackgroundPass.js.map +1 -1
  477. package/dist/rendering/EnvironmentBackgroundResources.d.ts +2 -2
  478. package/dist/rendering/EnvironmentLighting.d.ts +1 -1
  479. package/dist/rendering/EnvironmentMapResources.d.ts +2 -2
  480. package/dist/rendering/EnvironmentPipeline.d.ts +2 -2
  481. package/dist/rendering/EnvironmentPlatform.d.ts +3 -3
  482. package/dist/rendering/EnvironmentPlatform.js +2 -2
  483. package/dist/rendering/EnvironmentPlatform.js.map +1 -1
  484. package/dist/rendering/EnvironmentPreset.d.ts +1 -1
  485. package/dist/rendering/Exposure.d.ts +1 -1
  486. package/dist/rendering/ExternalParityRenderPreset.d.ts +3 -3
  487. package/dist/rendering/ForwardPass.d.ts +9 -9
  488. package/dist/rendering/ForwardPass.d.ts.map +1 -1
  489. package/dist/rendering/ForwardPass.js +24 -10
  490. package/dist/rendering/ForwardPass.js.map +1 -1
  491. package/dist/rendering/Geometry.d.ts +5 -3
  492. package/dist/rendering/Geometry.d.ts.map +1 -1
  493. package/dist/rendering/Geometry.js +15 -0
  494. package/dist/rendering/Geometry.js.map +1 -1
  495. package/dist/rendering/GeometryPrimitives.d.ts +2 -2
  496. package/dist/rendering/HDRRenderPipeline.d.ts +4 -4
  497. package/dist/rendering/IBL.d.ts +4 -4
  498. package/dist/rendering/IndexBuffer.d.ts +1 -1
  499. package/dist/rendering/InstancedPBRMaterial.d.ts +2 -2
  500. package/dist/rendering/InstancedPBRMaterial.js +1 -1
  501. package/dist/rendering/InstancedPBRMaterial.js.map +1 -1
  502. package/dist/rendering/InstancedUnlitMaterial.d.ts +1 -1
  503. package/dist/rendering/InstancedUnlitMaterial.js +1 -1
  504. package/dist/rendering/InstancedUnlitMaterial.js.map +1 -1
  505. package/dist/rendering/Instancing.d.ts +1 -1
  506. package/dist/rendering/LightCollector.d.ts +1 -1
  507. package/dist/rendering/LightUniforms.d.ts +2 -2
  508. package/dist/rendering/LightingDebug.d.ts +2 -2
  509. package/dist/rendering/LightingDefaults.d.ts +2 -2
  510. package/dist/rendering/LightingRig.d.ts +1 -1
  511. package/dist/rendering/LineGeometry.d.ts +2 -2
  512. package/dist/rendering/Material.d.ts +1 -1
  513. package/dist/rendering/Material.js +2 -2
  514. package/dist/rendering/Material.js.map +1 -1
  515. package/dist/rendering/MaterialBinding.d.ts +3 -3
  516. package/dist/rendering/MaterialBinding.js +4 -4
  517. package/dist/rendering/MaterialBinding.js.map +1 -1
  518. package/dist/rendering/MaterialInstance.d.ts +2 -2
  519. package/dist/rendering/MaterialInstance.js +2 -2
  520. package/dist/rendering/MaterialInstance.js.map +1 -1
  521. package/dist/rendering/MaterialPresets.d.ts +2 -2
  522. package/dist/rendering/MeshConsolidation.d.ts +3 -3
  523. package/dist/rendering/MorphTarget.d.ts +1 -1
  524. package/dist/rendering/MorphTargetPlan.d.ts +1 -1
  525. package/dist/rendering/MorphUnlitMaterial.d.ts +1 -1
  526. package/dist/rendering/MorphUnlitMaterial.js +1 -1
  527. package/dist/rendering/MorphUnlitMaterial.js.map +1 -1
  528. package/dist/rendering/NormalMappedPBRMaterial.d.ts +4 -4
  529. package/dist/rendering/NormalMappedPBRMaterial.js +1 -1
  530. package/dist/rendering/NormalMappedPBRMaterial.js.map +1 -1
  531. package/dist/rendering/{OceanFixtures.d.ts → OceanSurface.d.ts} +1 -1
  532. package/dist/rendering/OceanSurface.d.ts.map +1 -0
  533. package/dist/rendering/{OceanFixtures.js → OceanSurface.js} +1 -1
  534. package/dist/rendering/OceanSurface.js.map +1 -0
  535. package/dist/rendering/PBRLightingDefaults.d.ts +1 -1
  536. package/dist/rendering/PBRMaterial.d.ts +2 -2
  537. package/dist/rendering/PBRMaterial.d.ts.map +1 -1
  538. package/dist/rendering/PBRMaterial.js +3 -3
  539. package/dist/rendering/PBRMaterial.js.map +1 -1
  540. package/dist/rendering/PMREM.d.ts +2 -2
  541. package/dist/rendering/PortableShaderMaterial.d.ts +60 -0
  542. package/dist/rendering/PortableShaderMaterial.d.ts.map +1 -0
  543. package/dist/rendering/PortableShaderMaterial.js +223 -0
  544. package/dist/rendering/PortableShaderMaterial.js.map +1 -0
  545. package/dist/rendering/PostProcessPass.d.ts +2 -2
  546. package/dist/rendering/PostProcessPass.d.ts.map +1 -1
  547. package/dist/rendering/PostProcessPass.js +30 -6
  548. package/dist/rendering/PostProcessPass.js.map +1 -1
  549. package/dist/rendering/{ProceduralTextureFixtures.d.ts → ProceduralTexture.d.ts} +2 -2
  550. package/dist/rendering/ProceduralTexture.d.ts.map +1 -0
  551. package/dist/rendering/{ProceduralTextureFixtures.js → ProceduralTexture.js} +1 -1
  552. package/dist/rendering/ProceduralTexture.js.map +1 -0
  553. package/dist/rendering/{ProductTurntableFixtures.d.ts → ProductTurntable.d.ts} +4 -4
  554. package/dist/rendering/ProductTurntable.d.ts.map +1 -0
  555. package/dist/rendering/{ProductTurntableFixtures.js → ProductTurntable.js} +2 -2
  556. package/dist/rendering/ProductTurntable.js.map +1 -0
  557. package/dist/rendering/Raycaster.d.ts +1 -1
  558. package/dist/rendering/ReflectionProbe.d.ts +4 -4
  559. package/dist/rendering/ReflectionSurfaces.d.ts +2 -2
  560. package/dist/rendering/RenderBackend.d.ts +3 -3
  561. package/dist/rendering/RenderDevice.d.ts +36 -6
  562. package/dist/rendering/RenderDevice.d.ts.map +1 -1
  563. package/dist/rendering/RenderDevice.js.map +1 -1
  564. package/dist/rendering/RenderGraph.d.ts +1 -1
  565. package/dist/rendering/RenderPass.d.ts +1 -1
  566. package/dist/rendering/RenderPipeline.d.ts +3 -3
  567. package/dist/rendering/RenderQueue.d.ts +2 -2
  568. package/dist/rendering/RenderState.d.ts +2 -2
  569. package/dist/rendering/Renderer.d.ts +17 -16
  570. package/dist/rendering/Renderer.d.ts.map +1 -1
  571. package/dist/rendering/Renderer.js +23 -9
  572. package/dist/rendering/Renderer.js.map +1 -1
  573. package/dist/rendering/RendererFeatureGates.d.ts +1 -1
  574. package/dist/rendering/RendererPostprocessPlan.d.ts +1 -1
  575. package/dist/rendering/RendererPostprocessPlan.js +4 -4
  576. package/dist/rendering/RendererPostprocessPlan.js.map +1 -1
  577. package/dist/rendering/RendererVisualPipelineReport.d.ts +4 -4
  578. package/dist/rendering/ResourceLifecycle.d.ts +1 -1
  579. package/dist/rendering/SceneOptimization.d.ts +3 -3
  580. package/dist/rendering/ScreenSpaceLineMaterial.d.ts +1 -1
  581. package/dist/rendering/ScreenSpaceLineMaterial.js +1 -1
  582. package/dist/rendering/ScreenSpaceLineMaterial.js.map +1 -1
  583. package/dist/rendering/ShaderChunks.d.ts.map +1 -1
  584. package/dist/rendering/ShaderChunks.js +92 -24
  585. package/dist/rendering/ShaderChunks.js.map +1 -1
  586. package/dist/rendering/ShaderLibrary.d.ts +2 -78
  587. package/dist/rendering/ShaderLibrary.d.ts.map +1 -1
  588. package/dist/rendering/ShaderLibrary.js +103 -810
  589. package/dist/rendering/ShaderLibrary.js.map +1 -1
  590. package/dist/rendering/ShaderLibraryCore.d.ts +100 -0
  591. package/dist/rendering/ShaderLibraryCore.d.ts.map +1 -0
  592. package/dist/rendering/ShaderLibraryCore.js +792 -0
  593. package/dist/rendering/ShaderLibraryCore.js.map +1 -0
  594. package/dist/rendering/ShaderModule.d.ts +3 -3
  595. package/dist/rendering/ShaderModule.d.ts.map +1 -1
  596. package/dist/rendering/ShaderModule.js +4 -2
  597. package/dist/rendering/ShaderModule.js.map +1 -1
  598. package/dist/rendering/ShaderReflection.d.ts +1 -1
  599. package/dist/rendering/ShadowMap.d.ts +1 -1
  600. package/dist/rendering/ShadowPass.d.ts +6 -6
  601. package/dist/rendering/ShadowPass.d.ts.map +1 -1
  602. package/dist/rendering/ShadowPass.js +6 -4
  603. package/dist/rendering/ShadowPass.js.map +1 -1
  604. package/dist/rendering/ShadowProjection.d.ts +1 -1
  605. package/dist/rendering/SkinnedLitMaterial.d.ts +3 -3
  606. package/dist/rendering/SkinnedLitMaterial.js +1 -1
  607. package/dist/rendering/SkinnedLitMaterial.js.map +1 -1
  608. package/dist/rendering/SkinnedUnlitMaterial.d.ts +1 -1
  609. package/dist/rendering/SkinnedUnlitMaterial.js +1 -1
  610. package/dist/rendering/SkinnedUnlitMaterial.js.map +1 -1
  611. package/dist/rendering/SkinningBounds.d.ts +2 -2
  612. package/dist/rendering/{SpaceEnvironmentFixtures.d.ts → SpaceEnvironment.d.ts} +4 -9
  613. package/dist/rendering/SpaceEnvironment.d.ts.map +1 -0
  614. package/dist/rendering/{SpaceEnvironmentFixtures.js → SpaceEnvironment.js} +6 -22
  615. package/dist/rendering/SpaceEnvironment.js.map +1 -0
  616. package/dist/rendering/SpecularPrefilter.d.ts +1 -1
  617. package/dist/rendering/SpriteGeometry.d.ts +1 -1
  618. package/dist/rendering/StereoCameraRig.d.ts +2 -2
  619. package/dist/rendering/StereoEffects.d.ts +1 -1
  620. package/dist/rendering/{TerrainFixtures.d.ts → TerrainHeightfield.d.ts} +2 -2
  621. package/dist/rendering/TerrainHeightfield.d.ts.map +1 -0
  622. package/dist/rendering/{TerrainFixtures.js → TerrainHeightfield.js} +1 -1
  623. package/dist/rendering/TerrainHeightfield.js.map +1 -0
  624. package/dist/rendering/TextureBinding.d.ts +16 -2
  625. package/dist/rendering/TextureBinding.d.ts.map +1 -1
  626. package/dist/rendering/TextureBinding.js +17 -0
  627. package/dist/rendering/TextureBinding.js.map +1 -1
  628. package/dist/rendering/TexturedPBRMaterial.d.ts +4 -4
  629. package/dist/rendering/TexturedPBRMaterial.js +1 -1
  630. package/dist/rendering/TexturedPBRMaterial.js.map +1 -1
  631. package/dist/rendering/TexturedUnlitMaterial.d.ts +3 -3
  632. package/dist/rendering/TexturedUnlitMaterial.js +1 -1
  633. package/dist/rendering/TexturedUnlitMaterial.js.map +1 -1
  634. package/dist/rendering/ToneMapping.d.ts +1 -1
  635. package/dist/rendering/UniformBinder.d.ts +1 -1
  636. package/dist/rendering/UnlitMaterial.d.ts +1 -1
  637. package/dist/rendering/UnlitMaterial.js +1 -1
  638. package/dist/rendering/UnlitMaterial.js.map +1 -1
  639. package/dist/rendering/{VegetationFixtures.d.ts → VegetationScatter.d.ts} +2 -2
  640. package/dist/rendering/VegetationScatter.d.ts.map +1 -0
  641. package/dist/rendering/{VegetationFixtures.js → VegetationScatter.js} +2 -2
  642. package/dist/rendering/VegetationScatter.js.map +1 -0
  643. package/dist/rendering/VertexBuffer.d.ts +2 -2
  644. package/dist/rendering/{VoxelWorldFixtures.d.ts → VoxelWorld.d.ts} +12 -15
  645. package/dist/rendering/VoxelWorld.d.ts.map +1 -0
  646. package/dist/rendering/{VoxelWorldFixtures.js → VoxelWorld.js} +6 -9
  647. package/dist/rendering/VoxelWorld.js.map +1 -0
  648. package/dist/rendering/{WeatherFixtures.d.ts → Weather.d.ts} +7 -9
  649. package/dist/rendering/Weather.d.ts.map +1 -0
  650. package/dist/rendering/{WeatherFixtures.js → Weather.js} +5 -7
  651. package/dist/rendering/Weather.js.map +1 -0
  652. package/dist/rendering/WebGL2Device.d.ts +23 -1
  653. package/dist/rendering/WebGL2Device.d.ts.map +1 -1
  654. package/dist/rendering/WebGL2Device.js +134 -23
  655. package/dist/rendering/WebGL2Device.js.map +1 -1
  656. package/dist/rendering/WebGPUDevice.d.ts +20 -3
  657. package/dist/rendering/WebGPUDevice.d.ts.map +1 -1
  658. package/dist/rendering/WebGPUDevice.js +188 -9
  659. package/dist/rendering/WebGPUDevice.js.map +1 -1
  660. package/dist/rendering/WebGPURenderToTextureProof.d.ts +1 -1
  661. package/dist/rendering/advanced-runtime/AdvancedRenderer.d.ts +4 -4
  662. package/dist/rendering/advanced-runtime/index.d.ts +9 -9
  663. package/dist/rendering/cinematic/BloomPass.d.ts +1 -1
  664. package/dist/rendering/cinematic/CinematicDepthComposition.d.ts +1 -1
  665. package/dist/rendering/cinematic/CinematicLightingRig.d.ts +2 -2
  666. package/dist/rendering/cinematic/CinematicMaterialPresets.d.ts +2 -2
  667. package/dist/rendering/cinematic/CinematicPostProcess.d.ts +6 -6
  668. package/dist/rendering/cinematic/DepthHazePass.d.ts +1 -1
  669. package/dist/rendering/cinematic/EmissivePracticalLightSystem.d.ts +2 -2
  670. package/dist/rendering/cinematic/FilmGrainPass.d.ts +1 -1
  671. package/dist/rendering/cinematic/FogVolumeSystem.d.ts +1 -1
  672. package/dist/rendering/cinematic/GlowCardSystem.d.ts +2 -2
  673. package/dist/rendering/cinematic/RainParticleSystem.d.ts +2 -2
  674. package/dist/rendering/cinematic/VignettePass.d.ts +1 -1
  675. package/dist/rendering/cinematic/WetReflectionApproximation.d.ts +1 -1
  676. package/dist/rendering/cinematic/index.d.ts +14 -14
  677. package/dist/rendering/index.d.ts +230 -237
  678. package/dist/rendering/index.d.ts.map +1 -1
  679. package/dist/rendering/index.js +35 -19
  680. package/dist/rendering/index.js.map +1 -1
  681. package/dist/rendering/lean/LeanProductRenderer.d.ts +29 -0
  682. package/dist/rendering/lean/LeanProductRenderer.d.ts.map +1 -0
  683. package/dist/rendering/lean/LeanProductRenderer.js +38 -0
  684. package/dist/rendering/lean/LeanProductRenderer.js.map +1 -0
  685. package/dist/rendering/lean/LeanProductionRenderer.d.ts +38 -0
  686. package/dist/rendering/lean/LeanProductionRenderer.d.ts.map +1 -0
  687. package/dist/rendering/lean/LeanProductionRenderer.js +88 -0
  688. package/dist/rendering/lean/LeanProductionRenderer.js.map +1 -0
  689. package/dist/rendering/lean-runtime.d.ts +18 -0
  690. package/dist/rendering/lean-runtime.d.ts.map +1 -0
  691. package/dist/rendering/lean-runtime.js +13 -0
  692. package/dist/rendering/lean-runtime.js.map +1 -0
  693. package/dist/rendering/materials/PhysicalMaterial.d.ts +1 -1
  694. package/dist/rendering/performance/BVH.d.ts +2 -2
  695. package/dist/rendering/performance/Batcher.d.ts +2 -2
  696. package/dist/rendering/performance/FrustumCuller.d.ts +1 -1
  697. package/dist/rendering/performance/Octree.d.ts +1 -1
  698. package/dist/rendering/postprocess/BloomPass.d.ts +1 -1
  699. package/dist/rendering/postprocess/CinematicDiagnostics.d.ts +1 -1
  700. package/dist/rendering/postprocess/ColorGradingPass.d.ts +1 -1
  701. package/dist/rendering/postprocess/DepthOfFieldPass.d.ts +1 -1
  702. package/dist/rendering/postprocess/EffectComposer.d.ts +3 -3
  703. package/dist/rendering/postprocess/EffectComposer.d.ts.map +1 -1
  704. package/dist/rendering/postprocess/EffectComposer.js +1 -3
  705. package/dist/rendering/postprocess/EffectComposer.js.map +1 -1
  706. package/dist/rendering/postprocess/SSAOPass.d.ts +1 -1
  707. package/dist/rendering/postprocess/index.d.ts +10 -10
  708. package/dist/rendering/production-runtime/AnimationControlsPipeline.d.ts +1 -1
  709. package/dist/rendering/production-runtime/PBRHDRPipeline.d.ts +4 -4
  710. package/dist/rendering/production-runtime/PBRHDRPipeline.d.ts.map +1 -1
  711. package/dist/rendering/production-runtime/PBRHDRPipeline.js +5 -1
  712. package/dist/rendering/production-runtime/PBRHDRPipeline.js.map +1 -1
  713. package/dist/rendering/production-runtime/ProductionEffectsPipeline.d.ts +2 -2
  714. package/dist/rendering/production-runtime/ProductionRendererTypes.d.ts +11 -2
  715. package/dist/rendering/production-runtime/ProductionRendererTypes.d.ts.map +1 -1
  716. package/dist/rendering/production-runtime/ProductionRendererTypes.js.map +1 -1
  717. package/dist/rendering/production-runtime/ProductionRuntimeRenderer.d.ts +8 -3
  718. package/dist/rendering/production-runtime/ProductionRuntimeRenderer.d.ts.map +1 -1
  719. package/dist/rendering/production-runtime/ProductionRuntimeRenderer.js +53 -5
  720. package/dist/rendering/production-runtime/ProductionRuntimeRenderer.js.map +1 -1
  721. package/dist/rendering/production-runtime/ProductionWebGL2Renderer.d.ts +14 -4
  722. package/dist/rendering/production-runtime/ProductionWebGL2Renderer.d.ts.map +1 -1
  723. package/dist/rendering/production-runtime/ProductionWebGL2Renderer.js +21 -2
  724. package/dist/rendering/production-runtime/ProductionWebGL2Renderer.js.map +1 -1
  725. package/dist/rendering/production-runtime/ProductionWebGPURenderer.d.ts +4 -4
  726. package/dist/rendering/production-runtime/ProductionWebGPURenderer.d.ts.map +1 -1
  727. package/dist/rendering/production-runtime/ProductionWebGPURenderer.js +4 -1
  728. package/dist/rendering/production-runtime/ProductionWebGPURenderer.js.map +1 -1
  729. package/dist/rendering/production-runtime/TransmissionBackdropCapture.d.ts +3 -3
  730. package/dist/rendering/production-runtime/backends/RendererBackend.d.ts +1 -1
  731. package/dist/rendering/production-runtime/backends/WebGL2RendererBackend.d.ts +3 -3
  732. package/dist/rendering/production-runtime/backends/WebGPURendererBackend.d.ts +1 -1
  733. package/dist/rendering/production-runtime/backends/webgl2/WebGL2StateCache.d.ts +1 -1
  734. package/dist/rendering/production-runtime/diagnostics/FrameCapture.d.ts +1 -1
  735. package/dist/rendering/production-runtime/environment/HDRLoader.d.ts +2 -2
  736. package/dist/rendering/production-runtime/environment/PMREMGenerator.d.ts +1 -1
  737. package/dist/rendering/production-runtime/framegraph/FrameGraph.d.ts +1 -1
  738. package/dist/rendering/production-runtime/geometry/ProjectedDecalGeometry.d.ts +1 -1
  739. package/dist/rendering/production-runtime/index.d.ts +74 -74
  740. package/dist/rendering/production-runtime/lights/LightManager.d.ts +1 -1
  741. package/dist/rendering/production-runtime/lights/ShadowMapRenderer.d.ts +1 -1
  742. package/dist/rendering/production-runtime/materials/GLTFMaterialAdapter.d.ts +1 -1
  743. package/dist/rendering/production-runtime/materials/GLTFPBRMaterialAdapter.d.ts +2 -2
  744. package/dist/rendering/production-runtime/materials/MaterialCompiler.d.ts +2 -2
  745. package/dist/rendering/production-runtime/materials/MaterialTextureBindings.d.ts +1 -1
  746. package/dist/rendering/production-runtime/passes/ContactShadowPass.d.ts +1 -1
  747. package/dist/rendering/production-runtime/passes/DepthPrepass.d.ts +1 -1
  748. package/dist/rendering/production-runtime/passes/OpaquePass.d.ts +1 -1
  749. package/dist/rendering/production-runtime/passes/ShadowPass.d.ts +1 -1
  750. package/dist/rendering/production-runtime/passes/SkyboxPass.d.ts +1 -1
  751. package/dist/rendering/production-runtime/passes/ToneMappingPass.d.ts +1 -1
  752. package/dist/rendering/production-runtime/passes/TransparentPass.d.ts +1 -1
  753. package/dist/rendering/production-runtime/postprocess/BloomPass.d.ts +2 -2
  754. package/dist/rendering/production-runtime/postprocess/ColorGradingPass.d.ts +2 -2
  755. package/dist/rendering/production-runtime/postprocess/DOFPass.d.ts +2 -2
  756. package/dist/rendering/production-runtime/postprocess/FXAAPass.d.ts +2 -2
  757. package/dist/rendering/production-runtime/postprocess/ProductionEffectComposer.d.ts +1 -1
  758. package/dist/rendering/production-runtime/postprocess/ProductionPostProcessTypes.d.ts +1 -1
  759. package/dist/rendering/production-runtime/postprocess/SSAOPass.d.ts +2 -2
  760. package/dist/rendering/production-runtime/resources/RenderTarget.d.ts +1 -1
  761. package/dist/rendering/production-runtime/scene/RenderableMesh.d.ts +1 -1
  762. package/dist/rendering/production-runtime/scene/RenderableScene.d.ts +3 -3
  763. package/dist/rendering/shadows/CascadedShadowPipeline.d.ts +1 -1
  764. package/dist/rendering/shadows/ShadowDebugViews.d.ts +2 -2
  765. package/dist/rendering/threejs-example-parity/index.d.ts +4 -4
  766. package/dist/rendering/webgpu/WebGPUBuffer.d.ts +1 -1
  767. package/dist/rendering/webgpu/WebGPUCompute.d.ts +2 -2
  768. package/dist/rendering/webgpu/WebGPUPostProcess.d.ts +2 -2
  769. package/dist/rendering/webgpu/WebGPUTexture.d.ts +2 -2
  770. package/dist/rendering/webgpu.d.ts +25 -0
  771. package/dist/rendering/webgpu.d.ts.map +1 -0
  772. package/dist/rendering/webgpu.js +24 -0
  773. package/dist/rendering/webgpu.js.map +1 -0
  774. package/dist/scene/Bounds.d.ts +1 -1
  775. package/dist/scene/Camera.d.ts +1 -1
  776. package/dist/scene/Light.d.ts +1 -1
  777. package/dist/scene/MathTypes.d.ts +2 -1
  778. package/dist/scene/MathTypes.d.ts.map +1 -1
  779. package/dist/scene/MathTypes.js +3 -0
  780. package/dist/scene/MathTypes.js.map +1 -1
  781. package/dist/scene/Renderable.d.ts +6 -0
  782. package/dist/scene/Renderable.d.ts.map +1 -1
  783. package/dist/scene/Renderable.js +8 -2
  784. package/dist/scene/Renderable.js.map +1 -1
  785. package/dist/scripting/AnimationVisualNodes.d.ts +1 -1
  786. package/dist/scripting/Behavior.d.ts +1 -1
  787. package/dist/scripting/BehaviorHost.d.ts +1 -1
  788. package/dist/scripting/BehaviorRegistry.d.ts +1 -1
  789. package/dist/scripting/BehaviorSystem.d.ts +2 -2
  790. package/dist/scripting/HTN.d.ts +1 -1
  791. package/dist/scripting/ScriptContext.d.ts +1 -1
  792. package/dist/scripting/StateMachine.d.ts +1 -1
  793. package/dist/scripting/UtilityAI.d.ts +1 -1
  794. package/dist/scripting/VisualGraph.d.ts +2 -2
  795. package/dist/scripting/VisualGraphExecutor.d.ts +2 -2
  796. package/dist/scripting/VisualNodeCatalog.d.ts +1 -1
  797. package/dist/scripting/index.d.ts +37 -53
  798. package/dist/scripting/index.d.ts.map +1 -1
  799. package/dist/scripting/index.js +0 -8
  800. package/dist/scripting/index.js.map +1 -1
  801. package/dist/workflows/AnimationLabWorkflow.d.ts +1 -1
  802. package/dist/workflows/AssetViewerWorkflow.d.ts +1 -1
  803. package/dist/workflows/ComparisonWorkflow.d.ts +1 -1
  804. package/dist/workflows/InteractiveSceneWorkflow.d.ts +1 -1
  805. package/dist/workflows/MaterialStudioWorkflow.d.ts +1 -1
  806. package/dist/workflows/ProductConfiguratorWorkflow.d.ts +1 -1
  807. package/dist/workflows/SceneShowcaseWorkflow.d.ts +1 -1
  808. package/dist/workflows/WorkflowDiagnostics.d.ts +4 -4
  809. package/dist/workflows/WorkflowTypes.d.ts +4 -4
  810. package/dist/workflows/index.d.ts +12 -12
  811. package/dist/workflows/production-runtime/ProductionExampleRuntime.d.ts +2 -2
  812. package/dist/workflows/production-runtime/ProductionExampleRuntime.d.ts.map +1 -1
  813. package/dist/workflows/production-runtime/ProductionExampleRuntime.js +2 -2
  814. package/dist/workflows/production-runtime/ProductionExampleRuntime.js.map +1 -1
  815. package/dist/workflows/production-runtime/index.d.ts +10 -10
  816. package/dist/workflows/workflow-foundation/index.d.ts +16 -16
  817. package/package.json +157 -40
  818. package/templates/cinematic-scene/node_modules/.vite/deps/_metadata.json +8 -0
  819. package/templates/cinematic-scene/node_modules/.vite/deps/package.json +3 -0
  820. package/templates/cinematic-scene/package.json +1 -1
  821. package/templates/cinematic-scene/test-results/.last-run.json +6 -0
  822. package/templates/cinematic-scene/test-results/route-health-Aura3D-cinematic-scene-reaches-ready-state/error-context.md +64 -0
  823. package/templates/mini-game/README.md +3 -2
  824. package/templates/mini-game/package.json +1 -1
  825. package/templates/mini-game/src/aura-assets.ts +1 -1
  826. package/templates/mini-game/src/main.ts +69 -141
  827. package/templates/product-viewer/README.md +7 -5
  828. package/templates/product-viewer/index.html +1 -1
  829. package/templates/product-viewer/node_modules/.vite/deps/_metadata.json +8 -0
  830. package/templates/product-viewer/node_modules/.vite/deps/package.json +3 -0
  831. package/templates/product-viewer/package.json +1 -1
  832. package/templates/product-viewer/src/aura-assets.ts +1 -1
  833. package/templates/product-viewer/src/main.ts +29 -23
  834. package/dist/animation/MotionMatchingFixtures.d.ts +0 -58
  835. package/dist/animation/MotionMatchingFixtures.d.ts.map +0 -1
  836. package/dist/animation/MotionMatchingFixtures.js +0 -175
  837. package/dist/animation/MotionMatchingFixtures.js.map +0 -1
  838. package/dist/animation/Retargeting.d.ts +0 -12
  839. package/dist/animation/Retargeting.d.ts.map +0 -1
  840. package/dist/animation/Retargeting.js +0 -19
  841. package/dist/animation/Retargeting.js.map +0 -1
  842. package/dist/animation/SecondaryAnimationFixtures.d.ts +0 -55
  843. package/dist/animation/SecondaryAnimationFixtures.d.ts.map +0 -1
  844. package/dist/animation/SecondaryAnimationFixtures.js +0 -145
  845. package/dist/animation/SecondaryAnimationFixtures.js.map +0 -1
  846. package/dist/assets/AssetBundleCacheFixtures.d.ts +0 -62
  847. package/dist/assets/AssetBundleCacheFixtures.d.ts.map +0 -1
  848. package/dist/assets/AssetBundleCacheFixtures.js +0 -222
  849. package/dist/assets/AssetBundleCacheFixtures.js.map +0 -1
  850. package/dist/assets/EXRLoader.d.ts +0 -2
  851. package/dist/assets/EXRLoader.d.ts.map +0 -1
  852. package/dist/assets/EXRLoader.js +0 -2
  853. package/dist/assets/EXRLoader.js.map +0 -1
  854. package/dist/assets/SceneAnalysisFixtures.d.ts +0 -100
  855. package/dist/assets/SceneAnalysisFixtures.d.ts.map +0 -1
  856. package/dist/assets/SceneAnalysisFixtures.js +0 -331
  857. package/dist/assets/SceneAnalysisFixtures.js.map +0 -1
  858. package/dist/assets/loaders/EXRLoader.d.ts +0 -4
  859. package/dist/assets/loaders/EXRLoader.d.ts.map +0 -1
  860. package/dist/assets/loaders/EXRLoader.js +0 -10
  861. package/dist/assets/loaders/EXRLoader.js.map +0 -1
  862. package/dist/audio/AdaptiveMusicFixtures.d.ts +0 -36
  863. package/dist/audio/AdaptiveMusicFixtures.d.ts.map +0 -1
  864. package/dist/audio/AdaptiveMusicFixtures.js +0 -90
  865. package/dist/audio/AdaptiveMusicFixtures.js.map +0 -1
  866. package/dist/audio/AudioEffectsAnalysisFixtures.d.ts +0 -99
  867. package/dist/audio/AudioEffectsAnalysisFixtures.d.ts.map +0 -1
  868. package/dist/audio/AudioEffectsAnalysisFixtures.js +0 -192
  869. package/dist/audio/AudioEffectsAnalysisFixtures.js.map +0 -1
  870. package/dist/audio/SpatialAudioFixtures.d.ts +0 -38
  871. package/dist/audio/SpatialAudioFixtures.d.ts.map +0 -1
  872. package/dist/audio/SpatialAudioFixtures.js +0 -94
  873. package/dist/audio/SpatialAudioFixtures.js.map +0 -1
  874. package/dist/aura3d-cli/cartoon-asset-profiles.d.ts +0 -15
  875. package/dist/aura3d-cli/cartoon-asset-profiles.d.ts.map +0 -1
  876. package/dist/aura3d-cli/cartoon-asset-profiles.js +0 -46
  877. package/dist/aura3d-cli/cartoon-asset-profiles.js.map +0 -1
  878. package/dist/editor-runtime/CartoonSceneEditor.d.ts +0 -111
  879. package/dist/editor-runtime/CartoonSceneEditor.d.ts.map +0 -1
  880. package/dist/editor-runtime/CartoonSceneEditor.js +0 -285
  881. package/dist/editor-runtime/CartoonSceneEditor.js.map +0 -1
  882. package/dist/editor-runtime/LocalizationAccessibilityFixtures.d.ts +0 -70
  883. package/dist/editor-runtime/LocalizationAccessibilityFixtures.d.ts.map +0 -1
  884. package/dist/editor-runtime/LocalizationAccessibilityFixtures.js +0 -275
  885. package/dist/editor-runtime/LocalizationAccessibilityFixtures.js.map +0 -1
  886. package/dist/engine/agent-api/CartoonAssetManifest.d.ts +0 -50
  887. package/dist/engine/agent-api/CartoonAssetManifest.d.ts.map +0 -1
  888. package/dist/engine/agent-api/CartoonAssetManifest.js +0 -65
  889. package/dist/engine/agent-api/CartoonAssetManifest.js.map +0 -1
  890. package/dist/engine/agent-api/CartoonDirector.d.ts +0 -120
  891. package/dist/engine/agent-api/CartoonDirector.d.ts.map +0 -1
  892. package/dist/engine/agent-api/CartoonDirector.js +0 -432
  893. package/dist/engine/agent-api/CartoonDirector.js.map +0 -1
  894. package/dist/engine/agent-api/CartoonEpisodePackage.d.ts +0 -51
  895. package/dist/engine/agent-api/CartoonEpisodePackage.d.ts.map +0 -1
  896. package/dist/engine/agent-api/CartoonEpisodePackage.js +0 -79
  897. package/dist/engine/agent-api/CartoonEpisodePackage.js.map +0 -1
  898. package/dist/engine/agent-api/CartoonMotionQuality.d.ts +0 -83
  899. package/dist/engine/agent-api/CartoonMotionQuality.d.ts.map +0 -1
  900. package/dist/engine/agent-api/CartoonMotionQuality.js +0 -128
  901. package/dist/engine/agent-api/CartoonMotionQuality.js.map +0 -1
  902. package/dist/engine/agent-api/CartoonPerformance.d.ts +0 -150
  903. package/dist/engine/agent-api/CartoonPerformance.d.ts.map +0 -1
  904. package/dist/engine/agent-api/CartoonPerformance.js +0 -345
  905. package/dist/engine/agent-api/CartoonPerformance.js.map +0 -1
  906. package/dist/engine/agent-api/CartoonRenderQueue.d.ts +0 -143
  907. package/dist/engine/agent-api/CartoonRenderQueue.d.ts.map +0 -1
  908. package/dist/engine/agent-api/CartoonRenderQueue.js +0 -410
  909. package/dist/engine/agent-api/CartoonRenderQueue.js.map +0 -1
  910. package/dist/engine/agent-api/CartoonRouteProof.d.ts +0 -112
  911. package/dist/engine/agent-api/CartoonRouteProof.d.ts.map +0 -1
  912. package/dist/engine/agent-api/CartoonRouteProof.js +0 -127
  913. package/dist/engine/agent-api/CartoonRouteProof.js.map +0 -1
  914. package/dist/input/GestureHapticsFixtures.d.ts +0 -57
  915. package/dist/input/GestureHapticsFixtures.d.ts.map +0 -1
  916. package/dist/input/GestureHapticsFixtures.js +0 -115
  917. package/dist/input/GestureHapticsFixtures.js.map +0 -1
  918. package/dist/input/InputActionBindingFixtures.d.ts +0 -44
  919. package/dist/input/InputActionBindingFixtures.d.ts.map +0 -1
  920. package/dist/input/InputActionBindingFixtures.js +0 -86
  921. package/dist/input/InputActionBindingFixtures.js.map +0 -1
  922. package/dist/input/XRFixtures.d.ts +0 -65
  923. package/dist/input/XRFixtures.d.ts.map +0 -1
  924. package/dist/input/XRFixtures.js +0 -136
  925. package/dist/input/XRFixtures.js.map +0 -1
  926. package/dist/physics/CharacterController.d.ts +0 -83
  927. package/dist/physics/CharacterController.d.ts.map +0 -1
  928. package/dist/physics/CharacterController.js +0 -236
  929. package/dist/physics/CharacterController.js.map +0 -1
  930. package/dist/physics/ClothFixtures.d.ts +0 -87
  931. package/dist/physics/ClothFixtures.d.ts.map +0 -1
  932. package/dist/physics/ClothFixtures.js +0 -264
  933. package/dist/physics/ClothFixtures.js.map +0 -1
  934. package/dist/physics/Crowd.d.ts +0 -64
  935. package/dist/physics/Crowd.d.ts.map +0 -1
  936. package/dist/physics/Crowd.js +0 -209
  937. package/dist/physics/Crowd.js.map +0 -1
  938. package/dist/physics/FireSmokeFixtures.d.ts +0 -103
  939. package/dist/physics/FireSmokeFixtures.d.ts.map +0 -1
  940. package/dist/physics/FireSmokeFixtures.js +0 -271
  941. package/dist/physics/FireSmokeFixtures.js.map +0 -1
  942. package/dist/physics/FluidFixtures.d.ts +0 -75
  943. package/dist/physics/FluidFixtures.d.ts.map +0 -1
  944. package/dist/physics/FluidFixtures.js +0 -219
  945. package/dist/physics/FluidFixtures.js.map +0 -1
  946. package/dist/physics/FractureFixtures.d.ts +0 -68
  947. package/dist/physics/FractureFixtures.d.ts.map +0 -1
  948. package/dist/physics/FractureFixtures.js +0 -199
  949. package/dist/physics/FractureFixtures.js.map +0 -1
  950. package/dist/physics/NarrowPhase.d.ts +0 -11
  951. package/dist/physics/NarrowPhase.d.ts.map +0 -1
  952. package/dist/physics/NarrowPhase.js +0 -565
  953. package/dist/physics/NarrowPhase.js.map +0 -1
  954. package/dist/physics/Navigation.d.ts +0 -67
  955. package/dist/physics/Navigation.d.ts.map +0 -1
  956. package/dist/physics/Navigation.js +0 -261
  957. package/dist/physics/Navigation.js.map +0 -1
  958. package/dist/physics/PhysicsSandboxFixtures.d.ts +0 -53
  959. package/dist/physics/PhysicsSandboxFixtures.d.ts.map +0 -1
  960. package/dist/physics/PhysicsSandboxFixtures.js +0 -280
  961. package/dist/physics/PhysicsSandboxFixtures.js.map +0 -1
  962. package/dist/physics/PlatformerFixtures.d.ts +0 -70
  963. package/dist/physics/PlatformerFixtures.d.ts.map +0 -1
  964. package/dist/physics/PlatformerFixtures.js +0 -120
  965. package/dist/physics/PlatformerFixtures.js.map +0 -1
  966. package/dist/physics/SoftBodyFixtures.d.ts +0 -70
  967. package/dist/physics/SoftBodyFixtures.d.ts.map +0 -1
  968. package/dist/physics/SoftBodyFixtures.js +0 -272
  969. package/dist/physics/SoftBodyFixtures.js.map +0 -1
  970. package/dist/physics/Steering.d.ts +0 -161
  971. package/dist/physics/Steering.d.ts.map +0 -1
  972. package/dist/physics/Steering.js +0 -347
  973. package/dist/physics/Steering.js.map +0 -1
  974. package/dist/physics/VehicleDynamics.d.ts.map +0 -1
  975. package/dist/physics/VehicleDynamics.js.map +0 -1
  976. package/dist/rendering/ArchitecturalLightingFixtures.d.ts +0 -40
  977. package/dist/rendering/ArchitecturalLightingFixtures.d.ts.map +0 -1
  978. package/dist/rendering/ArchitecturalLightingFixtures.js.map +0 -1
  979. package/dist/rendering/ArchitecturalMeasurementFixtures.d.ts.map +0 -1
  980. package/dist/rendering/ArchitecturalMeasurementFixtures.js.map +0 -1
  981. package/dist/rendering/CanonicalSceneFixtures.d.ts.map +0 -1
  982. package/dist/rendering/CanonicalSceneFixtures.js.map +0 -1
  983. package/dist/rendering/CullingFixtures.d.ts +0 -70
  984. package/dist/rendering/CullingFixtures.d.ts.map +0 -1
  985. package/dist/rendering/CullingFixtures.js +0 -191
  986. package/dist/rendering/CullingFixtures.js.map +0 -1
  987. package/dist/rendering/OceanFixtures.d.ts.map +0 -1
  988. package/dist/rendering/OceanFixtures.js.map +0 -1
  989. package/dist/rendering/ProceduralTextureFixtures.d.ts.map +0 -1
  990. package/dist/rendering/ProceduralTextureFixtures.js.map +0 -1
  991. package/dist/rendering/ProductTurntableFixtures.d.ts.map +0 -1
  992. package/dist/rendering/ProductTurntableFixtures.js.map +0 -1
  993. package/dist/rendering/SpaceEnvironmentFixtures.d.ts.map +0 -1
  994. package/dist/rendering/SpaceEnvironmentFixtures.js.map +0 -1
  995. package/dist/rendering/TerrainFixtures.d.ts.map +0 -1
  996. package/dist/rendering/TerrainFixtures.js.map +0 -1
  997. package/dist/rendering/VegetationFixtures.d.ts.map +0 -1
  998. package/dist/rendering/VegetationFixtures.js.map +0 -1
  999. package/dist/rendering/VoxelWorldFixtures.d.ts.map +0 -1
  1000. package/dist/rendering/VoxelWorldFixtures.js.map +0 -1
  1001. package/dist/rendering/WeatherFixtures.d.ts.map +0 -1
  1002. package/dist/rendering/WeatherFixtures.js.map +0 -1
  1003. package/dist/rendering/cartoon/CartoonMaterialStyle.d.ts +0 -19
  1004. package/dist/rendering/cartoon/CartoonMaterialStyle.d.ts.map +0 -1
  1005. package/dist/rendering/cartoon/CartoonMaterialStyle.js +0 -13
  1006. package/dist/rendering/cartoon/CartoonMaterialStyle.js.map +0 -1
  1007. package/dist/rendering/cartoon/CartoonRenderPreset.d.ts +0 -36
  1008. package/dist/rendering/cartoon/CartoonRenderPreset.d.ts.map +0 -1
  1009. package/dist/rendering/cartoon/CartoonRenderPreset.js +0 -23
  1010. package/dist/rendering/cartoon/CartoonRenderPreset.js.map +0 -1
  1011. package/dist/rendering/cartoon/CartoonToonMaterial.d.ts +0 -130
  1012. package/dist/rendering/cartoon/CartoonToonMaterial.d.ts.map +0 -1
  1013. package/dist/rendering/cartoon/CartoonToonMaterial.js +0 -303
  1014. package/dist/rendering/cartoon/CartoonToonMaterial.js.map +0 -1
  1015. package/dist/rendering/cartoon/CartoonVisualQuality.d.ts +0 -28
  1016. package/dist/rendering/cartoon/CartoonVisualQuality.d.ts.map +0 -1
  1017. package/dist/rendering/cartoon/CartoonVisualQuality.js +0 -39
  1018. package/dist/rendering/cartoon/CartoonVisualQuality.js.map +0 -1
  1019. package/dist/rendering/cartoon/applyCartoonRenderPreset.d.ts +0 -79
  1020. package/dist/rendering/cartoon/applyCartoonRenderPreset.d.ts.map +0 -1
  1021. package/dist/rendering/cartoon/applyCartoonRenderPreset.js +0 -88
  1022. package/dist/rendering/cartoon/applyCartoonRenderPreset.js.map +0 -1
  1023. package/dist/rendering/cartoon/index.d.ts +0 -6
  1024. package/dist/rendering/cartoon/index.d.ts.map +0 -1
  1025. package/dist/rendering/cartoon/index.js +0 -6
  1026. package/dist/rendering/cartoon/index.js.map +0 -1
  1027. package/dist/rendering/threejs-compatibility/InstancingSystem.d.ts +0 -10
  1028. package/dist/rendering/threejs-compatibility/InstancingSystem.d.ts.map +0 -1
  1029. package/dist/rendering/threejs-compatibility/InstancingSystem.js +0 -11
  1030. package/dist/rendering/threejs-compatibility/InstancingSystem.js.map +0 -1
  1031. package/dist/rendering/threejs-compatibility/LightingSystem.d.ts +0 -11
  1032. package/dist/rendering/threejs-compatibility/LightingSystem.d.ts.map +0 -1
  1033. package/dist/rendering/threejs-compatibility/LightingSystem.js +0 -14
  1034. package/dist/rendering/threejs-compatibility/LightingSystem.js.map +0 -1
  1035. package/dist/rendering/threejs-compatibility/MaterialSystem.d.ts +0 -6
  1036. package/dist/rendering/threejs-compatibility/MaterialSystem.d.ts.map +0 -1
  1037. package/dist/rendering/threejs-compatibility/MaterialSystem.js +0 -7
  1038. package/dist/rendering/threejs-compatibility/MaterialSystem.js.map +0 -1
  1039. package/dist/rendering/threejs-compatibility/RenderTargetSystem.d.ts +0 -16
  1040. package/dist/rendering/threejs-compatibility/RenderTargetSystem.d.ts.map +0 -1
  1041. package/dist/rendering/threejs-compatibility/RenderTargetSystem.js +0 -23
  1042. package/dist/rendering/threejs-compatibility/RenderTargetSystem.js.map +0 -1
  1043. package/dist/rendering/threejs-compatibility/RendererDiagnostics.d.ts +0 -27
  1044. package/dist/rendering/threejs-compatibility/RendererDiagnostics.d.ts.map +0 -1
  1045. package/dist/rendering/threejs-compatibility/RendererDiagnostics.js +0 -41
  1046. package/dist/rendering/threejs-compatibility/RendererDiagnostics.js.map +0 -1
  1047. package/dist/rendering/threejs-compatibility/SceneRenderer.d.ts +0 -19
  1048. package/dist/rendering/threejs-compatibility/SceneRenderer.d.ts.map +0 -1
  1049. package/dist/rendering/threejs-compatibility/SceneRenderer.js +0 -18
  1050. package/dist/rendering/threejs-compatibility/SceneRenderer.js.map +0 -1
  1051. package/dist/rendering/threejs-compatibility/ShadowSystem.d.ts +0 -11
  1052. package/dist/rendering/threejs-compatibility/ShadowSystem.d.ts.map +0 -1
  1053. package/dist/rendering/threejs-compatibility/ShadowSystem.js +0 -12
  1054. package/dist/rendering/threejs-compatibility/ShadowSystem.js.map +0 -1
  1055. package/dist/rendering/threejs-compatibility/TextureSystem.d.ts +0 -9
  1056. package/dist/rendering/threejs-compatibility/TextureSystem.d.ts.map +0 -1
  1057. package/dist/rendering/threejs-compatibility/TextureSystem.js +0 -14
  1058. package/dist/rendering/threejs-compatibility/TextureSystem.js.map +0 -1
  1059. package/dist/rendering/threejs-compatibility/ThreeCompatRenderer.d.ts +0 -37
  1060. package/dist/rendering/threejs-compatibility/ThreeCompatRenderer.d.ts.map +0 -1
  1061. package/dist/rendering/threejs-compatibility/ThreeCompatRenderer.js +0 -77
  1062. package/dist/rendering/threejs-compatibility/ThreeCompatRenderer.js.map +0 -1
  1063. package/dist/rendering/threejs-compatibility/TransparencySystem.d.ts +0 -11
  1064. package/dist/rendering/threejs-compatibility/TransparencySystem.d.ts.map +0 -1
  1065. package/dist/rendering/threejs-compatibility/TransparencySystem.js +0 -12
  1066. package/dist/rendering/threejs-compatibility/TransparencySystem.js.map +0 -1
  1067. package/dist/rendering/threejs-compatibility/index.d.ts +0 -25
  1068. package/dist/rendering/threejs-compatibility/index.d.ts.map +0 -1
  1069. package/dist/rendering/threejs-compatibility/index.js +0 -15
  1070. package/dist/rendering/threejs-compatibility/index.js.map +0 -1
  1071. package/dist/rendering/threejs-compatibility/performance/BVH.d.ts +0 -11
  1072. package/dist/rendering/threejs-compatibility/performance/BVH.d.ts.map +0 -1
  1073. package/dist/rendering/threejs-compatibility/performance/BVH.js +0 -10
  1074. package/dist/rendering/threejs-compatibility/performance/BVH.js.map +0 -1
  1075. package/dist/rendering/threejs-compatibility/performance/FrustumCulling.d.ts +0 -7
  1076. package/dist/rendering/threejs-compatibility/performance/FrustumCulling.d.ts.map +0 -1
  1077. package/dist/rendering/threejs-compatibility/performance/FrustumCulling.js +0 -5
  1078. package/dist/rendering/threejs-compatibility/performance/FrustumCulling.js.map +0 -1
  1079. package/dist/rendering/threejs-compatibility/performance/Instancing.d.ts +0 -7
  1080. package/dist/rendering/threejs-compatibility/performance/Instancing.d.ts.map +0 -1
  1081. package/dist/rendering/threejs-compatibility/performance/Instancing.js +0 -10
  1082. package/dist/rendering/threejs-compatibility/performance/Instancing.js.map +0 -1
  1083. package/dist/rendering/threejs-compatibility/performance/LODSystem.d.ts +0 -9
  1084. package/dist/rendering/threejs-compatibility/performance/LODSystem.d.ts.map +0 -1
  1085. package/dist/rendering/threejs-compatibility/performance/LODSystem.js +0 -11
  1086. package/dist/rendering/threejs-compatibility/performance/LODSystem.js.map +0 -1
  1087. package/dist/rendering/threejs-compatibility/performance/OcclusionCulling.d.ts +0 -3
  1088. package/dist/rendering/threejs-compatibility/performance/OcclusionCulling.d.ts.map +0 -1
  1089. package/dist/rendering/threejs-compatibility/performance/OcclusionCulling.js +0 -5
  1090. package/dist/rendering/threejs-compatibility/performance/OcclusionCulling.js.map +0 -1
  1091. package/dist/rendering/threejs-compatibility/performance/RaycastAcceleration.d.ts +0 -8
  1092. package/dist/rendering/threejs-compatibility/performance/RaycastAcceleration.d.ts.map +0 -1
  1093. package/dist/rendering/threejs-compatibility/performance/RaycastAcceleration.js +0 -11
  1094. package/dist/rendering/threejs-compatibility/performance/RaycastAcceleration.js.map +0 -1
  1095. package/dist/rendering/threejs-compatibility/performance/RendererProfiler.d.ts +0 -11
  1096. package/dist/rendering/threejs-compatibility/performance/RendererProfiler.d.ts.map +0 -1
  1097. package/dist/rendering/threejs-compatibility/performance/RendererProfiler.js +0 -10
  1098. package/dist/rendering/threejs-compatibility/performance/RendererProfiler.js.map +0 -1
  1099. package/dist/rendering/threejs-compatibility/performance/TextureStreaming.d.ts +0 -7
  1100. package/dist/rendering/threejs-compatibility/performance/TextureStreaming.d.ts.map +0 -1
  1101. package/dist/rendering/threejs-compatibility/performance/TextureStreaming.js +0 -10
  1102. package/dist/rendering/threejs-compatibility/performance/TextureStreaming.js.map +0 -1
  1103. package/dist/rendering/threejs-compatibility/performance/index.d.ts +0 -13
  1104. package/dist/rendering/threejs-compatibility/performance/index.d.ts.map +0 -1
  1105. package/dist/rendering/threejs-compatibility/performance/index.js +0 -9
  1106. package/dist/rendering/threejs-compatibility/performance/index.js.map +0 -1
  1107. package/dist/rendering/threejs-compatibility/postprocess/BloomPass.d.ts +0 -9
  1108. package/dist/rendering/threejs-compatibility/postprocess/BloomPass.d.ts.map +0 -1
  1109. package/dist/rendering/threejs-compatibility/postprocess/BloomPass.js +0 -14
  1110. package/dist/rendering/threejs-compatibility/postprocess/BloomPass.js.map +0 -1
  1111. package/dist/rendering/threejs-compatibility/postprocess/ColorGradingPass.d.ts +0 -10
  1112. package/dist/rendering/threejs-compatibility/postprocess/ColorGradingPass.d.ts.map +0 -1
  1113. package/dist/rendering/threejs-compatibility/postprocess/ColorGradingPass.js +0 -16
  1114. package/dist/rendering/threejs-compatibility/postprocess/ColorGradingPass.js.map +0 -1
  1115. package/dist/rendering/threejs-compatibility/postprocess/DepthOfFieldPass.d.ts +0 -9
  1116. package/dist/rendering/threejs-compatibility/postprocess/DepthOfFieldPass.d.ts.map +0 -1
  1117. package/dist/rendering/threejs-compatibility/postprocess/DepthOfFieldPass.js +0 -19
  1118. package/dist/rendering/threejs-compatibility/postprocess/DepthOfFieldPass.js.map +0 -1
  1119. package/dist/rendering/threejs-compatibility/postprocess/EffectComposer.d.ts +0 -7
  1120. package/dist/rendering/threejs-compatibility/postprocess/EffectComposer.d.ts.map +0 -1
  1121. package/dist/rendering/threejs-compatibility/postprocess/EffectComposer.js +0 -11
  1122. package/dist/rendering/threejs-compatibility/postprocess/EffectComposer.js.map +0 -1
  1123. package/dist/rendering/threejs-compatibility/postprocess/FXAAPass.d.ts +0 -7
  1124. package/dist/rendering/threejs-compatibility/postprocess/FXAAPass.d.ts.map +0 -1
  1125. package/dist/rendering/threejs-compatibility/postprocess/FXAAPass.js +0 -10
  1126. package/dist/rendering/threejs-compatibility/postprocess/FXAAPass.js.map +0 -1
  1127. package/dist/rendering/threejs-compatibility/postprocess/MotionBlurPass.d.ts +0 -9
  1128. package/dist/rendering/threejs-compatibility/postprocess/MotionBlurPass.d.ts.map +0 -1
  1129. package/dist/rendering/threejs-compatibility/postprocess/MotionBlurPass.js +0 -18
  1130. package/dist/rendering/threejs-compatibility/postprocess/MotionBlurPass.js.map +0 -1
  1131. package/dist/rendering/threejs-compatibility/postprocess/OutlinePass.d.ts +0 -9
  1132. package/dist/rendering/threejs-compatibility/postprocess/OutlinePass.d.ts.map +0 -1
  1133. package/dist/rendering/threejs-compatibility/postprocess/OutlinePass.js +0 -19
  1134. package/dist/rendering/threejs-compatibility/postprocess/OutlinePass.js.map +0 -1
  1135. package/dist/rendering/threejs-compatibility/postprocess/PostProcessTypes.d.ts +0 -42
  1136. package/dist/rendering/threejs-compatibility/postprocess/PostProcessTypes.d.ts.map +0 -1
  1137. package/dist/rendering/threejs-compatibility/postprocess/PostProcessTypes.js +0 -123
  1138. package/dist/rendering/threejs-compatibility/postprocess/PostProcessTypes.js.map +0 -1
  1139. package/dist/rendering/threejs-compatibility/postprocess/RenderPass.d.ts +0 -7
  1140. package/dist/rendering/threejs-compatibility/postprocess/RenderPass.d.ts.map +0 -1
  1141. package/dist/rendering/threejs-compatibility/postprocess/RenderPass.js +0 -8
  1142. package/dist/rendering/threejs-compatibility/postprocess/RenderPass.js.map +0 -1
  1143. package/dist/rendering/threejs-compatibility/postprocess/SMAAPass.d.ts +0 -7
  1144. package/dist/rendering/threejs-compatibility/postprocess/SMAAPass.d.ts.map +0 -1
  1145. package/dist/rendering/threejs-compatibility/postprocess/SMAAPass.js +0 -10
  1146. package/dist/rendering/threejs-compatibility/postprocess/SMAAPass.js.map +0 -1
  1147. package/dist/rendering/threejs-compatibility/postprocess/SSAOPass.d.ts +0 -9
  1148. package/dist/rendering/threejs-compatibility/postprocess/SSAOPass.d.ts.map +0 -1
  1149. package/dist/rendering/threejs-compatibility/postprocess/SSAOPass.js +0 -19
  1150. package/dist/rendering/threejs-compatibility/postprocess/SSAOPass.js.map +0 -1
  1151. package/dist/rendering/threejs-compatibility/postprocess/ShaderPass.d.ts +0 -9
  1152. package/dist/rendering/threejs-compatibility/postprocess/ShaderPass.d.ts.map +0 -1
  1153. package/dist/rendering/threejs-compatibility/postprocess/ShaderPass.js +0 -11
  1154. package/dist/rendering/threejs-compatibility/postprocess/ShaderPass.js.map +0 -1
  1155. package/dist/rendering/threejs-compatibility/postprocess/TAAPass.d.ts +0 -7
  1156. package/dist/rendering/threejs-compatibility/postprocess/TAAPass.d.ts.map +0 -1
  1157. package/dist/rendering/threejs-compatibility/postprocess/TAAPass.js +0 -10
  1158. package/dist/rendering/threejs-compatibility/postprocess/TAAPass.js.map +0 -1
  1159. package/dist/rendering/threejs-compatibility/postprocess/VignettePass.d.ts +0 -9
  1160. package/dist/rendering/threejs-compatibility/postprocess/VignettePass.d.ts.map +0 -1
  1161. package/dist/rendering/threejs-compatibility/postprocess/VignettePass.js +0 -14
  1162. package/dist/rendering/threejs-compatibility/postprocess/VignettePass.js.map +0 -1
  1163. package/dist/rendering/threejs-compatibility/postprocess/index.d.ts +0 -16
  1164. package/dist/rendering/threejs-compatibility/postprocess/index.d.ts.map +0 -1
  1165. package/dist/rendering/threejs-compatibility/postprocess/index.js +0 -15
  1166. package/dist/rendering/threejs-compatibility/postprocess/index.js.map +0 -1
  1167. package/dist/rendering/threejs-compatibility/shaders/NodeMaterial.d.ts +0 -14
  1168. package/dist/rendering/threejs-compatibility/shaders/NodeMaterial.d.ts.map +0 -1
  1169. package/dist/rendering/threejs-compatibility/shaders/NodeMaterial.js +0 -15
  1170. package/dist/rendering/threejs-compatibility/shaders/NodeMaterial.js.map +0 -1
  1171. package/dist/rendering/threejs-compatibility/shaders/RawShaderMaterial.d.ts +0 -6
  1172. package/dist/rendering/threejs-compatibility/shaders/RawShaderMaterial.d.ts.map +0 -1
  1173. package/dist/rendering/threejs-compatibility/shaders/RawShaderMaterial.js +0 -6
  1174. package/dist/rendering/threejs-compatibility/shaders/RawShaderMaterial.js.map +0 -1
  1175. package/dist/rendering/threejs-compatibility/shaders/ShaderDiagnostics.d.ts +0 -7
  1176. package/dist/rendering/threejs-compatibility/shaders/ShaderDiagnostics.d.ts.map +0 -1
  1177. package/dist/rendering/threejs-compatibility/shaders/ShaderDiagnostics.js +0 -12
  1178. package/dist/rendering/threejs-compatibility/shaders/ShaderDiagnostics.js.map +0 -1
  1179. package/dist/rendering/threejs-compatibility/shaders/ShaderMaterial.d.ts +0 -12
  1180. package/dist/rendering/threejs-compatibility/shaders/ShaderMaterial.d.ts.map +0 -1
  1181. package/dist/rendering/threejs-compatibility/shaders/ShaderMaterial.js +0 -20
  1182. package/dist/rendering/threejs-compatibility/shaders/ShaderMaterial.js.map +0 -1
  1183. package/dist/rendering/threejs-compatibility/shaders/ThreeCompatShaderChunks.d.ts +0 -7
  1184. package/dist/rendering/threejs-compatibility/shaders/ThreeCompatShaderChunks.d.ts.map +0 -1
  1185. package/dist/rendering/threejs-compatibility/shaders/ThreeCompatShaderChunks.js +0 -7
  1186. package/dist/rendering/threejs-compatibility/shaders/ThreeCompatShaderChunks.js.map +0 -1
  1187. package/dist/rendering/threejs-compatibility/shaders/Uniforms.d.ts +0 -8
  1188. package/dist/rendering/threejs-compatibility/shaders/Uniforms.d.ts.map +0 -1
  1189. package/dist/rendering/threejs-compatibility/shaders/Uniforms.js +0 -14
  1190. package/dist/rendering/threejs-compatibility/shaders/Uniforms.js.map +0 -1
  1191. package/dist/rendering/threejs-compatibility/shaders/index.d.ts +0 -10
  1192. package/dist/rendering/threejs-compatibility/shaders/index.d.ts.map +0 -1
  1193. package/dist/rendering/threejs-compatibility/shaders/index.js +0 -7
  1194. package/dist/rendering/threejs-compatibility/shaders/index.js.map +0 -1
  1195. package/dist/rendering/threejs-compatibility/vfx/GPUPointCloud.d.ts +0 -7
  1196. package/dist/rendering/threejs-compatibility/vfx/GPUPointCloud.d.ts.map +0 -1
  1197. package/dist/rendering/threejs-compatibility/vfx/GPUPointCloud.js +0 -12
  1198. package/dist/rendering/threejs-compatibility/vfx/GPUPointCloud.js.map +0 -1
  1199. package/dist/rendering/threejs-compatibility/vfx/LineRenderer.d.ts +0 -10
  1200. package/dist/rendering/threejs-compatibility/vfx/LineRenderer.d.ts.map +0 -1
  1201. package/dist/rendering/threejs-compatibility/vfx/LineRenderer.js +0 -7
  1202. package/dist/rendering/threejs-compatibility/vfx/LineRenderer.js.map +0 -1
  1203. package/dist/rendering/threejs-compatibility/vfx/ParticleSystem.d.ts +0 -12
  1204. package/dist/rendering/threejs-compatibility/vfx/ParticleSystem.d.ts.map +0 -1
  1205. package/dist/rendering/threejs-compatibility/vfx/ParticleSystem.js +0 -15
  1206. package/dist/rendering/threejs-compatibility/vfx/ParticleSystem.js.map +0 -1
  1207. package/dist/rendering/threejs-compatibility/vfx/SpriteSystem.d.ts +0 -11
  1208. package/dist/rendering/threejs-compatibility/vfx/SpriteSystem.d.ts.map +0 -1
  1209. package/dist/rendering/threejs-compatibility/vfx/SpriteSystem.js +0 -7
  1210. package/dist/rendering/threejs-compatibility/vfx/SpriteSystem.js.map +0 -1
  1211. package/dist/rendering/threejs-compatibility/vfx/TrailRenderer.d.ts +0 -5
  1212. package/dist/rendering/threejs-compatibility/vfx/TrailRenderer.d.ts.map +0 -1
  1213. package/dist/rendering/threejs-compatibility/vfx/TrailRenderer.js +0 -9
  1214. package/dist/rendering/threejs-compatibility/vfx/TrailRenderer.js.map +0 -1
  1215. package/dist/rendering/threejs-compatibility/vfx/VFXDiagnostics.d.ts +0 -21
  1216. package/dist/rendering/threejs-compatibility/vfx/VFXDiagnostics.d.ts.map +0 -1
  1217. package/dist/rendering/threejs-compatibility/vfx/VFXDiagnostics.js +0 -12
  1218. package/dist/rendering/threejs-compatibility/vfx/VFXDiagnostics.js.map +0 -1
  1219. package/dist/rendering/threejs-compatibility/vfx/index.d.ts +0 -10
  1220. package/dist/rendering/threejs-compatibility/vfx/index.d.ts.map +0 -1
  1221. package/dist/rendering/threejs-compatibility/vfx/index.js +0 -7
  1222. package/dist/rendering/threejs-compatibility/vfx/index.js.map +0 -1
  1223. package/dist/scripting/AdaptiveDifficultyFixtures.d.ts +0 -58
  1224. package/dist/scripting/AdaptiveDifficultyFixtures.d.ts.map +0 -1
  1225. package/dist/scripting/AdaptiveDifficultyFixtures.js +0 -228
  1226. package/dist/scripting/AdaptiveDifficultyFixtures.js.map +0 -1
  1227. package/dist/scripting/AnalyticsPrivacyFixtures.d.ts +0 -63
  1228. package/dist/scripting/AnalyticsPrivacyFixtures.d.ts.map +0 -1
  1229. package/dist/scripting/AnalyticsPrivacyFixtures.js +0 -120
  1230. package/dist/scripting/AnalyticsPrivacyFixtures.js.map +0 -1
  1231. package/dist/scripting/CartoonNodeCategories.d.ts +0 -3
  1232. package/dist/scripting/CartoonNodeCategories.d.ts.map +0 -1
  1233. package/dist/scripting/CartoonNodeCategories.js +0 -9
  1234. package/dist/scripting/CartoonNodeCategories.js.map +0 -1
  1235. package/dist/scripting/CartoonVisualNodes.d.ts +0 -3
  1236. package/dist/scripting/CartoonVisualNodes.d.ts.map +0 -1
  1237. package/dist/scripting/CartoonVisualNodes.js +0 -41
  1238. package/dist/scripting/CartoonVisualNodes.js.map +0 -1
  1239. package/dist/scripting/CloudServiceFixtures.d.ts +0 -81
  1240. package/dist/scripting/CloudServiceFixtures.d.ts.map +0 -1
  1241. package/dist/scripting/CloudServiceFixtures.js +0 -144
  1242. package/dist/scripting/CloudServiceFixtures.js.map +0 -1
  1243. package/dist/scripting/CulturalBehaviorFixtures.d.ts +0 -75
  1244. package/dist/scripting/CulturalBehaviorFixtures.d.ts.map +0 -1
  1245. package/dist/scripting/CulturalBehaviorFixtures.js +0 -180
  1246. package/dist/scripting/CulturalBehaviorFixtures.js.map +0 -1
  1247. package/dist/scripting/LearningAgentFixtures.d.ts +0 -60
  1248. package/dist/scripting/LearningAgentFixtures.d.ts.map +0 -1
  1249. package/dist/scripting/LearningAgentFixtures.js +0 -122
  1250. package/dist/scripting/LearningAgentFixtures.js.map +0 -1
  1251. package/dist/scripting/NetworkReplicationFixtures.d.ts +0 -82
  1252. package/dist/scripting/NetworkReplicationFixtures.d.ts.map +0 -1
  1253. package/dist/scripting/NetworkReplicationFixtures.js +0 -330
  1254. package/dist/scripting/NetworkReplicationFixtures.js.map +0 -1
  1255. package/dist/scripting/PlayerBehaviorTelemetryFixtures.d.ts +0 -74
  1256. package/dist/scripting/PlayerBehaviorTelemetryFixtures.d.ts.map +0 -1
  1257. package/dist/scripting/PlayerBehaviorTelemetryFixtures.js +0 -189
  1258. package/dist/scripting/PlayerBehaviorTelemetryFixtures.js.map +0 -1
  1259. package/dist/scripting/ProceduralContentAdaptationFixtures.d.ts +0 -52
  1260. package/dist/scripting/ProceduralContentAdaptationFixtures.d.ts.map +0 -1
  1261. package/dist/scripting/ProceduralContentAdaptationFixtures.js +0 -149
  1262. package/dist/scripting/ProceduralContentAdaptationFixtures.js.map +0 -1
@@ -1,4 +1,5 @@
1
1
  import { validatePlatformerMotion } from "./PlatformerMotion.js";
2
+ import { createGameArcadeVehicle, createGameKinematicBody } from "./GameRuntime.js";
2
3
  const DEFAULT_LOCOMOTION_CLIP_MAP = {
3
4
  idle: "idle",
4
5
  run: "run",
@@ -176,7 +177,30 @@ export function createGamePlatformerKit(level = {}) {
176
177
  const playerHeight = config.playerSize[1];
177
178
  const surfaceQuery = createGamePlatformerSurfaceQuery(level);
178
179
  let state = createPlatformerState(config);
180
+ const createBody = () => createGameKinematicBody({
181
+ id: `${config.id}-player`,
182
+ position: [state.player.x, state.player.y, 0],
183
+ velocity: [state.player.vx, state.player.vy, 0],
184
+ size: [playerWidth, playerHeight, 0.25],
185
+ gravity: config.gravity,
186
+ groundY: -1_000_000,
187
+ friction: 0,
188
+ maxSpeed: Math.max(config.moveSpeed, config.dashSpeed),
189
+ jumpVelocity: config.jumpVelocity,
190
+ coyoteMs: config.coyoteMs,
191
+ jumpBufferMs: config.jumpBufferMs
192
+ });
193
+ let body = createBody();
179
194
  let events = [];
195
+ const syncPlayerFromBody = () => {
196
+ const next = body.snapshot();
197
+ state.player.x = next.position[0];
198
+ state.player.y = next.position[1];
199
+ state.player.vx = next.velocity[0];
200
+ state.player.vy = next.velocity[1];
201
+ state.player.facing = next.facing;
202
+ state.player.grounded = next.grounded;
203
+ };
180
204
  const snapshot = () => ({
181
205
  kind: "aura-game-platformer-kit",
182
206
  levelId: config.id,
@@ -215,15 +239,17 @@ export function createGamePlatformerKit(level = {}) {
215
239
  vy: 0,
216
240
  facing: state.player.facing,
217
241
  grounded: false,
218
- coyote: 0,
219
- jumpBuffer: 0,
220
242
  dashCooldown: 0,
221
243
  ridingPlatformId: undefined
222
244
  };
245
+ body = createBody();
223
246
  // Ignore held directional input briefly after a death so a key that caused
224
247
  // the miss cannot immediately carry the fresh spawn off its supporting
225
248
  // surface before the player or an automated driver can react.
226
- state.respawnControlLock = 0.3;
249
+ // A released direction unlocks immediately; the bounded fallback keeps
250
+ // continuous-input AI/autoplay controllers from remaining locked forever.
251
+ state.respawnControlLock = 0.75;
252
+ state.respawnAwaitingNeutralInput = true;
227
253
  emit("respawn", state.checkpointId);
228
254
  };
229
255
  return {
@@ -237,6 +263,7 @@ export function createGamePlatformerKit(level = {}) {
237
263
  if (input.reset === true) {
238
264
  events = [];
239
265
  state = createPlatformerState(config);
266
+ body = createBody();
240
267
  emit("reset");
241
268
  return snapshot();
242
269
  }
@@ -255,44 +282,46 @@ export function createGamePlatformerKit(level = {}) {
255
282
  ? previousMoving.find((platform) => platform.id === state.player.ridingPlatformId)
256
283
  : undefined;
257
284
  if (carried && carriedPrevious && state.player.grounded) {
258
- state.player.x += carried.x - carriedPrevious.x;
259
- state.player.y += platformTop(carried) - platformTop(carriedPrevious);
285
+ body.position = [
286
+ body.position[0] + carried.x - carriedPrevious.x,
287
+ body.position[1] + platformTop(carried) - platformTop(carriedPrevious),
288
+ body.position[2]
289
+ ];
290
+ syncPlayerFromBody();
260
291
  }
261
292
  state.respawnControlLock = Math.max(0, state.respawnControlLock - step);
262
- const controlsLocked = state.respawnControlLock > 0;
263
- const moveX = controlsLocked ? 0 : clampNumber(input.moveX ?? 0, -1, 1);
264
- if (Math.abs(moveX) > 0.01)
265
- state.player.facing = moveX >= 0 ? 1 : -1;
266
- state.player.vx = moveX * config.moveSpeed;
267
- state.player.coyote = state.player.grounded ? config.coyoteMs / 1000 : Math.max(0, state.player.coyote - step);
268
- state.player.jumpBuffer = input.jumpPressed ? config.jumpBufferMs / 1000 : Math.max(0, state.player.jumpBuffer - step);
293
+ const requestedMoveX = clampNumber(input.moveX ?? 0, -1, 1);
294
+ if (state.respawnAwaitingNeutralInput && Math.abs(requestedMoveX) <= 0.01) {
295
+ state.respawnAwaitingNeutralInput = false;
296
+ }
297
+ if (state.respawnControlLock <= 0)
298
+ state.respawnAwaitingNeutralInput = false;
299
+ const controlsLocked = state.respawnAwaitingNeutralInput;
300
+ const moveX = controlsLocked ? 0 : requestedMoveX;
301
+ body.move(moveX, config.moveSpeed);
302
+ if (input.jumpPressed)
303
+ body.requestJump();
269
304
  state.player.dashCooldown = Math.max(0, state.player.dashCooldown - step);
270
305
  if (!controlsLocked && input.dashPressed && state.player.dashCooldown <= 0) {
271
- state.player.vx = state.player.facing * config.dashSpeed;
306
+ body.dash([body.facing, 0, 0], config.dashSpeed);
272
307
  state.player.dashCooldown = 0.38;
273
308
  emit("dash");
274
309
  }
275
- if (state.player.jumpBuffer > 0 && (state.player.grounded || state.player.coyote > 0)) {
276
- state.player.vy = config.jumpVelocity;
277
- state.player.grounded = false;
310
+ if (body.consumeJump(config.jumpVelocity)) {
278
311
  state.player.ridingPlatformId = undefined;
279
- state.player.coyote = 0;
280
- state.player.jumpBuffer = 0;
281
312
  emit("jump");
282
313
  }
283
- const gravity = input.fastFall && state.player.vy < 0 ? config.gravity * 1.6 : config.gravity;
284
- state.player.vy += gravity * step;
285
- state.player.x += state.player.vx * step;
286
- state.player.y += state.player.vy * step;
287
- state.player.grounded = false;
314
+ if (input.fastFall && body.velocity[1] < 0) {
315
+ body.velocity = [body.velocity[0], body.velocity[1] + config.gravity * 0.6 * step, body.velocity[2]];
316
+ }
317
+ body.update(step);
318
+ syncPlayerFromBody();
288
319
  state.player.ridingPlatformId = undefined;
289
320
  const platforms = [...config.platforms, ...moving];
290
321
  const groundContact = surfaceQuery.groundContact({ player: state.player, previousPlayer, additionalSurfaces: moving });
291
322
  if (groundContact.grounded && groundContact.surfaceId && groundContact.surfaceTop !== undefined) {
292
- state.player.y = groundContact.surfaceTop;
293
- state.player.vy = 0;
294
- state.player.grounded = true;
295
- state.player.coyote = config.coyoteMs / 1000;
323
+ body.snapToGround(groundContact.surfaceTop);
324
+ syncPlayerFromBody();
296
325
  state.player.ridingPlatformId = moving.some((candidate) => candidate.id === groundContact.surfaceId) ? groundContact.surfaceId : undefined;
297
326
  if (!previousPlayer.grounded)
298
327
  emit("land", groundContact.surfaceId);
@@ -333,6 +362,7 @@ export function createGamePlatformerKit(level = {}) {
333
362
  reset(checkpointId) {
334
363
  events = [];
335
364
  state = createPlatformerState(config, checkpointId);
365
+ body = createBody();
336
366
  return snapshot();
337
367
  },
338
368
  snapshot,
@@ -408,11 +438,22 @@ export function createGameAssetBoundPlatformerLevel(options) {
408
438
  * Public asset-bound levels are therefore validated here. `motionTuning: "reported"`
409
439
  * keeps the report without throwing, for a route that is deliberately mid-migration.
410
440
  */
441
+ /*
442
+ * The character's height comes from the level itself, so a route does not have to
443
+ * restate it for the check to be character-aware. Without this the floaty ceiling is
444
+ * measured against the tallest step alone, and a mesh-extracted course whose steps are
445
+ * shorter than the character (Skyline: 0.36 steps, 0.52 hero) rejects every jump that
446
+ * is actually visible next to the player.
447
+ */
448
+ const characterHeight = (level.playerSize ?? DEFAULT_PLATFORMER_LEVEL.playerSize)?.[1];
411
449
  const motionReport = validatePlatformerMotion(platforms, {
412
450
  gravity: level.gravity ?? DEFAULT_PLATFORMER_LEVEL.gravity,
413
451
  jumpVelocity: level.jumpVelocity ?? DEFAULT_PLATFORMER_LEVEL.jumpVelocity,
414
452
  moveSpeed
415
- }, options.motionLimits ?? {});
453
+ }, {
454
+ ...(characterHeight === undefined ? {} : { characterHeight }),
455
+ ...(options.motionLimits ?? {})
456
+ });
416
457
  if (!motionReport.passes && (options.motionTuning ?? "enforced") === "enforced") {
417
458
  const failures = motionReport.checks.filter((check) => !check.passes);
418
459
  throw new Error(`game.assetBoundPlatformerLevel motion tuning is inconsistent with the level geometry: ${failures.map((check) => `${check.id} (${check.detail})`).join("; ")}. Suggested fix: derive gravity, jumpVelocity and moveSpeed with solvePlatformerMotion(level.platforms, { targetSessionSeconds }).`);
@@ -488,20 +529,43 @@ export function createGameRacingSurfaceQuery(route) {
488
529
  const roadHalfWidth = (isAssetBoundRacingRoute(route)
489
530
  ? Math.max(0.002, route.width ?? 1.2)
490
531
  : Math.max(0.25, route.width ?? 1.2)) * 0.5;
532
+ const closed = route.closed !== false;
533
+ function sampleAt(progress) {
534
+ const normalized = normalizeProgress(progress);
535
+ const distance = normalized * length;
536
+ let index = segments.findIndex((candidate) => distance >= candidate.start && distance <= candidate.start + candidate.length);
537
+ if (index < 0)
538
+ index = segments.length - 1;
539
+ const segment = segments[index];
540
+ const t = clampNumber((distance - segment.start) / segment.length, 0, 1);
541
+ return {
542
+ x: segment.from.x + (segment.to.x - segment.from.x) * t,
543
+ y: segment.from.y + (segment.to.y - segment.from.y) * t,
544
+ progress: normalized,
545
+ heading: segment.heading,
546
+ curvature: arcCurvature(segments, length, distance, closed)
547
+ };
548
+ }
491
549
  return {
492
550
  kind: "aura-game-racing-surface-query",
493
551
  certified: isAssetBoundRacingRoute(route),
552
+ length,
553
+ roadHalfWidth,
494
554
  query(position) {
495
555
  const nearest = nearestRacePoint(segments, length, position);
556
+ const line = sampleAt(nearest.progress);
496
557
  return {
497
558
  onTrack: nearest.offset <= roadHalfWidth,
498
559
  progress: nearest.progress,
499
560
  distance: nearest.distance,
500
561
  trackOffset: nearest.offset,
501
562
  signedTrackOffset: nearest.signedOffset,
502
- roadHalfWidth
563
+ roadHalfWidth,
564
+ tangentHeading: line.heading,
565
+ curvature: line.curvature
503
566
  };
504
- }
567
+ },
568
+ sampleAt
505
569
  };
506
570
  }
507
571
  export function createGameRacingKit(options) {
@@ -524,12 +588,30 @@ export function createGameRacingKit(options) {
524
588
  const steerRate = options.steerRate ?? 2.7;
525
589
  const boostAcceleration = options.boostAcceleration ?? 9;
526
590
  const offTrackDrag = options.offTrackDrag ?? 5.5;
591
+ const boundaryInset = Math.max(0, options.boundaryInset ?? 0);
592
+ const recoveryHeadingLimit = options.recoveryHeadingLimit === undefined
593
+ ? undefined
594
+ // Narrow asset-bound circuits may need a much tighter recovery corridor than
595
+ // 0.1 rad (~5.7°): a long open-wheel chassis can put its outside-front contact
596
+ // beyond the mesh while its centre is already recovered. Preserve the caller's
597
+ // physical footprint decision down to a one-hundredth radian.
598
+ : clampNumber(options.recoveryHeadingLimit, 0.01, Math.PI);
527
599
  const checkpointRadius = options.checkpointRadius ?? 0.07;
528
600
  const lapsToWin = Math.max(1, options.lapsToWin ?? 1);
601
+ const motion = createGameArcadeVehicle({
602
+ maxSpeed,
603
+ acceleration,
604
+ brakeStrength,
605
+ reverseSpeed,
606
+ drag,
607
+ steerRate,
608
+ boostAcceleration
609
+ });
529
610
  let events = [];
530
611
  let state = createRaceState(options.startProgress ?? 0);
531
612
  function createRaceState(progress) {
532
613
  const sample = sampleRaceRoute(segments, length, progress);
614
+ const vehicle = motion.reset({ x: sample.x, z: sample.y, heading: sample.heading });
533
615
  return {
534
616
  frame: 0,
535
617
  time: 0,
@@ -537,15 +619,15 @@ export function createGameRacingKit(options) {
537
619
  checkpoint: 0,
538
620
  lapTime: 0,
539
621
  bestTime: undefined,
540
- speed: 0,
541
- drift: 0,
622
+ speed: vehicle.speed,
623
+ drift: vehicle.drift,
542
624
  offTrack: false,
543
625
  progress: normalizeProgress(progress),
544
626
  distance: normalizeProgress(progress) * length,
545
627
  trackOffset: 0,
546
628
  signedTrackOffset: 0,
547
- position: { x: sample.x, y: sample.y },
548
- heading: sample.heading,
629
+ position: { x: vehicle.x, y: vehicle.z },
630
+ heading: vehicle.heading,
549
631
  status: "running"
550
632
  };
551
633
  }
@@ -563,14 +645,44 @@ export function createGameRacingKit(options) {
563
645
  const placeAtProgress = (progress, offset = 0) => {
564
646
  const sample = sampleRaceRoute(segments, length, progress);
565
647
  const normal = { x: -Math.sin(sample.heading), y: Math.cos(sample.heading) };
648
+ const vehicle = motion.reset({
649
+ x: sample.x + normal.x * offset,
650
+ z: sample.y + normal.y * offset,
651
+ heading: sample.heading,
652
+ speed: state.speed,
653
+ drift: state.drift
654
+ });
566
655
  state = {
567
656
  ...state,
568
657
  progress: normalizeProgress(progress),
569
658
  distance: normalizeProgress(progress) * length,
570
659
  trackOffset: Math.abs(offset),
571
660
  signedTrackOffset: offset,
572
- position: { x: sample.x + normal.x * offset, y: sample.y + normal.y * offset },
573
- heading: sample.heading
661
+ position: { x: vehicle.x, y: vehicle.z },
662
+ heading: vehicle.heading
663
+ };
664
+ return snapshot();
665
+ };
666
+ const resolveContact = (position, correction = {}) => {
667
+ const contact = surfaceQuery.query(position);
668
+ const vehicle = motion.constrain({
669
+ x: position.x,
670
+ z: position.y,
671
+ heading: correction.heading,
672
+ speedMultiplier: correction.speedMultiplier,
673
+ driftMultiplier: correction.driftMultiplier
674
+ });
675
+ state = {
676
+ ...state,
677
+ speed: vehicle.speed,
678
+ drift: vehicle.drift,
679
+ heading: vehicle.heading,
680
+ position: { x: vehicle.x, y: vehicle.z },
681
+ progress: contact.progress,
682
+ distance: contact.distance,
683
+ trackOffset: contact.trackOffset,
684
+ signedTrackOffset: contact.signedTrackOffset,
685
+ offTrack: !contact.onTrack
574
686
  };
575
687
  return snapshot();
576
688
  };
@@ -592,47 +704,75 @@ export function createGameRacingKit(options) {
592
704
  state = { ...state, frame: state.frame + 1, time: state.time + step, lapTime: state.lapTime + step };
593
705
  const throttle = typeof input.throttle === "boolean" ? (input.throttle ? 1 : 0) : clampNumber(input.throttle ?? 0, 0, 1);
594
706
  const brake = typeof input.brake === "boolean" ? (input.brake ? 1 : 0) : clampNumber(input.brake ?? 0, 0, 1);
595
- let speed = state.speed + throttle * acceleration * step - brake * brakeStrength * step;
596
- if (input.boost && state.drift > 0.18)
597
- speed += boostAcceleration * step;
598
- speed -= Math.sign(speed) * Math.min(Math.abs(speed), drag * step);
599
- speed = clampNumber(speed, -reverseSpeed, maxSpeed);
600
707
  const steer = clampNumber(input.steer ?? 0, -1, 1);
601
- const drift = clampNumber(state.drift + ((input.drift && Math.abs(steer) > 0.1 && speed > 2) ? step * 1.8 : -step * 1.2), 0, 1);
602
- const heading = state.heading + steer * steerRate * (0.28 + Math.min(1, Math.abs(speed) / maxSpeed)) * (1 + drift * 0.55) * step * (speed < 0 ? -1 : 1);
708
+ let vehicle = motion.step(step, {
709
+ throttle,
710
+ brake,
711
+ steer,
712
+ drifting: input.drift,
713
+ boost: input.boost
714
+ });
603
715
  let position = {
604
- x: state.position.x + Math.cos(heading) * speed * step,
605
- y: state.position.y + Math.sin(heading) * speed * step
716
+ x: vehicle.x,
717
+ y: vehicle.z
606
718
  };
607
719
  let contact = surfaceQuery.query(position);
608
- const offTrack = !contact.onTrack;
720
+ const vehicleCenterHalfWidth = boundaryInset > 0
721
+ ? Math.max(0.001, contact.roadHalfWidth - Math.min(boundaryInset, contact.roadHalfWidth * 0.95))
722
+ : contact.roadHalfWidth * 0.98;
723
+ // A certified recovery clamps the centre exactly onto the admissible boundary.
724
+ // Floating-point projection can return that same point a few ulps outside on the
725
+ // next frame, which previously left `offTrack` latched forever after one touch.
726
+ // Keep the tolerance proportional to the sampled road width so it is scale-safe
727
+ // while remaining far smaller than a visible tyre/contact-patch displacement.
728
+ const boundaryTolerance = Math.max(1e-6, contact.roadHalfWidth * 0.002);
729
+ const offTrack = !contact.onTrack || contact.trackOffset > vehicleCenterHalfWidth + boundaryTolerance;
609
730
  if (offTrack) {
610
- speed *= Math.max(0, 1 - offTrackDrag * step);
611
731
  if (!state.offTrack)
612
732
  emit("off-track");
613
733
  if (surfaceQuery.certified) {
614
734
  const center = sampleRaceRoute(segments, length, contact.progress);
615
735
  const dx = position.x - center.x;
616
736
  const dy = position.y - center.y;
617
- const scale = contact.trackOffset > 0 ? (contact.roadHalfWidth * 0.98) / contact.trackOffset : 0;
737
+ // Recover slightly inside the admissible centre corridor, not exactly on its
738
+ // mathematical edge. A boundary-only clamp lets an inertial vehicle re-trigger
739
+ // recovery every frame and never reaches a visibly settled "on road" state.
740
+ const recoveryHalfWidth = vehicleCenterHalfWidth * 0.92;
741
+ const scale = contact.trackOffset > 0 ? recoveryHalfWidth / contact.trackOffset : 0;
618
742
  position = { x: center.x + dx * scale, y: center.y + dy * scale };
619
743
  contact = surfaceQuery.query(position);
620
744
  }
745
+ const headingError = normalizeRacingAngle(vehicle.heading - contact.tangentHeading);
746
+ const recoveryHeading = recoveryHeadingLimit === undefined
747
+ ? undefined
748
+ : contact.tangentHeading + clampNumber(headingError, -recoveryHeadingLimit, recoveryHeadingLimit);
749
+ vehicle = motion.constrain({
750
+ x: position.x,
751
+ z: position.y,
752
+ heading: recoveryHeading,
753
+ speedMultiplier: Math.max(0, 1 - offTrackDrag * step),
754
+ driftMultiplier: recoveryHeadingLimit === undefined ? 1 : Math.max(0, 1 - step * 2.5)
755
+ });
621
756
  }
622
757
  state = {
623
758
  ...state,
624
- speed,
625
- drift,
626
- heading,
627
- position,
759
+ speed: vehicle.speed,
760
+ drift: vehicle.drift,
761
+ heading: vehicle.heading,
762
+ position: { x: vehicle.x, y: vehicle.z },
628
763
  progress: contact.progress,
629
764
  distance: contact.distance,
630
765
  trackOffset: contact.trackOffset,
631
766
  signedTrackOffset: contact.signedTrackOffset,
632
767
  offTrack
633
768
  };
634
- const target = checkpoints[state.checkpoint] ?? 1;
635
- if (progressDistance(state.progress, target) <= checkpointRadius && !offTrack) {
769
+ // Once every ordered checkpoint in the lap is credited there is no next
770
+ // checkpoint. Falling back to progress `1` made every frame near the finish
771
+ // line increment the counter again when a noisy nearest-segment projection
772
+ // delayed the lap-wrap transition (Turbo visibly reached "Gate 62" in one
773
+ // stint despite having six gates).
774
+ const target = checkpoints[state.checkpoint];
775
+ if (target !== undefined && progressDistance(state.progress, target) <= checkpointRadius && !offTrack) {
636
776
  emit("checkpoint", `checkpoint-${state.checkpoint + 1}`);
637
777
  state = { ...state, checkpoint: state.checkpoint + 1 };
638
778
  }
@@ -652,6 +792,7 @@ export function createGameRacingKit(options) {
652
792
  }
653
793
  return snapshot();
654
794
  },
795
+ resolveContact,
655
796
  reset(progress = options.startProgress ?? 0) {
656
797
  events = [];
657
798
  state = createRaceState(progress);
@@ -677,6 +818,14 @@ export function createGameRacingKit(options) {
677
818
  }
678
819
  };
679
820
  }
821
+ function normalizeRacingAngle(angle) {
822
+ let normalized = angle;
823
+ while (normalized > Math.PI)
824
+ normalized -= Math.PI * 2;
825
+ while (normalized < -Math.PI)
826
+ normalized += Math.PI * 2;
827
+ return normalized;
828
+ }
680
829
  const FALLING_BLOCK_SHAPES = {
681
830
  I: [
682
831
  [{ x: 0, y: 1 }, { x: 1, y: 1 }, { x: 2, y: 1 }, { x: 3, y: 1 }],
@@ -999,14 +1148,13 @@ function createPlatformerState(config, checkpointId = "start") {
999
1148
  vy: 0,
1000
1149
  facing: 1,
1001
1150
  grounded: false,
1002
- coyote: 0,
1003
- jumpBuffer: 0,
1004
1151
  dashCooldown: 0
1005
1152
  },
1006
1153
  score: 0,
1007
1154
  lives: config.lives,
1008
1155
  deaths: 0,
1009
1156
  respawnControlLock: 0,
1157
+ respawnAwaitingNeutralInput: false,
1010
1158
  checkpointId,
1011
1159
  collected: new Set(),
1012
1160
  activatedCheckpoints: checkpointId === "start" ? new Set() : new Set([checkpointId])
@@ -1067,6 +1215,100 @@ function platformerPlayerRect(player, width, height) {
1067
1215
  function rectsOverlap(a, b) {
1068
1216
  return a.x < b.x + b.width && a.x + a.width > b.x && a.y < b.y + b.height && a.y + a.height > b.y;
1069
1217
  }
1218
+ /**
1219
+ * Shortest signed angle from `from` to `to`, radians, in (-pi, pi].
1220
+ *
1221
+ * Steering toward a heading requires the *shortest* way round. Subtracting raw headings makes a car
1222
+ * whose target is just across the +/-pi wrap take the long way and spin.
1223
+ */
1224
+ function signedAngleDelta(from, to) {
1225
+ let delta = (to - from) % (Math.PI * 2);
1226
+ if (delta > Math.PI)
1227
+ delta -= Math.PI * 2;
1228
+ if (delta <= -Math.PI)
1229
+ delta += Math.PI * 2;
1230
+ return delta;
1231
+ }
1232
+ /**
1233
+ * Signed curvature of the racing line, as 1/radius in route units, measured over an arc window.
1234
+ *
1235
+ * A polyline has no curvature within a segment and an undefined spike at each vertex. Attributing
1236
+ * the whole heading change at a vertex to that vertex — the obvious approach, and the one this
1237
+ * previously used — makes curvature a function of where the author happened to place vertices
1238
+ * rather than of the shape of the road. On a 33-point circuit that produced an impulse train:
1239
+ * curvature read 0 along a segment then spiked, so the radius reported for one continuous corner
1240
+ * swung 0.69 -> 3.01 -> 6.03 -> 16.17 -> 7.24 within 60 frames. Adjacent samples 0.094 units apart
1241
+ * differed by 2.068 in curvature — larger than the p99 curvature of the whole track, so the signal
1242
+ * was mostly discretisation artefact.
1243
+ *
1244
+ * Both consumers of curvature are harmed by that, and neither can defend itself:
1245
+ *
1246
+ * - A speed profile solves corner entry speed as `sqrt(lateralLimit * radius)`. Fed a spike, it
1247
+ * demands a near-stop at an arbitrary vertex and full speed one sample later.
1248
+ * - A steering feedforward sets `atan(wheelbase * curvature)`. Fed a spike, it commands full lock
1249
+ * for a few frames and zero for the rest, so the car saws through corners and runs wide — the
1250
+ * "car will not turn / slides off on turns" symptom, from the geometry layer rather than the tyre
1251
+ * model that usually gets blamed for it.
1252
+ *
1253
+ * The fix is to measure curvature the way it is defined — over an arc, not at a point. Three points
1254
+ * spaced `window` along the line give the Menger curvature, which is the signed reciprocal radius
1255
+ * of the circle through them. The window is `CURVATURE_WINDOW_SEGMENTS` times the mean segment
1256
+ * length, so it adapts to how finely the route is authored instead of assuming a vertex density.
1257
+ *
1258
+ * Widening the window trades resolution for smoothness, and the trade has a floor and a ceiling:
1259
+ * too narrow and the artefact survives, too wide and a real hairpin is averaged away into a corner
1260
+ * the car takes far too fast. On the certified circuit, 2x cuts the adjacent-sample jump 21x
1261
+ * (2.068 -> 0.098) while *preserving* corner magnitude (p90 |k| 0.736 -> 0.808); 3x smooths further
1262
+ * but understates the tightest corner by 19% (max |k| 0.808 -> 0.565, i.e. minimum radius 1.00 ->
1263
+ * 1.51), which would have the profile carry ~23% too much speed into the hairpin. Hence 2x.
1264
+ */
1265
+ const CURVATURE_WINDOW_SEGMENTS = 2;
1266
+ function positionAtDistance(segments, totalLength, distance, closed) {
1267
+ const along = closed
1268
+ ? ((distance % totalLength) + totalLength) % totalLength
1269
+ : clampNumber(distance, 0, totalLength);
1270
+ let index = segments.findIndex((candidate) => along >= candidate.start && along <= candidate.start + candidate.length);
1271
+ if (index < 0)
1272
+ index = segments.length - 1;
1273
+ const segment = segments[index];
1274
+ const t = clampNumber((along - segment.start) / segment.length, 0, 1);
1275
+ return {
1276
+ x: segment.from.x + (segment.to.x - segment.from.x) * t,
1277
+ y: segment.from.y + (segment.to.y - segment.from.y) * t
1278
+ };
1279
+ }
1280
+ function arcCurvature(segments, totalLength, distance, closed) {
1281
+ if (segments.length < 2 || totalLength <= 1e-9)
1282
+ return 0;
1283
+ const meanSegment = totalLength / segments.length;
1284
+ /*
1285
+ * On an open path the window has to shrink near the ends rather than clamp: clamping would
1286
+ * collapse two of the three samples onto the same point and report 0 curvature exactly where a
1287
+ * track often turns most.
1288
+ */
1289
+ const room = closed ? totalLength / 3 : Math.min(distance, totalLength - distance);
1290
+ const window = Math.min(meanSegment * CURVATURE_WINDOW_SEGMENTS, Math.max(1e-6, room));
1291
+ if (window <= 1e-6)
1292
+ return 0;
1293
+ const a = positionAtDistance(segments, totalLength, distance - window, closed);
1294
+ const b = positionAtDistance(segments, totalLength, distance, closed);
1295
+ const c = positionAtDistance(segments, totalLength, distance + window, closed);
1296
+ const abx = b.x - a.x;
1297
+ const aby = b.y - a.y;
1298
+ const bcx = c.x - b.x;
1299
+ const bcy = c.y - b.y;
1300
+ const acx = c.x - a.x;
1301
+ const acy = c.y - a.y;
1302
+ /*
1303
+ * Menger curvature: 4 * area / (|ab| |bc| |ca|), signed by the cross product so a left-hand
1304
+ * corner is positive. The cross product is twice the triangle area, hence the factor 2 here.
1305
+ */
1306
+ const cross = abx * bcy - aby * bcx;
1307
+ const denominator = Math.hypot(abx, aby) * Math.hypot(bcx, bcy) * Math.hypot(acx, acy);
1308
+ if (denominator <= 1e-12)
1309
+ return 0;
1310
+ return (2 * cross) / denominator;
1311
+ }
1070
1312
  function createRaceSegments(route) {
1071
1313
  const points = [...route.points];
1072
1314
  if (points.length < 2)