@woosh/meep-engine 2.106.0 → 2.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (652) hide show
  1. package/build/meep.cjs +2310 -2529
  2. package/build/meep.min.js +1 -1
  3. package/build/meep.module.js +2310 -2529
  4. package/editor/Editor.js +55 -60
  5. package/editor/SelectionVisualizer.js +111 -109
  6. package/editor/actions/concrete/ComponentAddAction.js +0 -3
  7. package/editor/actions/concrete/ComponentRemoveAction.js +0 -4
  8. package/editor/actions/concrete/EntityCreateAction.js +0 -3
  9. package/editor/actions/concrete/EntityRemoveAction.js +0 -4
  10. package/editor/actions/concrete/SelectionAddAction.js +0 -3
  11. package/editor/actions/concrete/SelectionClearAction.js +0 -3
  12. package/editor/actions/concrete/SelectionRemoveAction.js +0 -3
  13. package/editor/ecs/EditorEntity.js +8 -6
  14. package/editor/tools/SelectionTool.js +0 -5
  15. package/editor/tools/TopDownCameraControlTool.js +2 -5
  16. package/editor/tools/TransformTool.js +137 -136
  17. package/editor/tools/engine/Tool.js +1 -6
  18. package/editor/tools/engine/ToolEngine.js +145 -148
  19. package/editor/tools/v2/TransformControls.js +25 -24
  20. package/editor/view/EditorView.js +0 -5
  21. package/editor/view/ecs/ComponentControlFactory.js +37 -40
  22. package/editor/view/ecs/EntityEditor.js +0 -3
  23. package/editor/view/ecs/EntityList.js +6 -11
  24. package/editor/view/ecs/components/MeshController.js +4 -7
  25. package/editor/view/ecs/components/TransformController.js +3 -9
  26. package/editor/view/tools/ToolView.js +2 -8
  27. package/package.json +1 -1
  28. package/src/core/IdPool.d.ts.map +1 -1
  29. package/src/core/IdPool.js +0 -5
  30. package/src/core/UUID.d.ts.map +1 -1
  31. package/src/core/UUID.js +0 -4
  32. package/src/core/binary/BitSet.d.ts +17 -14
  33. package/src/core/binary/BitSet.d.ts.map +1 -1
  34. package/src/core/binary/BitSet.js +411 -412
  35. package/src/core/binary/type/Field.d.ts +0 -8
  36. package/src/core/binary/type/Field.d.ts.map +1 -1
  37. package/src/core/binary/type/Field.js +16 -19
  38. package/src/core/binary/type/MultiplicityType.js +0 -4
  39. package/src/core/binary/type/PrimitiveTypes.d.ts.map +1 -1
  40. package/src/core/binary/type/PrimitiveTypes.js +0 -4
  41. package/src/core/binary/type/Type.d.ts +0 -6
  42. package/src/core/binary/type/Type.d.ts.map +1 -1
  43. package/src/core/binary/type/Type.js +63 -64
  44. package/src/core/binary/type/TypeBuilder.d.ts +0 -1
  45. package/src/core/binary/type/TypeBuilder.d.ts.map +1 -1
  46. package/src/core/binary/type/TypeBuilder.js +15 -18
  47. package/src/core/binary/type/TypeRegistry.d.ts +6 -4
  48. package/src/core/binary/type/TypeRegistry.d.ts.map +1 -1
  49. package/src/core/binary/type/TypeRegistry.js +38 -42
  50. package/src/core/bvh2/visual/BVHGeometry.d.ts.map +1 -1
  51. package/src/core/bvh2/visual/BVHGeometry.js +0 -3
  52. package/src/core/codegen/LineBuilder.d.ts.map +1 -1
  53. package/src/core/codegen/LineBuilder.js +0 -5
  54. package/src/core/collection/array/array_copy.spec.d.ts +2 -0
  55. package/src/core/collection/array/array_copy.spec.d.ts.map +1 -0
  56. package/src/core/collection/array/array_copy.spec.js +19 -0
  57. package/src/core/collection/list/List.d.ts.map +1 -1
  58. package/src/core/collection/list/List.js +55 -30
  59. package/src/core/collection/list/List.spec.js +101 -0
  60. package/src/core/collection/list/ListForwarder.d.ts.map +1 -1
  61. package/src/core/collection/list/ListForwarder.js +49 -53
  62. package/src/core/collection/list/ListForwarder.spec.js +2 -0
  63. package/src/core/collection/list/SortedListProjection.d.ts +4 -1
  64. package/src/core/collection/list/SortedListProjection.d.ts.map +1 -1
  65. package/src/core/collection/list/SortedListProjection.js +4 -1
  66. package/src/core/collection/map/AbstractAsyncMap.d.ts.map +1 -1
  67. package/src/core/collection/map/AbstractAsyncMap.js +0 -3
  68. package/src/core/collection/map/AsyncMapWrapper.d.ts +6 -10
  69. package/src/core/collection/map/AsyncMapWrapper.d.ts.map +1 -1
  70. package/src/core/collection/map/AsyncMapWrapper.js +14 -9
  71. package/src/core/collection/map/HashMap.d.ts.map +1 -1
  72. package/src/core/collection/map/HashMap.js +14 -0
  73. package/src/core/collection/map/ObservedMap.d.ts +12 -3
  74. package/src/core/collection/map/ObservedMap.d.ts.map +1 -1
  75. package/src/core/collection/map/ObservedMap.js +14 -4
  76. package/src/core/collection/queue/Deque.d.ts.map +1 -1
  77. package/src/core/collection/queue/Deque.js +100 -95
  78. package/src/core/collection/set/ArraySet.d.ts.map +1 -0
  79. package/src/core/collection/set/{Set.js → ArraySet.js} +3 -7
  80. package/src/core/collection/set/set_remove.d.ts +3 -3
  81. package/src/core/collection/set/set_remove.d.ts.map +1 -1
  82. package/src/core/collection/set/set_remove.js +5 -5
  83. package/src/core/collection/table/RowFirstTable.d.ts.map +1 -1
  84. package/src/core/collection/table/RowFirstTable.js +0 -5
  85. package/src/core/color/oklab/find_gamut_intersection.js +1 -1
  86. package/src/core/color/parse_color.d.ts.map +1 -1
  87. package/src/core/color/parse_color.js +1 -5
  88. package/src/core/geom/2d/Rectangle.d.ts +54 -5
  89. package/src/core/geom/2d/Rectangle.d.ts.map +1 -1
  90. package/src/core/geom/2d/Rectangle.js +70 -7
  91. package/src/core/geom/2d/aabb/AABB2.d.ts.map +1 -1
  92. package/src/core/geom/2d/aabb/AABB2.js +0 -6
  93. package/src/core/geom/2d/circle/Circle.d.ts +1 -1
  94. package/src/core/geom/2d/circle/Circle.js +1 -1
  95. package/src/core/geom/2d/compute_triangle_area_2d.d.ts.map +1 -1
  96. package/src/core/geom/2d/compute_triangle_area_2d.js +7 -1
  97. package/src/core/geom/2d/shape/AbstractShape.d.ts +2 -0
  98. package/src/core/geom/2d/shape/AbstractShape.d.ts.map +1 -1
  99. package/src/core/geom/2d/shape/AbstractShape.js +8 -2
  100. package/src/core/geom/2d/shape/CircleShape.d.ts +14 -0
  101. package/src/core/geom/2d/shape/CircleShape.d.ts.map +1 -1
  102. package/src/core/geom/2d/shape/CircleShape.js +64 -22
  103. package/src/core/geom/2d/uv_map_circle_to_square.d.ts +8 -0
  104. package/src/core/geom/2d/uv_map_circle_to_square.d.ts.map +1 -0
  105. package/src/core/geom/2d/{UvUtils.js → uv_map_circle_to_square.js} +2 -17
  106. package/src/core/geom/2d/uv_map_circle_to_square.spec.d.ts +2 -0
  107. package/src/core/geom/2d/uv_map_circle_to_square.spec.d.ts.map +1 -0
  108. package/src/core/geom/2d/uv_map_circle_to_square.spec.js +28 -0
  109. package/src/core/geom/2d/uv_map_square_to_circle.d.ts +8 -0
  110. package/src/core/geom/2d/uv_map_square_to_circle.d.ts.map +1 -0
  111. package/src/core/geom/2d/uv_map_square_to_circle.js +14 -0
  112. package/src/core/geom/2d/uv_map_square_to_circle.spec.d.ts +2 -0
  113. package/src/core/geom/2d/uv_map_square_to_circle.spec.d.ts.map +1 -0
  114. package/src/core/geom/2d/uv_map_square_to_circle.spec.js +30 -0
  115. package/src/core/geom/3d/aabb/AABB3.d.ts.map +1 -1
  116. package/src/core/geom/3d/aabb/AABB3.js +0 -5
  117. package/src/core/geom/3d/morton/Morton.d.ts.map +1 -1
  118. package/src/core/geom/3d/morton/Morton.js +0 -3
  119. package/src/core/geom/3d/sphere/harmonics/sh3_dering_optimize_positive.js +11 -11
  120. package/src/core/geom/Quaternion.d.ts.map +1 -1
  121. package/src/core/geom/Quaternion.js +0 -5
  122. package/src/core/geom/Vector3.d.ts +13 -4
  123. package/src/core/geom/Vector3.d.ts.map +1 -1
  124. package/src/core/geom/Vector3.js +83 -36
  125. package/src/core/geom/Vector3.spec.js +113 -12
  126. package/src/core/geom/Vector4.d.ts.map +1 -1
  127. package/src/core/geom/Vector4.js +0 -4
  128. package/src/core/graph/Edge.d.ts.map +1 -1
  129. package/src/core/graph/Edge.js +0 -5
  130. package/src/core/graph/WeightedEdge.d.ts.map +1 -1
  131. package/src/core/json/JsonUtils.d.ts.map +1 -1
  132. package/src/core/json/JsonUtils.js +0 -4
  133. package/src/core/math/random/MersenneTwister.d.ts +1 -2
  134. package/src/core/math/random/MersenneTwister.d.ts.map +1 -1
  135. package/src/core/math/random/MersenneTwister.js +134 -133
  136. package/src/core/model/BooleanVector3.d.ts.map +1 -1
  137. package/src/core/model/BooleanVector3.js +108 -108
  138. package/src/core/model/BoundedValue.d.ts +116 -0
  139. package/src/core/model/BoundedValue.d.ts.map +1 -0
  140. package/src/core/model/BoundedValue.js +214 -217
  141. package/src/core/model/LinearValue.d.ts +84 -0
  142. package/src/core/model/LinearValue.d.ts.map +1 -0
  143. package/src/core/model/LinearValue.js +116 -117
  144. package/src/core/model/ObservedEnum.d.ts.map +1 -1
  145. package/src/core/model/ObservedEnum.js +82 -80
  146. package/src/core/model/ObservedValue.d.ts +10 -17
  147. package/src/core/model/ObservedValue.d.ts.map +1 -1
  148. package/src/core/model/ObservedValue.js +85 -88
  149. package/src/core/model/object/ObjectPoolFactory.d.ts +1 -9
  150. package/src/core/model/object/ObjectPoolFactory.d.ts.map +1 -1
  151. package/src/core/model/object/ObjectPoolFactory.js +73 -73
  152. package/src/core/model/scheme/Schema.d.ts +0 -6
  153. package/src/core/model/scheme/Schema.d.ts.map +1 -1
  154. package/src/core/model/scheme/Schema.js +50 -48
  155. package/src/core/model/scheme/SchemeRegistry.d.ts +6 -1
  156. package/src/core/model/scheme/SchemeRegistry.d.ts.map +1 -1
  157. package/src/core/model/scheme/SchemeRegistry.js +46 -44
  158. package/src/core/process/Future.d.ts +14 -9
  159. package/src/core/process/Future.d.ts.map +1 -1
  160. package/src/core/process/Future.js +96 -98
  161. package/src/core/process/executor/ConcurrentExecutor.d.ts.map +1 -1
  162. package/src/core/process/executor/ConcurrentExecutor.js +0 -3
  163. package/src/core/process/task/Task.d.ts.map +1 -1
  164. package/src/core/process/task/Task.js +0 -5
  165. package/src/core/process/task/TaskGroup.d.ts.map +1 -1
  166. package/src/core/process/task/TaskGroup.js +178 -180
  167. package/src/core/process/task/TaskSignal.d.ts.map +1 -1
  168. package/src/core/process/task/TaskSignal.js +0 -5
  169. package/src/core/process/task/TaskState.d.ts.map +1 -1
  170. package/src/core/process/task/TaskState.js +0 -4
  171. package/src/core/process/worker/WorkerBuilder.d.ts.map +1 -1
  172. package/src/core/process/worker/WorkerBuilder.js +0 -5
  173. package/src/core/process/worker/WorkerProxy.d.ts.map +1 -1
  174. package/src/core/process/worker/WorkerProxy.js +0 -5
  175. package/src/engine/Clock.d.ts.map +1 -1
  176. package/src/engine/Clock.js +0 -5
  177. package/src/engine/Engine.js +4 -4
  178. package/src/engine/EntityCreator.d.ts.map +1 -1
  179. package/src/engine/EntityCreator.js +7 -10
  180. package/src/engine/animation/AnimatedActions.d.ts.map +1 -1
  181. package/src/engine/animation/AnimatedActions.js +0 -5
  182. package/src/engine/animation/Animations.d.ts.map +1 -1
  183. package/src/engine/animation/Animations.js +1 -6
  184. package/src/engine/animation/EntityAnimation.js +1 -4
  185. package/src/engine/animation/Tween.js +1 -4
  186. package/src/engine/animation/keyed2/AnimationTrack.d.ts +0 -6
  187. package/src/engine/animation/keyed2/AnimationTrack.d.ts.map +1 -1
  188. package/src/engine/animation/keyed2/AnimationTrack.js +154 -152
  189. package/src/engine/animation/keyed2/AnimationTrackPlayback.d.ts +0 -10
  190. package/src/engine/animation/keyed2/AnimationTrackPlayback.d.ts.map +1 -1
  191. package/src/engine/animation/keyed2/AnimationTrackPlayback.js +173 -171
  192. package/src/engine/asset/AssetManager.d.ts.map +1 -1
  193. package/src/engine/asset/AssetManager.js +0 -5
  194. package/src/engine/asset/preloader/AssetLevel.js +0 -3
  195. package/src/engine/ecs/EntityManager.d.ts.map +1 -1
  196. package/src/engine/ecs/EntityManager.js +0 -4
  197. package/src/engine/ecs/System.d.ts.map +1 -1
  198. package/src/engine/ecs/System.js +0 -5
  199. package/src/engine/ecs/animation/Animation.d.ts.map +1 -1
  200. package/src/engine/ecs/animation/Animation.js +1 -19
  201. package/src/engine/ecs/components/Motion.d.ts.map +1 -1
  202. package/src/engine/ecs/components/Motion.js +0 -5
  203. package/src/engine/ecs/components/PropertySet.d.ts +8 -1
  204. package/src/engine/ecs/components/PropertySet.d.ts.map +1 -1
  205. package/src/engine/ecs/components/PropertySet.js +87 -83
  206. package/src/engine/ecs/components/Script.d.ts +0 -16
  207. package/src/engine/ecs/components/Script.d.ts.map +1 -1
  208. package/src/engine/ecs/components/Script.js +14 -18
  209. package/src/engine/ecs/components/Tag.d.ts.map +1 -1
  210. package/src/engine/ecs/components/Tag.js +4 -5
  211. package/src/engine/ecs/components/Timer.d.ts +0 -5
  212. package/src/engine/ecs/components/Timer.d.ts.map +1 -1
  213. package/src/engine/ecs/components/Timer.js +0 -5
  214. package/src/engine/ecs/grid/HeightMap2NormalMap.d.ts.map +1 -1
  215. package/src/engine/ecs/grid/HeightMap2NormalMap.js +2 -6
  216. package/src/engine/ecs/grid/HeightSampler2NormalSamplerSoft.d.ts.map +1 -1
  217. package/src/engine/ecs/grid/HeightSampler2NormalSamplerSoft.js +0 -3
  218. package/src/engine/ecs/grid/NormalMap2AOMap.d.ts.map +1 -1
  219. package/src/engine/ecs/grid/NormalMap2AOMap.js +3 -8
  220. package/src/engine/ecs/gui/GUIElement.d.ts.map +1 -1
  221. package/src/engine/ecs/gui/GUIElement.js +0 -3
  222. package/src/engine/ecs/gui/GUIElementSystem.d.ts.map +1 -1
  223. package/src/engine/ecs/gui/GUIElementSystem.js +0 -4
  224. package/src/engine/ecs/gui/hud/HeadsUpDisplay.d.ts.map +1 -1
  225. package/src/engine/ecs/gui/hud/HeadsUpDisplay.js +0 -7
  226. package/src/engine/ecs/gui/hud/HeadsUpDisplaySystem.d.ts.map +1 -1
  227. package/src/engine/ecs/gui/hud/HeadsUpDisplaySystem.js +0 -5
  228. package/src/engine/ecs/gui/menu/radial/RadialContextMenu.d.ts.map +1 -1
  229. package/src/engine/ecs/gui/menu/radial/RadialContextMenu.js +5 -8
  230. package/src/engine/ecs/gui/position/ViewportPosition.d.ts.map +1 -1
  231. package/src/engine/ecs/gui/position/ViewportPosition.js +0 -4
  232. package/src/engine/ecs/gui/position/ViewportPositionSystem.d.ts +1 -2
  233. package/src/engine/ecs/gui/position/ViewportPositionSystem.d.ts.map +1 -1
  234. package/src/engine/ecs/gui/position/ViewportPositionSystem.js +6 -10
  235. package/src/engine/ecs/ik/IKProblem.d.ts +1 -2
  236. package/src/engine/ecs/ik/IKProblem.d.ts.map +1 -1
  237. package/src/engine/ecs/renderable/RenderSystem.d.ts.map +1 -1
  238. package/src/engine/ecs/renderable/RenderSystem.js +0 -3
  239. package/src/engine/ecs/renderable/Renderable.d.ts.map +1 -1
  240. package/src/engine/ecs/renderable/Renderable.js +0 -5
  241. package/src/engine/ecs/systems/AnimationSystem.d.ts.map +1 -1
  242. package/src/engine/ecs/systems/AnimationSystem.js +9 -17
  243. package/src/engine/ecs/systems/MotionSystem.d.ts.map +1 -1
  244. package/src/engine/ecs/systems/MotionSystem.js +1 -6
  245. package/src/engine/ecs/systems/ScriptSystem.d.ts.map +1 -1
  246. package/src/engine/ecs/systems/ScriptSystem.js +1 -6
  247. package/src/engine/ecs/systems/TimerSystem.d.ts.map +1 -1
  248. package/src/engine/ecs/systems/TimerSystem.js +1 -6
  249. package/src/engine/ecs/team/Team.d.ts.map +1 -1
  250. package/src/engine/ecs/team/Team.js +0 -3
  251. package/src/engine/ecs/terrain/BufferedGeometryArraysBuilder.d.ts.map +1 -1
  252. package/src/engine/ecs/terrain/BufferedGeometryArraysBuilder.js +0 -5
  253. package/src/engine/ecs/terrain/TerrainClouds.d.ts.map +1 -1
  254. package/src/engine/ecs/terrain/TerrainClouds.js +0 -5
  255. package/src/engine/ecs/terrain/ecs/Terrain.d.ts.map +1 -1
  256. package/src/engine/ecs/terrain/ecs/Terrain.js +0 -5
  257. package/src/engine/ecs/terrain/ecs/cling/ClingToTerrain.d.ts.map +1 -1
  258. package/src/engine/ecs/terrain/ecs/cling/ClingToTerrain.js +0 -3
  259. package/src/engine/ecs/terrain/ecs/cling/ClingToTerrainSystem.d.ts.map +1 -1
  260. package/src/engine/ecs/terrain/ecs/cling/ClingToTerrainSystem.js +11 -14
  261. package/src/engine/ecs/terrain/overlay/TerrainOverlay.d.ts.map +1 -1
  262. package/src/engine/ecs/terrain/overlay/TerrainOverlay.js +0 -5
  263. package/src/engine/ecs/terrain/tiles/TerrainTile.d.ts.map +1 -1
  264. package/src/engine/ecs/terrain/tiles/TerrainTile.js +0 -5
  265. package/src/engine/ecs/terrain/tiles/TerrainTileManager.d.ts +1 -1
  266. package/src/engine/ecs/terrain/tiles/TerrainTileManager.d.ts.map +1 -1
  267. package/src/engine/ecs/terrain/tiles/TerrainTileManager.js +0 -3
  268. package/src/engine/ecs/terrain/tiles/TileBuildWorker.js +0 -4
  269. package/src/engine/ecs/transform/Transform.d.ts.map +1 -1
  270. package/src/engine/ecs/transform/Transform.js +0 -4
  271. package/src/engine/google/gapi.js +0 -4
  272. package/src/engine/graphics/FrameThrottle.d.ts +0 -4
  273. package/src/engine/graphics/FrameThrottle.d.ts.map +1 -1
  274. package/src/engine/graphics/FrameThrottle.js +0 -5
  275. package/src/engine/graphics/GraphicsEngine.d.ts.map +1 -1
  276. package/src/engine/graphics/GraphicsEngine.js +1 -6
  277. package/src/engine/graphics/composit/LayerCompositer.d.ts.map +1 -1
  278. package/src/engine/graphics/composit/LayerCompositer.js +2 -5
  279. package/src/engine/graphics/ecs/animation/AnimationController.d.ts.map +1 -1
  280. package/src/engine/graphics/ecs/animation/AnimationController.js +0 -5
  281. package/src/engine/graphics/ecs/animation/AnimationControllerSystem.d.ts.map +1 -1
  282. package/src/engine/graphics/ecs/animation/AnimationControllerSystem.js +2 -7
  283. package/src/engine/graphics/ecs/animation/AnimationRule.d.ts +0 -1
  284. package/src/engine/graphics/ecs/animation/AnimationRule.d.ts.map +1 -1
  285. package/src/engine/graphics/ecs/animation/AnimationRule.js +70 -66
  286. package/src/engine/graphics/ecs/camera/Camera.d.ts.map +1 -1
  287. package/src/engine/graphics/ecs/camera/Camera.js +0 -5
  288. package/src/engine/graphics/ecs/camera/CameraSystem.d.ts.map +1 -1
  289. package/src/engine/graphics/ecs/camera/CameraSystem.js +0 -5
  290. package/src/engine/graphics/ecs/camera/FrustumProjector.d.ts.map +1 -1
  291. package/src/engine/graphics/ecs/camera/FrustumProjector.js +0 -5
  292. package/src/engine/graphics/ecs/camera/topdown/TopDownCameraController.d.ts.map +1 -1
  293. package/src/engine/graphics/ecs/camera/topdown/TopDownCameraController.js +4 -9
  294. package/src/engine/graphics/ecs/camera/topdown/TopDownCameraControllerSystem.d.ts.map +1 -1
  295. package/src/engine/graphics/ecs/camera/topdown/TopDownCameraControllerSystem.js +3 -8
  296. package/src/engine/graphics/ecs/highlight/Highlight.d.ts.map +1 -1
  297. package/src/engine/graphics/ecs/highlight/Highlight.js +0 -3
  298. package/src/engine/graphics/ecs/highlight/system/MeshHighlightSystem.d.ts.map +1 -1
  299. package/src/engine/graphics/ecs/highlight/system/MeshHighlightSystem.js +3 -8
  300. package/src/engine/graphics/ecs/light/Light.d.ts.map +1 -1
  301. package/src/engine/graphics/ecs/light/Light.js +2 -6
  302. package/src/engine/graphics/ecs/light/LightSystem.d.ts.map +1 -1
  303. package/src/engine/graphics/ecs/light/LightSystem.js +0 -5
  304. package/src/engine/graphics/ecs/mesh/Mesh.d.ts.map +1 -1
  305. package/src/engine/graphics/ecs/mesh/Mesh.js +0 -3
  306. package/src/engine/graphics/ecs/mesh/MeshSystem.d.ts.map +1 -1
  307. package/src/engine/graphics/ecs/mesh/MeshSystem.js +0 -5
  308. package/src/engine/graphics/ecs/trail2d/Trail2D.d.ts.map +1 -1
  309. package/src/engine/graphics/ecs/trail2d/Trail2D.js +0 -5
  310. package/src/engine/graphics/ecs/trail2d/Trail2DSystem.d.ts.map +1 -1
  311. package/src/engine/graphics/ecs/trail2d/Trail2DSystem.js +0 -5
  312. package/src/engine/graphics/ecs/water/Water.d.ts.map +1 -1
  313. package/src/engine/graphics/ecs/water/Water.js +0 -5
  314. package/src/engine/graphics/ecs/water/WaterSystem.d.ts.map +1 -1
  315. package/src/engine/graphics/ecs/water/WaterSystem.js +0 -3
  316. package/src/engine/graphics/filter/ImageFilter.d.ts.map +1 -1
  317. package/src/engine/graphics/filter/ImageFilter.js +0 -5
  318. package/src/engine/graphics/geometry/BufferGeometryWrap.js +1 -3
  319. package/src/engine/graphics/geometry/buffered/ComputeNormals.d.ts.map +1 -1
  320. package/src/engine/graphics/geometry/buffered/ComputeNormals.js +0 -5
  321. package/src/engine/graphics/geometry/ribbon/Ribbon.d.ts.map +1 -1
  322. package/src/engine/graphics/geometry/ribbon/Ribbon.js +1 -4
  323. package/src/engine/graphics/material/SplatMaterial.d.ts.map +1 -1
  324. package/src/engine/graphics/material/SplatMaterial.js +0 -3
  325. package/src/engine/graphics/material/WaterMaterial.d.ts.map +1 -1
  326. package/src/engine/graphics/material/WaterMaterial.js +0 -3
  327. package/src/engine/graphics/particles/particular/engine/MovingBoundingBox.d.ts +0 -5
  328. package/src/engine/graphics/particles/particular/engine/MovingBoundingBox.d.ts.map +1 -1
  329. package/src/engine/graphics/particles/particular/engine/MovingBoundingBox.js +114 -114
  330. package/src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.d.ts +0 -1
  331. package/src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.d.ts.map +1 -1
  332. package/src/engine/graphics/particles/particular/engine/emitter/ParticleLayer.js +347 -348
  333. package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.d.ts +1 -3
  334. package/src/engine/graphics/particles/particular/engine/emitter/ParticlePool.d.ts.map +1 -1
  335. package/src/engine/graphics/particles/particular/engine/parameter/ParameterSet.d.ts +0 -1
  336. package/src/engine/graphics/particles/particular/engine/parameter/ParameterSet.d.ts.map +1 -1
  337. package/src/engine/graphics/particles/particular/engine/parameter/ParameterSet.js +110 -111
  338. package/src/engine/graphics/particles/particular/engine/parameter/ParameterSheet.d.ts +0 -9
  339. package/src/engine/graphics/particles/particular/engine/parameter/ParameterSheet.d.ts.map +1 -1
  340. package/src/engine/graphics/particles/particular/engine/parameter/ParameterSheet.js +70 -66
  341. package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.d.ts +0 -5
  342. package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.d.ts.map +1 -1
  343. package/src/engine/graphics/particles/particular/engine/parameter/ParameterTrackSet.js +82 -82
  344. package/src/engine/graphics/particles/particular/group/Operation.d.ts +0 -7
  345. package/src/engine/graphics/particles/particular/group/Operation.d.ts.map +1 -1
  346. package/src/engine/graphics/particles/particular/group/Operation.js +16 -14
  347. package/src/engine/graphics/particles/particular/group/ParticleAttribute.d.ts +0 -9
  348. package/src/engine/graphics/particles/particular/group/ParticleAttribute.d.ts.map +1 -1
  349. package/src/engine/graphics/particles/particular/group/ParticleAttribute.js +23 -21
  350. package/src/engine/graphics/particles/particular/group/ParticleGroup.d.ts +2 -10
  351. package/src/engine/graphics/particles/particular/group/ParticleGroup.d.ts.map +1 -1
  352. package/src/engine/graphics/particles/particular/group/ParticleGroup.js +463 -464
  353. package/src/engine/graphics/particles/particular/group/ParticleSpecification.d.ts +0 -2
  354. package/src/engine/graphics/particles/particular/group/ParticleSpecification.d.ts.map +1 -1
  355. package/src/engine/graphics/particles/particular/group/ParticleSpecification.js +39 -33
  356. package/src/engine/graphics/render/buffer/FrameBufferManager.d.ts +6 -1
  357. package/src/engine/graphics/render/buffer/FrameBufferManager.d.ts.map +1 -1
  358. package/src/engine/graphics/render/buffer/FrameBufferManager.js +166 -163
  359. package/src/engine/graphics/render/layers/RenderLayer.d.ts.map +1 -1
  360. package/src/engine/graphics/render/layers/RenderLayer.js +0 -5
  361. package/src/engine/graphics/shaders/AlphaBlendShader.js +1 -3
  362. package/src/engine/graphics/shaders/AmbientOcclusionShader.d.ts.map +1 -1
  363. package/src/engine/graphics/shaders/AmbientOcclusionShader.js +0 -3
  364. package/src/engine/graphics/shaders/ClearShader.js +1 -3
  365. package/src/engine/graphics/shaders/CopyShader.d.ts +0 -3
  366. package/src/engine/graphics/shaders/CopyShader.d.ts.map +1 -1
  367. package/src/engine/graphics/shaders/CopyShader.js +1 -3
  368. package/src/engine/graphics/shaders/NormalMapShader2.d.ts.map +1 -1
  369. package/src/engine/graphics/shaders/NormalMapShader2.js +0 -5
  370. package/src/engine/graphics/shaders/TerrainShader.js +0 -4
  371. package/src/engine/graphics/shaders/WaterShader.js +0 -3
  372. package/src/engine/graphics/shaders/lib/ShaderChunks.js +1 -3
  373. package/src/engine/graphics/texture/Canvas2Sampler2D.d.ts.map +1 -1
  374. package/src/engine/graphics/texture/Canvas2Sampler2D.js +1 -4
  375. package/src/engine/graphics/texture/CheckersTexture.d.ts.map +1 -1
  376. package/src/engine/graphics/texture/CheckersTexture.js +0 -3
  377. package/src/engine/graphics/texture/CheckersTextureURI.js +1 -3
  378. package/src/engine/graphics/texture/sampler/Sampler2D.d.ts.map +1 -1
  379. package/src/engine/graphics/texture/sampler/Sampler2D.js +0 -5
  380. package/src/engine/graphics/texture/sampler/Sampler2D2Canvas.d.ts.map +1 -1
  381. package/src/engine/graphics/texture/sampler/Sampler2D2Canvas.js +0 -5
  382. package/src/engine/graphics/texture/sampler/Sampler2D2Texture.d.ts.map +1 -1
  383. package/src/engine/graphics/texture/sampler/Sampler2D2Texture.js +0 -3
  384. package/src/engine/graphics/three/ThreeFactory.d.ts.map +1 -1
  385. package/src/engine/graphics/three/ThreeFactory.js +0 -5
  386. package/src/engine/grid/grid2transform/GridPosition2Transform.d.ts.map +1 -1
  387. package/src/engine/grid/grid2transform/GridPosition2Transform.js +0 -4
  388. package/src/engine/grid/grid2transform/GridPosition2TransformSystem.d.ts.map +1 -1
  389. package/src/engine/grid/grid2transform/GridPosition2TransformSystem.js +4 -7
  390. package/src/engine/grid/obstacle/GridObstacle.d.ts.map +1 -1
  391. package/src/engine/grid/obstacle/GridObstacle.js +0 -5
  392. package/src/engine/grid/position/GridPosition.d.ts.map +1 -1
  393. package/src/engine/grid/position/GridPosition.js +0 -4
  394. package/src/engine/grid/position/GridPositionSystem.d.ts.map +1 -1
  395. package/src/engine/grid/position/GridPositionSystem.js +1 -4
  396. package/src/engine/input/devices/KeyCodes.d.ts.map +1 -1
  397. package/src/engine/input/devices/KeyCodes.js +3 -4
  398. package/src/engine/input/devices/KeyboardDevice.d.ts.map +1 -1
  399. package/src/engine/input/devices/KeyboardDevice.js +0 -4
  400. package/src/engine/input/devices/PointerDevice.d.ts.map +1 -1
  401. package/src/engine/input/devices/PointerDevice.js +0 -3
  402. package/src/engine/input/ecs/components/InputController.d.ts.map +1 -1
  403. package/src/engine/input/ecs/components/InputController.js +1 -5
  404. package/src/engine/input/ecs/controllers/KeyboardCameraController.d.ts.map +1 -1
  405. package/src/engine/input/ecs/controllers/KeyboardCameraController.js +5 -10
  406. package/src/engine/input/ecs/systems/InputControllerSystem.d.ts.map +1 -1
  407. package/src/engine/input/ecs/systems/InputControllerSystem.js +78 -78
  408. package/src/engine/input/ecs/util/TopDownCameraControllerHelper.d.ts.map +1 -1
  409. package/src/engine/input/ecs/util/TopDownCameraControllerHelper.js +3 -6
  410. package/src/engine/intelligence/mcts/MonteCarlo.spec.js +78 -76
  411. package/src/engine/navigation/ecs/components/Path.d.ts.map +1 -1
  412. package/src/engine/navigation/ecs/components/Path.js +0 -5
  413. package/src/engine/navigation/ecs/path_following/PathFollower.d.ts.map +1 -1
  414. package/src/engine/navigation/ecs/path_following/PathFollower.js +1 -6
  415. package/src/engine/navigation/ecs/path_following/PathFollowingSystem.d.ts.map +1 -1
  416. package/src/engine/navigation/ecs/path_following/PathFollowingSystem.js +5 -12
  417. package/src/engine/network/DataChannel.js +284 -284
  418. package/src/engine/network/xhr.d.ts +0 -3
  419. package/src/engine/network/xhr.d.ts.map +1 -1
  420. package/src/engine/network/xhr.js +0 -3
  421. package/src/engine/notify/Notification.d.ts +1 -1
  422. package/src/engine/notify/Notification.d.ts.map +1 -1
  423. package/src/engine/notify/Notification.js +1 -6
  424. package/src/engine/notify/NotificationLog.d.ts.map +1 -1
  425. package/src/engine/notify/NotificationLog.js +0 -5
  426. package/src/engine/options/OptionsView.d.ts.map +1 -1
  427. package/src/engine/options/OptionsView.js +1 -6
  428. package/src/engine/physics/ammo/Body.js +0 -3
  429. package/src/engine/physics/ammo/PhysicsWorker.d.ts.map +1 -1
  430. package/src/engine/physics/ammo/PhysicsWorker.js +1 -3
  431. package/src/engine/physics/ammo/World.d.ts +68 -0
  432. package/src/engine/physics/ammo/World.d.ts.map +1 -0
  433. package/src/engine/physics/ammo/World.js +277 -278
  434. package/src/engine/physics/ammo/shapes/BoxShape.js +0 -3
  435. package/src/engine/physics/ammo/shapes/CapsuleShape.js +0 -3
  436. package/src/engine/physics/ammo/shapes/MeshShape.js +0 -3
  437. package/src/engine/physics/ammo/shapes/PlaneShape.js +0 -3
  438. package/src/engine/physics/ammo/shapes/Shape.js +1 -3
  439. package/src/engine/physics/ammo/shapes/SphereShape.js +0 -3
  440. package/src/engine/physics/cannon/CannonJSPhysicsSystem.d.ts.map +1 -1
  441. package/src/engine/physics/cannon/CannonJSPhysicsSystem.js +3 -6
  442. package/src/engine/save/GameStateLoader.d.ts.map +1 -1
  443. package/src/engine/save/GameStateLoader.js +1 -5
  444. package/src/engine/save/Storage.d.ts.map +1 -1
  445. package/src/engine/save/Storage.js +0 -7
  446. package/src/engine/scene/Scene.d.ts.map +1 -1
  447. package/src/engine/scene/Scene.js +2 -7
  448. package/src/engine/scene/SceneManager.d.ts.map +1 -1
  449. package/src/engine/scene/SceneManager.js +1 -4
  450. package/src/engine/simulation/DormandPrince.d.ts +0 -1
  451. package/src/engine/simulation/DormandPrince.d.ts.map +1 -1
  452. package/src/engine/simulation/DormandPrince.js +5 -5
  453. package/src/engine/simulation/Ticker.d.ts.map +1 -1
  454. package/src/engine/simulation/Ticker.js +0 -3
  455. package/src/engine/sound/ecs/SoundController.d.ts +0 -7
  456. package/src/engine/sound/ecs/SoundController.d.ts.map +1 -1
  457. package/src/engine/sound/ecs/SoundController.js +118 -119
  458. package/src/engine/sound/ecs/SoundControllerSystem.d.ts.map +1 -1
  459. package/src/engine/sound/ecs/SoundControllerSystem.js +3 -8
  460. package/src/engine/sound/ecs/SoundListener.d.ts +0 -1
  461. package/src/engine/sound/ecs/SoundListener.d.ts.map +1 -1
  462. package/src/engine/sound/ecs/SoundListener.js +26 -29
  463. package/src/engine/sound/ecs/SoundListenerSystem.d.ts.map +1 -1
  464. package/src/engine/sound/ecs/SoundListenerSystem.js +0 -5
  465. package/src/engine/sound/ecs/emitter/SoundEmitter.d.ts.map +1 -1
  466. package/src/engine/sound/ecs/emitter/SoundEmitter.js +0 -5
  467. package/src/engine/sound/ecs/emitter/SoundEmitterSystem.d.ts.map +1 -1
  468. package/src/engine/sound/ecs/emitter/SoundEmitterSystem.js +0 -7
  469. package/src/engine/ui/GUIEngine.d.ts.map +1 -1
  470. package/src/engine/ui/GUIEngine.js +0 -5
  471. package/src/engine/ui/tiles2d/TileGrid.d.ts.map +1 -1
  472. package/src/engine/ui/tiles2d/TileGrid.js +1 -4
  473. package/src/generation/markers/debug/visualizeMarkers.js +10 -10
  474. package/src/view/DOM.js +1 -3
  475. package/src/view/SVG.d.ts +0 -3
  476. package/src/view/SVG.d.ts.map +1 -1
  477. package/src/view/SVG.js +0 -4
  478. package/src/view/asset/PreloaderView.d.ts.map +1 -1
  479. package/src/view/asset/PreloaderView.js +0 -3
  480. package/src/view/common/LabelView.d.ts +1 -6
  481. package/src/view/common/LabelView.d.ts.map +1 -1
  482. package/src/view/common/LabelView.js +24 -33
  483. package/src/view/common/ListView.d.ts.map +1 -1
  484. package/src/view/common/ListView.js +0 -6
  485. package/src/view/common/MeshView.js +3 -6
  486. package/src/view/common/VirtualListView.d.ts.map +1 -1
  487. package/src/view/common/VirtualListView.js +0 -5
  488. package/src/view/common/dnd/DragAndDropContext.d.ts +1 -2
  489. package/src/view/common/dnd/DragAndDropContext.d.ts.map +1 -1
  490. package/src/view/common/dnd/DragAndDropContext.js +107 -110
  491. package/src/view/controller/GuiController.d.ts.map +1 -1
  492. package/src/view/controller/GuiController.js +1 -6
  493. package/src/view/controller/controls/BooleanVector3Control.d.ts +1 -1
  494. package/src/view/controller/controls/BooleanVector3Control.d.ts.map +1 -1
  495. package/src/view/controller/controls/GuiControl.js +2 -7
  496. package/src/view/controller/controls/Vector1Control.d.ts +1 -1
  497. package/src/view/controller/controls/Vector1Control.d.ts.map +1 -1
  498. package/src/view/controller/controls/Vector1Control.js +2 -7
  499. package/src/view/controller/controls/Vector2Control.d.ts.map +1 -1
  500. package/src/view/controller/controls/Vector2Control.js +0 -4
  501. package/src/view/controller/controls/Vector3Control.d.ts.map +1 -1
  502. package/src/view/controller/controls/Vector3Control.js +0 -3
  503. package/src/view/elements/ConfirmationDialogView.d.ts.map +1 -1
  504. package/src/view/elements/ConfirmationDialogView.js +1 -6
  505. package/src/view/elements/DropDownSelectionView.d.ts.map +1 -1
  506. package/src/view/elements/DropDownSelectionView.js +0 -5
  507. package/src/view/elements/EmptyView.d.ts.map +1 -1
  508. package/src/view/elements/EmptyView.js +0 -4
  509. package/src/view/elements/Group.d.ts.map +1 -1
  510. package/src/view/elements/Group.js +0 -3
  511. package/src/view/elements/MeshPreview.d.ts.map +1 -1
  512. package/src/view/elements/MeshPreview.js +5 -8
  513. package/src/view/elements/SimpleWindow.d.ts +1 -1
  514. package/src/view/elements/SimpleWindow.d.ts.map +1 -1
  515. package/src/view/elements/SimpleWindow.js +5 -11
  516. package/src/view/elements/button/ButtonView.d.ts.map +1 -1
  517. package/src/view/elements/button/ButtonView.js +1 -5
  518. package/src/view/elements/image/ImageView.d.ts.map +1 -1
  519. package/src/view/elements/image/ImageView.js +0 -4
  520. package/src/view/elements/image/SvgImageView.d.ts.map +1 -1
  521. package/src/view/elements/image/SvgImageView.js +2 -7
  522. package/src/view/elements/label/LabeledValueView.d.ts.map +1 -1
  523. package/src/view/elements/label/LabeledValueView.js +3 -8
  524. package/src/view/elements/navigation/ViewStack.d.ts +0 -7
  525. package/src/view/elements/navigation/ViewStack.d.ts.map +1 -1
  526. package/src/view/elements/navigation/ViewStack.js +17 -19
  527. package/src/view/elements/notify/NotificationView.js +1 -4
  528. package/src/view/elements/notify/ToastLogView.d.ts.map +1 -1
  529. package/src/view/elements/notify/ToastLogView.js +0 -3
  530. package/src/view/elements/progress/SmoothProgressBar.d.ts +72 -0
  531. package/src/view/elements/progress/SmoothProgressBar.d.ts.map +1 -0
  532. package/src/view/elements/radial/RadialMenu.d.ts.map +1 -1
  533. package/src/view/elements/radial/RadialMenu.js +1 -6
  534. package/src/view/elements/radial/RadialMenuElement.d.ts.map +1 -1
  535. package/src/view/elements/radial/RadialMenuElement.js +1 -4
  536. package/src/view/elements/radial/RadialProgressView.d.ts +1 -1
  537. package/src/view/elements/radial/RadialProgressView.d.ts.map +1 -1
  538. package/src/view/elements/radial/RadialProgressView.js +4 -9
  539. package/src/view/elements/tiles2d/Tile.d.ts.map +1 -1
  540. package/src/view/elements/tiles2d/Tile.js +3 -6
  541. package/src/view/elements/tiles2d/TileGrid.d.ts.map +1 -1
  542. package/src/view/elements/tiles2d/TileGrid.js +0 -5
  543. package/src/view/minimap/Minimap.d.ts.map +1 -1
  544. package/src/view/minimap/Minimap.js +11 -16
  545. package/src/view/minimap/dom/MinimapCameraView.d.ts +1 -2
  546. package/src/view/minimap/dom/MinimapCameraView.d.ts.map +1 -1
  547. package/src/view/minimap/dom/MinimapTerrainView.d.ts +1 -1
  548. package/src/view/minimap/dom/MinimapTerrainView.d.ts.map +1 -1
  549. package/src/view/minimap/gl/MarkerGL.d.ts +2 -12
  550. package/src/view/minimap/gl/MarkerGL.d.ts.map +1 -1
  551. package/src/view/minimap/gl/MarkerGL.js +60 -56
  552. package/src/view/minimap/gl/MinimapMarkersGL.d.ts +1 -1
  553. package/src/view/minimap/gl/MinimapMarkersGL.d.ts.map +1 -1
  554. package/src/view/minimap/gl/MinimapTerrainGL.d.ts +1 -2
  555. package/src/view/minimap/gl/MinimapTerrainGL.d.ts.map +1 -1
  556. package/src/view/renderModel.d.ts.map +1 -1
  557. package/src/view/renderModel.js +3 -7
  558. package/src/view/task/TaskProgressView.d.ts.map +1 -1
  559. package/src/view/task/TaskProgressView.js +0 -5
  560. package/src/core/collection/set/Set.d.ts.map +0 -1
  561. package/src/core/geom/2d/Geometry2D.d.ts +0 -31
  562. package/src/core/geom/2d/Geometry2D.d.ts.map +0 -1
  563. package/src/core/geom/2d/Geometry2D.js +0 -59
  564. package/src/core/geom/2d/UvUtils.d.ts +0 -15
  565. package/src/core/geom/2d/UvUtils.d.ts.map +0 -1
  566. package/src/core/geom/2d/UvUtils.spec.d.ts +0 -2
  567. package/src/core/geom/2d/UvUtils.spec.d.ts.map +0 -1
  568. package/src/core/geom/2d/UvUtils.spec.js +0 -55
  569. package/src/engine/asset/loaders/LegacyThreeJSONAssetLoader.d.ts +0 -9
  570. package/src/engine/asset/loaders/LegacyThreeJSONAssetLoader.d.ts.map +0 -1
  571. package/src/engine/asset/loaders/LegacyThreeJSONAssetLoader.js +0 -105
  572. package/src/engine/graphics/geometry/decimation/SimplifyModifier.d.ts +0 -117
  573. package/src/engine/graphics/geometry/decimation/SimplifyModifier.d.ts.map +0 -1
  574. package/src/engine/graphics/geometry/decimation/SimplifyModifier.js +0 -971
  575. package/src/engine/graphics/loader/threejs/GLTFLoader.js +0 -3179
  576. package/src/engine/graphics/loader/threejs/LegacyJSONLoader.d.ts +0 -6
  577. package/src/engine/graphics/loader/threejs/LegacyJSONLoader.d.ts.map +0 -1
  578. package/src/engine/graphics/loader/threejs/LegacyJSONLoader.js +0 -845
  579. package/src/engine/graphics/postprocess/Postprocess.js +0 -284
  580. package/src/engine/graphics/postprocess/threejs/Mirror.js +0 -330
  581. package/src/engine/graphics/postprocess/threejs/WaterShader.js +0 -306
  582. package/src/engine/graphics/postprocess/threejs/postprocessing/AdaptiveToneMappingPass.js +0 -338
  583. package/src/engine/graphics/postprocess/threejs/postprocessing/BloomPass.js +0 -132
  584. package/src/engine/graphics/postprocess/threejs/postprocessing/BokehPass.js +0 -115
  585. package/src/engine/graphics/postprocess/threejs/postprocessing/ClearMaskPass.d.ts +0 -4
  586. package/src/engine/graphics/postprocess/threejs/postprocessing/ClearMaskPass.d.ts.map +0 -1
  587. package/src/engine/graphics/postprocess/threejs/postprocessing/ClearMaskPass.js +0 -23
  588. package/src/engine/graphics/postprocess/threejs/postprocessing/DotScreenPass.d.ts +0 -1
  589. package/src/engine/graphics/postprocess/threejs/postprocessing/DotScreenPass.d.ts.map +0 -1
  590. package/src/engine/graphics/postprocess/threejs/postprocessing/DotScreenPass.js +0 -60
  591. package/src/engine/graphics/postprocess/threejs/postprocessing/EffectComposer.js +0 -150
  592. package/src/engine/graphics/postprocess/threejs/postprocessing/FilmPass.d.ts +0 -1
  593. package/src/engine/graphics/postprocess/threejs/postprocessing/FilmPass.d.ts.map +0 -1
  594. package/src/engine/graphics/postprocess/threejs/postprocessing/FilmPass.js +0 -61
  595. package/src/engine/graphics/postprocess/threejs/postprocessing/GlitchPass.d.ts +0 -1
  596. package/src/engine/graphics/postprocess/threejs/postprocessing/GlitchPass.d.ts.map +0 -1
  597. package/src/engine/graphics/postprocess/threejs/postprocessing/GlitchPass.js +0 -117
  598. package/src/engine/graphics/postprocess/threejs/postprocessing/RenderPass.js +0 -63
  599. package/src/engine/graphics/postprocess/threejs/postprocessing/SMAAPass.js +0 -187
  600. package/src/engine/graphics/postprocess/threejs/postprocessing/SavePass.d.ts +0 -1
  601. package/src/engine/graphics/postprocess/threejs/postprocessing/SavePass.d.ts.map +0 -1
  602. package/src/engine/graphics/postprocess/threejs/postprocessing/SavePass.js +0 -67
  603. package/src/engine/graphics/postprocess/threejs/postprocessing/TexturePass.js +0 -50
  604. package/src/engine/graphics/postprocess/threejs/shaders/BokehShader.d.ts +0 -42
  605. package/src/engine/graphics/postprocess/threejs/shaders/BokehShader.d.ts.map +0 -1
  606. package/src/engine/graphics/postprocess/threejs/shaders/BokehShader.js +0 -117
  607. package/src/engine/graphics/postprocess/threejs/shaders/ConvolutionShader.d.ts +0 -30
  608. package/src/engine/graphics/postprocess/threejs/shaders/ConvolutionShader.d.ts.map +0 -1
  609. package/src/engine/graphics/postprocess/threejs/shaders/ConvolutionShader.js +0 -106
  610. package/src/engine/graphics/postprocess/threejs/shaders/FXAAShader.d.ts +0 -19
  611. package/src/engine/graphics/postprocess/threejs/shaders/FXAAShader.d.ts.map +0 -1
  612. package/src/engine/graphics/postprocess/threejs/shaders/FXAAShader.js +0 -90
  613. package/src/engine/graphics/postprocess/threejs/shaders/GammaCorrectionShader.d.ts +0 -12
  614. package/src/engine/graphics/postprocess/threejs/shaders/GammaCorrectionShader.d.ts.map +0 -1
  615. package/src/engine/graphics/postprocess/threejs/shaders/GammaCorrectionShader.js +0 -52
  616. package/src/engine/graphics/postprocess/threejs/shaders/LuminosityShader.d.ts +0 -12
  617. package/src/engine/graphics/postprocess/threejs/shaders/LuminosityShader.d.ts.map +0 -1
  618. package/src/engine/graphics/postprocess/threejs/shaders/LuminosityShader.js +0 -51
  619. package/src/engine/graphics/postprocess/threejs/shaders/SMAAShader.d.ts +0 -76
  620. package/src/engine/graphics/postprocess/threejs/shaders/SMAAShader.d.ts.map +0 -1
  621. package/src/engine/graphics/postprocess/threejs/shaders/SMAAShader.js +0 -468
  622. package/src/engine/graphics/postprocess/threejs/shaders/SSAOShader.d.ts +0 -61
  623. package/src/engine/graphics/postprocess/threejs/shaders/SSAOShader.d.ts.map +0 -1
  624. package/src/engine/graphics/postprocess/threejs/shaders/SSAOShader.js +0 -230
  625. package/src/engine/graphics/postprocess/threejs/shaders/ToneMapShader.d.ts +0 -36
  626. package/src/engine/graphics/postprocess/threejs/shaders/ToneMapShader.d.ts.map +0 -1
  627. package/src/engine/graphics/postprocess/threejs/shaders/ToneMapShader.js +0 -76
  628. package/src/engine/graphics/shaders/GaussianBlurShader.d.ts +0 -22
  629. package/src/engine/graphics/shaders/GaussianBlurShader.d.ts.map +0 -1
  630. package/src/engine/graphics/shaders/GaussianBlurShader.js +0 -79
  631. package/src/engine/graphics/shaders/GaussianGlowShader.d.ts +0 -26
  632. package/src/engine/graphics/shaders/GaussianGlowShader.d.ts.map +0 -1
  633. package/src/engine/graphics/shaders/GaussianGlowShader.js +0 -83
  634. package/src/engine/graphics/shaders/NormalMapShader.d.ts +0 -33
  635. package/src/engine/graphics/shaders/NormalMapShader.d.ts.map +0 -1
  636. package/src/engine/graphics/shaders/NormalMapShader.js +0 -62
  637. package/src/engine/graphics/shaders/SoftOutlineShader.d.ts +0 -3
  638. package/src/engine/graphics/shaders/SoftOutlineShader.d.ts.map +0 -1
  639. package/src/engine/graphics/shaders/SoftOutlineShader.js +0 -111
  640. package/src/engine/graphics/three/Reflector.d.ts +0 -12
  641. package/src/engine/graphics/three/Reflector.d.ts.map +0 -1
  642. package/src/engine/graphics/three/Reflector.js +0 -281
  643. package/src/engine/graphics/three/Refractor.d.ts +0 -11
  644. package/src/engine/graphics/three/Refractor.d.ts.map +0 -1
  645. package/src/engine/graphics/three/Refractor.js +0 -352
  646. package/src/engine/navigation/ecs/components/PathFinder.d.ts +0 -14
  647. package/src/engine/navigation/ecs/components/PathFinder.d.ts.map +0 -1
  648. package/src/engine/navigation/ecs/components/PathFinder.js +0 -11
  649. package/src/view/elements/navigation/NavigationMenu.d.ts +0 -13
  650. package/src/view/elements/navigation/NavigationMenu.d.ts.map +0 -1
  651. package/src/view/elements/navigation/NavigationMenu.js +0 -27
  652. /package/src/core/collection/set/{Set.d.ts → ArraySet.d.ts} +0 -0
@@ -1,8 +1,5 @@
1
- /**
2
- * Created by Alex on 01/02/14.
3
- */
4
- import IdPool from '../../../core/IdPool.js';
5
1
  import Vector3 from "../../../core/geom/Vector3.js";
2
+ import IdPool from '../../../core/IdPool.js';
6
3
 
7
4
  /**
8
5
  *
@@ -13,325 +10,327 @@ function v3_toJSON(v3) {
13
10
  return { x: v3.x, y: v3.y, z: v3.z };
14
11
  }
15
12
 
16
- const World = function (readyCallback) {
17
- this.worker = new Worker("src/model/physics/PhysicsWorker.js");
18
- this.shapeIdPool = new IdPool();
19
- this.bodyIdPool = new IdPool();
13
+ class World {
14
+ constructor(readyCallback) {
15
+ this.worker = new Worker("src/model/physics/PhysicsWorker.js");
16
+ this.shapeIdPool = new IdPool();
17
+ this.bodyIdPool = new IdPool();
20
18
 
21
- /**
22
- *
23
- * @type {Shape[]}
24
- */
25
- this.shapes = [];
19
+ /**
20
+ *
21
+ * @type {Shape[]}
22
+ */
23
+ this.shapes = [];
26
24
 
27
- /**
28
- *
29
- * @type {Body[]}
30
- */
31
- const bodies = this.bodies = [];
32
- this.__updateCallbacks = [];
33
- const raytestCallbacks = this.__raytestCallbacks = [];
34
- const raycastCallbacks = this.__raycastCallbacks = [];
35
- const stepDoneCallbacks = this.__stepDoneCallbacks = [];
25
+ /**
26
+ *
27
+ * @type {Body[]}
28
+ */
29
+ const bodies = this.bodies = [];
30
+ this.__updateCallbacks = [];
31
+ const raytestCallbacks = this.__raytestCallbacks = [];
32
+ const raycastCallbacks = this.__raycastCallbacks = [];
33
+ const stepDoneCallbacks = this.__stepDoneCallbacks = [];
36
34
 
37
- const api = {
38
- updateState: function (data) {
39
- const ids = data.ids;
40
- const ts = data.states;
35
+ const api = {
36
+ updateState: function (data) {
37
+ const ids = data.ids;
38
+ const ts = data.states;
41
39
 
42
- for (let i = 0; i < ids.length; i++) {
40
+ for (let i = 0; i < ids.length; i++) {
43
41
 
44
- const id = ids[i];
45
- const body = bodies[id];
42
+ const id = ids[i];
43
+ const body = bodies[id];
46
44
 
47
- if (body !== void 0) {
48
- const j = (i * 10);
45
+ if (body !== void 0) {
46
+ const j = (i * 10);
49
47
 
50
- body.position.set(ts[j], ts[j + 1], ts[j + 2]);
51
- body.rotation.set(ts[j + 3], ts[j + 4], ts[j + 5], ts[j + 6]);
52
- body.linearVelocity.set(ts[j + 7], ts[j + 8], ts[j + 9]);
53
- body.changedAttributes = [];
48
+ body.position.set(ts[j], ts[j + 1], ts[j + 2]);
49
+ body.rotation.set(ts[j + 3], ts[j + 4], ts[j + 5], ts[j + 6]);
50
+ body.linearVelocity.set(ts[j + 7], ts[j + 8], ts[j + 9]);
51
+ body.changedAttributes = [];
54
52
 
55
- }
53
+ }
56
54
 
57
- }
55
+ }
58
56
 
59
- if (stepDoneCallbacks.length > 0) {
60
- const callback = stepDoneCallbacks.shift();
61
- callback();
62
- }
57
+ if (stepDoneCallbacks.length > 0) {
58
+ const callback = stepDoneCallbacks.shift();
59
+ callback();
60
+ }
63
61
 
64
- },
65
- collisions: function (data) {
66
- const pairs = data.pairs;
67
- for (let i = 0; i < pairs.length; i += 2) {
68
- const a = pairs[i],
69
- b = pairs[i + 1];
70
- const b1 = bodies[a];
71
- const b2 = bodies[b];
72
- if (b1 !== void 0 && b2 !== void 0) {
73
- b1.collide(b2);
74
- b2.collide(b1);
62
+ },
63
+ collisions: function (data) {
64
+ const pairs = data.pairs;
65
+ for (let i = 0; i < pairs.length; i += 2) {
66
+ const a = pairs[i],
67
+ b = pairs[i + 1];
68
+ const b1 = bodies[a];
69
+ const b2 = bodies[b];
70
+ if (b1 !== void 0 && b2 !== void 0) {
71
+ b1.collide(b2);
72
+ b2.collide(b1);
73
+ }
74
+ }
75
+ },
76
+ rayHit: function (data) {
77
+ const callback = raytestCallbacks.shift();
78
+ callback(true, data.point)
79
+ },
80
+ rayMiss: function (data) {
81
+ const callback = raytestCallbacks.shift();
82
+ callback(false, null);
83
+ },
84
+ rayCast: function (data) {
85
+ const callback = raycastCallbacks.shift();
86
+ },
87
+ workerReady: function () {
88
+ if (readyCallback !== void 0) {
89
+ readyCallback();
75
90
  }
76
91
  }
77
- },
78
- rayHit: function (data) {
79
- const callback = raytestCallbacks.shift();
80
- callback(true, data.point)
81
- },
82
- rayMiss: function (data) {
83
- const callback = raytestCallbacks.shift();
84
- callback(false, null);
85
- },
86
- rayCast: function (data) {
87
- const callback = raycastCallbacks.shift();
88
- },
89
- workerReady: function () {
90
- if (readyCallback !== void 0) {
91
- readyCallback();
92
+ };
93
+ //
94
+
95
+
96
+ this.worker.onmessage = function (event) {
97
+ const data = event.data;
98
+ const methodName = data.method;
99
+ const method = api[methodName];
100
+ if (method !== void 0) {
101
+ method(data);
102
+ } else {
103
+ throw new Error("received unknown callback from worker '" + methodName + "'");
92
104
  }
93
- }
94
- };
95
- //
96
-
97
-
98
- this.worker.onmessage = function (event) {
99
- const data = event.data;
100
- const methodName = data.method;
101
- const method = api[methodName];
102
- if (method !== void 0) {
103
- method(data);
104
- } else {
105
- throw new Error("received unknown callback from worker '" + methodName + "'");
106
- }
107
105
 
108
- };
106
+ };
109
107
 
110
- };
108
+ }
111
109
 
112
- /**
113
- *
114
- * @param {number} id
115
- * @returns {Body}
116
- */
117
- World.prototype.getBodyById = function (id) {
118
- const bodies = this.bodies;
119
- return bodies[id];
120
- };
110
+ /**
111
+ *
112
+ * @param {number} id
113
+ * @returns {Body}
114
+ */
115
+ getBodyById(id) {
116
+ const bodies = this.bodies;
117
+ return bodies[id];
118
+ }
121
119
 
122
- /**
123
- *
124
- * @param {Array} update
125
- */
126
- World.prototype.updateBodies = function (update) {
127
- let i;
128
-
129
- for (i = 0; i < update.length; i++) {
130
- const info = update[i];
131
- const position = info.position;
132
- const rotation = info.rotation;
133
- const linearVelocity = info.linearVelocity;
134
- const collisions = info.collisions;
135
- const id = info.id;
136
- //get mapped objects
137
- const body = this.getBodyById(id);
138
- if (body === undefined || body === null) {
139
- // console.error("Received update for body " + id + " which no longer exists");
140
- continue; //this is really an error, but it doesn't seem to cause a leak, it's a synchronization issue
141
- }
142
- body.__contacts = []; //reset contacts
143
- if (collisions) {
144
- //process collisions
145
- collisions.forEach(function (contact) {
146
- const body_id = contact.t;
147
- const otherBody = this.getBodyById(body_id);
148
- const p = contact.p;
149
- const contactPoint = new Vector3(p.x, p.y, p.z);
150
- const contactObj = { target: otherBody, position: contactPoint };
151
- body.__contacts.push(contactObj);
152
- body.collide(otherBody);
153
- }, this);
120
+ /**
121
+ *
122
+ * @param {Array} update
123
+ */
124
+ updateBodies(update) {
125
+ let i;
126
+
127
+ for (i = 0; i < update.length; i++) {
128
+ const info = update[i];
129
+ const position = info.position;
130
+ const rotation = info.rotation;
131
+ const linearVelocity = info.linearVelocity;
132
+ const collisions = info.collisions;
133
+ const id = info.id;
134
+ //get mapped objects
135
+ const body = this.getBodyById(id);
136
+ if (body === undefined || body === null) {
137
+ // console.error("Received update for body " + id + " which no longer exists");
138
+ continue; //this is really an error, but it doesn't seem to cause a leak, it's a synchronization issue
139
+ }
140
+ body.__contacts = []; //reset contacts
141
+ if (collisions) {
142
+ //process collisions
143
+ collisions.forEach(function (contact) {
144
+ const body_id = contact.t;
145
+ const otherBody = this.getBodyById(body_id);
146
+ const p = contact.p;
147
+ const contactPoint = new Vector3(p.x, p.y, p.z);
148
+ const contactObj = { target: otherBody, position: contactPoint };
149
+ body.__contacts.push(contactObj);
150
+ body.collide(otherBody);
151
+ }, this);
152
+ }
153
+ body.update(position, rotation, linearVelocity);
154
+ body.changedAttributes = [];
154
155
  }
155
- body.update(position, rotation, linearVelocity);
156
- body.changedAttributes = [];
157
- }
158
156
 
159
- for (i = 0; i < this.__updateCallbacks.length; i++) {
160
- this.__updateCallbacks[i]();
157
+ for (i = 0; i < this.__updateCallbacks.length; i++) {
158
+ this.__updateCallbacks[i]();
159
+ }
161
160
  }
162
- };
163
161
 
164
- /**
165
- *
166
- * @param {Shape} shape
167
- */
168
- World.prototype.addShape = function (shape) {
169
- if (shape.id == null) {
170
- shape.id = this.shapeIdPool.get();
162
+ /**
163
+ *
164
+ * @param {Shape} shape
165
+ */
166
+ addShape(shape) {
167
+ if (shape.id == null) {
168
+ shape.id = this.shapeIdPool.get();
169
+ }
170
+ this.shapes.push(shape);
171
+ this.worker.postMessage({ method: "addShape", options: shape });
171
172
  }
172
- this.shapes.push(shape);
173
- this.worker.postMessage({ method: "addShape", options: shape });
174
- };
175
-
176
173
 
177
- /**
178
- *
179
- * @param {Body} body
180
- */
181
- World.prototype.addBody = function (body) {
182
- if (body.id == null) {
183
- body.id = this.bodyIdPool.get();
184
- }
185
- const shape = body.shape;
186
- if (shape == null) {
187
- console.error("shape can not be null");
188
- return;
189
- }
190
- //check if shape is registered
191
- if (this.shapes.indexOf(shape) < 0) {
192
- //if not registered - add it
193
- this.addShape(shape);
174
+ /**
175
+ *
176
+ * @param {Body} body
177
+ */
178
+ addBody(body) {
179
+ if (body.id == null) {
180
+ body.id = this.bodyIdPool.get();
181
+ }
182
+ const shape = body.shape;
183
+ if (shape == null) {
184
+ console.error("shape can not be null");
185
+ return;
186
+ }
187
+ //check if shape is registered
188
+ if (this.shapes.indexOf(shape) < 0) {
189
+ //if not registered - add it
190
+ this.addShape(shape);
191
+ }
192
+ const options = {
193
+ shape: shape.id,
194
+ rotation: body.rotation.toJSON(),
195
+ position: body.position.toJSON(),
196
+ linearVelocity: body.linearVelocity.toJSON(),
197
+ angularFactor: body.angularFactor.toJSON(),
198
+ gravity: body.disableGravity,
199
+ disableCollisionResponse: body.disableCollisionResponse,
200
+ id: body.id,
201
+ mass: body.mass,
202
+ friction: body.friction
203
+ };
204
+ body.changedAttributes = [];
205
+ const worker = this.worker;
206
+ this.bodies[body.id] = body;
207
+ worker.postMessage({ method: "addBody", options: options });
194
208
  }
195
- const options = {
196
- shape: shape.id,
197
- rotation: body.rotation.toJSON(),
198
- position: body.position.toJSON(),
199
- linearVelocity: body.linearVelocity.toJSON(),
200
- angularFactor: body.angularFactor.toJSON(),
201
- gravity: body.disableGravity,
202
- disableCollisionResponse: body.disableCollisionResponse,
203
- id: body.id,
204
- mass: body.mass,
205
- friction: body.friction
206
- };
207
- body.changedAttributes = [];
208
- const worker = this.worker;
209
- this.bodies[body.id] = body;
210
- worker.postMessage({ method: "addBody", options: options });
211
- };
212
209
 
213
- /**
214
- *
215
- * @param {Body} body
216
- */
217
- World.prototype.removeBody = function (body) {
210
+ /**
211
+ *
212
+ * @param {Body} body
213
+ */
214
+ removeBody(body) {
218
215
 
219
- const options = {
220
- id: body.id
221
- };
216
+ const options = {
217
+ id: body.id
218
+ };
222
219
 
223
- this.worker.postMessage({ method: "removeBody", options: options });
220
+ this.worker.postMessage({ method: "removeBody", options: options });
224
221
 
225
- delete this.bodies[body.id];
222
+ delete this.bodies[body.id];
226
223
 
227
- this.bodyIdPool.release(body.id);
228
- };
224
+ this.bodyIdPool.release(body.id);
225
+ }
229
226
 
230
- World.prototype.sendImpulses = function () {
231
- //get list of bodies with impulses
232
- const bodies = this.bodies;
227
+ sendImpulses() {
228
+ //get list of bodies with impulses
229
+ const bodies = this.bodies;
233
230
 
234
- const options = [];
231
+ const options = [];
235
232
 
236
- for (let i in bodies) {
237
- if (!bodies.hasOwnProperty(i)) {
238
- continue;
233
+ for (let i in bodies) {
234
+ if (!bodies.hasOwnProperty(i)) {
235
+ continue;
236
+ }
237
+ const body = bodies[i];
238
+ const value = body.__centralImpulse;
239
+ if (value == null) {
240
+ continue;
241
+ }
242
+ options.push({
243
+ id: body.id,
244
+ value: value.toJSON()
245
+ });
246
+ body.__centralImpulse = null;
239
247
  }
240
- const body = bodies[i];
241
- const value = body.__centralImpulse;
242
- if (value == null) {
243
- continue;
248
+
249
+ if (options.length > 0) {
250
+ this.worker.postMessage({ method: "applyCentralImpulse", options: options });
244
251
  }
245
- options.push({
246
- id: body.id,
247
- value: value.toJSON()
248
- });
249
- body.__centralImpulse = null;
250
252
  }
251
253
 
252
- if (options.length > 0) {
253
- this.worker.postMessage({ method: "applyCentralImpulse", options: options });
254
- }
255
- };
256
-
257
- World.prototype.writeChangedAttributes = function () {
258
- let body;
259
- const bodies = this.bodies;
260
- const options = [];
261
- for (let i in bodies) {
262
- if (!bodies.hasOwnProperty(i)) {
263
- continue;
264
- }
265
- body = bodies[i];
266
- const changedAttributes = body.changedAttributes;
267
- const numChangedAttributes = changedAttributes.length;
268
- if (numChangedAttributes > 0) {
269
- const attributes = {};
270
- for (let j = 0; j < numChangedAttributes; j++) {
271
- const attrName = changedAttributes[j];
272
- let value = body[attrName];
273
- if (typeof value["toJSON"] === "function") {
274
- value = value.toJSON();
254
+ writeChangedAttributes() {
255
+ let body;
256
+ const bodies = this.bodies;
257
+ const options = [];
258
+ for (let i in bodies) {
259
+ if (!bodies.hasOwnProperty(i)) {
260
+ continue;
261
+ }
262
+ body = bodies[i];
263
+ const changedAttributes = body.changedAttributes;
264
+ const numChangedAttributes = changedAttributes.length;
265
+ if (numChangedAttributes > 0) {
266
+ const attributes = {};
267
+ for (let j = 0; j < numChangedAttributes; j++) {
268
+ const attrName = changedAttributes[j];
269
+ let value = body[attrName];
270
+ if (typeof value["toJSON"] === "function") {
271
+ value = value.toJSON();
272
+ }
273
+ attributes[attrName] = value;
275
274
  }
276
- attributes[attrName] = value;
275
+ options.push({
276
+ id: body.id,
277
+ attributes: attributes
278
+ });
277
279
  }
278
- options.push({
279
- id: body.id,
280
- attributes: attributes
281
- });
280
+ }
281
+ if (options.length > 0) {
282
+ this.worker.postMessage({ method: "writeBodyAttributes", options: options });
282
283
  }
283
284
  }
284
- if (options.length > 0) {
285
- this.worker.postMessage({ method: "writeBodyAttributes", options: options });
285
+
286
+ /**
287
+ *
288
+ * @param {Vector3} from
289
+ * @param {Vector3} to
290
+ * @param {function<Vector3>} callback
291
+ */
292
+ rayTest(from, to, callback) {
293
+ this.__raytestCallbacks.push(callback);
294
+ this.worker.postMessage({
295
+ method: "rayTest",
296
+ options: {
297
+ from: v3_toJSON(from), to: v3_toJSON(to)
298
+ }
299
+ });
286
300
  }
287
- };
288
301
 
289
- /**
290
- *
291
- * @param {Vector3} from
292
- * @param {Vector3} to
293
- * @param {function<Vector3>} callback
294
- */
295
- World.prototype.rayTest = function (from, to, callback) {
296
- this.__raytestCallbacks.push(callback);
297
- this.worker.postMessage({
298
- method: "rayTest",
299
- options: {
300
- from: v3_toJSON(from), to: v3_toJSON(to)
301
- }
302
- });
303
- };
302
+ /**
303
+ *
304
+ * @param {Vector3} from
305
+ * @param {Vector3} to
306
+ * @param {function} callback
307
+ */
308
+ rayCast(from, to, callback) {
309
+ this.__raycastCallbacks.push(callback);
310
+ this.worker.postMessage({
311
+ method: "rayCast",
312
+ options: {
313
+ from: v3_toJSON(from), to: v3_toJSON(to)
314
+ }
315
+ });
316
+ }
304
317
 
305
- /**
306
- *
307
- * @param {Vector3} from
308
- * @param {Vector3} to
309
- * @param {function} callback
310
- */
311
- World.prototype.rayCast = function (from, to, callback) {
312
- this.__raycastCallbacks.push(callback);
313
- this.worker.postMessage({
314
- method: "rayCast",
315
- options: {
316
- from: v3_toJSON(from), to: v3_toJSON(to)
318
+ /**
319
+ *
320
+ * @param {number} delta
321
+ * @param {function} callback
322
+ */
323
+ simulate(delta, callback) {
324
+ //send impulses if there are any
325
+ this.writeChangedAttributes();
326
+ this.sendImpulses();
327
+ //post simulation request
328
+ if (callback) {
329
+ this.__stepDoneCallbacks.push(callback);
317
330
  }
318
- });
319
- };
320
-
321
- /**
322
- *
323
- * @param {number} delta
324
- * @param {function} callback
325
- */
326
- World.prototype.simulate = function (delta, callback) {
327
- //send impulses if there are any
328
- this.writeChangedAttributes();
329
- this.sendImpulses();
330
- //post simulation request
331
- if (callback) {
332
- this.__stepDoneCallbacks.push(callback);
331
+ this.worker.postMessage({ method: "simulate", options: delta });
333
332
  }
334
- this.worker.postMessage({ method: "simulate", options: delta });
335
- };
333
+ }
334
+
336
335
 
337
336
  export default World;
@@ -1,6 +1,3 @@
1
- /**
2
- * Created by Alex on 12/08/2014.
3
- */
4
1
  import Shape from './Shape.js';
5
2
 
6
3
  const BoxShape = function (x, y, z) {
@@ -1,6 +1,3 @@
1
- /**
2
- * Created by Alex on 19/02/14.
3
- */
4
1
  import Shape from './Shape.js';
5
2
 
6
3
  const CapsuleShape = function (options) {
@@ -1,6 +1,3 @@
1
- /**
2
- * Created by Alex on 19/02/14.
3
- */
4
1
  import Shape from './Shape.js';
5
2
 
6
3
  const MeshShape = function (mesh) {
@@ -1,6 +1,3 @@
1
- /**
2
- * Created by Alex on 19/02/14.
3
- */
4
1
  import Shape from './Shape.js';
5
2
 
6
3
  const PlaneShape = function (x, y, z, w) {
@@ -1,6 +1,4 @@
1
- /**
2
- * Created by Alex on 19/02/14.
3
- */
1
+
4
2
 
5
3
 
6
4
 
@@ -1,6 +1,3 @@
1
- /**
2
- * Created by Alex on 19/02/14.
3
- */
4
1
  import Shape from './Shape.js';
5
2
 
6
3
  const SphereShape = function (radius) {
@@ -1 +1 @@
1
- {"version":3,"file":"CannonJSPhysicsSystem.d.ts","sourceRoot":"","sources":["../../../../../src/engine/physics/cannon/CannonJSPhysicsSystem.js"],"names":[],"mappings":";AAUA;IAIQ,oBAAkC;IAClC,mBAAyB;IAG7B,0EAWC;IATiB,WAA+B;IAI7C,cAAgB;IAChB,qBAAwB;IACxB,6BAA+B;IAC/B,iBAAmB;IAIvB,uCA6CC;IAED,0CAkBC;IAED,6BAiDC;CACJ"}
1
+ {"version":3,"file":"CannonJSPhysicsSystem.d.ts","sourceRoot":"","sources":["../../../../../src/engine/physics/cannon/CannonJSPhysicsSystem.js"],"names":[],"mappings":";AAOA;IAIQ,oBAAkC;IAClC,mBAAyB;IAG7B,0EAWC;IATiB,WAA+B;IAI7C,cAAgB;IAChB,qBAAwB;IACxB,6BAA+B;IAC/B,iBAAmB;IAIvB,uCA6CC;IAED,0CAkBC;IAED,6BAiDC;CACJ"}