@woosh/meep-engine 2.138.18 → 2.138.20
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.
- package/README.md +2 -2
- package/build/bundle-worker-image-decoder.js +1 -1
- package/editor/actions/concrete/ActionUpdateTexture.d.ts +12 -0
- package/editor/actions/concrete/ActionUpdateTexture.d.ts.map +1 -0
- package/editor/actions/concrete/ArrayCopyAction.d.ts +20 -0
- package/editor/actions/concrete/ArrayCopyAction.d.ts.map +1 -0
- package/editor/actions/concrete/ComponentRemoveAction.d.ts +11 -0
- package/editor/actions/concrete/ComponentRemoveAction.d.ts.map +1 -0
- package/editor/actions/concrete/ModifyPatchSampler2DAction.d.ts +47 -0
- package/editor/actions/concrete/ModifyPatchSampler2DAction.d.ts.map +1 -0
- package/editor/actions/concrete/ModifyPatchTextureArray2DAction.d.ts +38 -0
- package/editor/actions/concrete/ModifyPatchTextureArray2DAction.d.ts.map +1 -0
- package/editor/actions/concrete/PaintTerrainOverlayAction.d.ts +23 -0
- package/editor/actions/concrete/PaintTerrainOverlayAction.d.ts.map +1 -0
- package/editor/actions/concrete/PatchTerrainHeightAction.d.ts +19 -0
- package/editor/actions/concrete/PatchTerrainHeightAction.d.ts.map +1 -0
- package/editor/actions/concrete/SelectionRemoveAction.d.ts +10 -0
- package/editor/actions/concrete/SelectionRemoveAction.d.ts.map +1 -0
- package/editor/actions/concrete/WriteGridValueAction.d.ts +15 -0
- package/editor/actions/concrete/WriteGridValueAction.d.ts.map +1 -0
- package/editor/ecs/component/FieldDescriptor.d.ts +27 -0
- package/editor/ecs/component/FieldDescriptor.d.ts.map +1 -0
- package/editor/ecs/component/FieldValueAdapter.d.ts +7 -0
- package/editor/ecs/component/FieldValueAdapter.d.ts.map +1 -0
- package/editor/ecs/component/createFieldEditor.d.ts +9 -0
- package/editor/ecs/component/createFieldEditor.d.ts.map +1 -0
- package/editor/ecs/component/createObjectEditor.d.ts +14 -0
- package/editor/ecs/component/createObjectEditor.d.ts.map +1 -0
- package/editor/ecs/component/editors/geom/QuaternionEditor.d.ts.map +1 -1
- package/editor/ecs/component/findNearestRegisteredType.d.ts +8 -0
- package/editor/ecs/component/findNearestRegisteredType.d.ts.map +1 -0
- package/editor/process/ObstacleGridDisplayProcess.d.ts.map +1 -1
- package/editor/process/symbolic/makeGridPositionSymbolDisplay.d.ts.map +1 -1
- package/editor/tools/GridPaintTool.d.ts +17 -0
- package/editor/tools/GridPaintTool.d.ts.map +1 -0
- package/editor/tools/SelectionTool.d.ts +27 -0
- package/editor/tools/SelectionTool.d.ts.map +1 -0
- package/editor/tools/TopDownCameraControlTool.d.ts +13 -0
- package/editor/tools/TopDownCameraControlTool.d.ts.map +1 -0
- package/editor/view/ecs/ComponentControlFactory.d.ts.map +1 -0
- package/editor/view/ecs/ComponentControlView.d.ts.map +1 -1
- package/editor/view/ecs/EntityEditor.d.ts.map +1 -0
- package/editor/view/ecs/EntityList.d.ts.map +1 -0
- package/editor/view/ecs/HierarchicalEntityListView.d.ts.map +1 -0
- package/editor/view/node-graph/NodeGraphEditorView.d.ts.map +1 -1
- package/editor/view/node-graph/NodeGraphView.d.ts.map +1 -1
- package/editor/view/node-graph/NodeView.d.ts.map +1 -1
- package/editor/view/node-graph/PortView.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/core/binary/BinaryBuffer.d.ts +1 -1
- package/src/core/binary/BinaryBuffer.js +1 -1
- package/src/core/binary/BitSet.d.ts +1 -1
- package/src/core/binary/BitSet.js +1 -1
- package/src/core/cache/Cache.js +1 -1
- package/src/core/cache/LoadingCache.js +1 -1
- package/src/core/collection/list/List.js +1 -1
- package/src/core/collection/map/HashMap.js +1 -1
- package/src/core/collection/table/RowFirstTable.d.ts +1 -1
- package/src/core/collection/table/RowFirstTable.js +1 -1
- package/src/core/collection/table/RowFirstTableSpec.d.ts +1 -1
- package/src/core/collection/table/RowFirstTableSpec.js +1 -1
- package/src/core/color/oklab/compute_max_saturation.d.ts +1 -1
- package/src/core/color/oklab/compute_max_saturation.js +1 -1
- package/src/core/color/oklab/find_cusp.d.ts +1 -1
- package/src/core/color/oklab/find_cusp.js +1 -1
- package/src/core/color/oklab/find_gamut_intersection.d.ts +1 -1
- package/src/core/color/oklab/find_gamut_intersection.js +1 -1
- package/src/core/color/oklab/okhsv_to_linear_srgb.d.ts +1 -1
- package/src/core/color/oklab/okhsv_to_linear_srgb.js +1 -1
- package/src/core/color/oklab/oklab_to_linear_srgb.d.ts +1 -1
- package/src/core/color/oklab/oklab_to_linear_srgb.js +1 -1
- package/src/core/color/oklab/oklab_to_xyz.d.ts +1 -1
- package/src/core/color/oklab/oklab_to_xyz.js +1 -1
- package/src/core/color/oklab/xyz_to_oklab.d.ts +1 -1
- package/src/core/color/oklab/xyz_to_oklab.js +1 -1
- package/src/core/geom/2d/convex-hull/fixed_convex_hull_relaxation.d.ts +1 -1
- package/src/core/geom/2d/convex-hull/fixed_convex_hull_relaxation.js +1 -1
- package/src/core/geom/3d/aabb/aabb3_nearest_point_on_surface.d.ts.map +1 -1
- package/src/core/geom/3d/aabb/aabb3_nearest_point_on_surface.js +57 -65
- package/src/core/geom/3d/octahedra/octahedral_uv_wrap.d.ts +1 -1
- package/src/core/geom/3d/octahedra/octahedral_uv_wrap.js +1 -1
- package/src/core/geom/3d/quaternion/quat_decode_from_uint32.d.ts +1 -1
- package/src/core/geom/3d/quaternion/quat_decode_from_uint32.js +1 -1
- package/src/core/geom/3d/quaternion/quat_encode_to_uint32.d.ts +1 -1
- package/src/core/geom/3d/quaternion/quat_encode_to_uint32.js +1 -1
- package/src/core/geom/3d/shape/AbstractShape3D.d.ts +74 -3
- package/src/core/geom/3d/shape/CapsuleShape3D.d.ts +37 -0
- package/src/core/geom/3d/shape/CapsuleShape3D.d.ts.map +1 -0
- package/src/core/geom/3d/shape/CapsuleShape3D.js +210 -0
- package/src/core/geom/3d/shape/PointShape3D.d.ts +5 -0
- package/src/core/geom/3d/shape/PointShape3D.d.ts.map +1 -1
- package/src/core/geom/3d/shape/PointShape3D.js +52 -14
- package/src/core/geom/3d/shape/TransformedShape3D.d.ts +75 -12
- package/src/core/geom/3d/shape/TransformedShape3D.d.ts.map +1 -1
- package/src/core/geom/3d/shape/TransformedShape3D.js +12 -3
- package/src/core/geom/3d/shape/UnionShape3D.d.ts +47 -5
- package/src/core/geom/3d/shape/UnionShape3D.d.ts.map +1 -1
- package/src/core/geom/3d/shape/UnitCubeShape3D.d.ts +12 -5
- package/src/core/geom/3d/shape/UnitCubeShape3D.d.ts.map +1 -1
- package/src/core/geom/3d/shape/UnitSphereShape3D.d.ts +17 -5
- package/src/core/geom/3d/shape/UnitSphereShape3D.d.ts.map +1 -1
- package/src/core/geom/3d/shape/json/shape_to_type.d.ts.map +1 -1
- package/src/core/geom/3d/shape/json/shape_to_type.js +4 -1
- package/src/core/geom/3d/shape/json/type_adapters.d.ts +17 -2
- package/src/core/geom/3d/shape/json/type_adapters.d.ts.map +1 -1
- package/src/core/geom/3d/shape/json/type_adapters.js +18 -2
- package/src/core/geom/3d/shape/util/compute_signed_distance_gradient_by_sampling.d.ts.map +1 -1
- package/src/core/geom/3d/shape/util/compute_signed_distance_gradient_by_sampling.js +51 -48
- package/src/core/geom/3d/tetrahedra/compute_bounding_simplex_3d.d.ts +1 -1
- package/src/core/geom/3d/tetrahedra/compute_bounding_simplex_3d.js +1 -1
- package/src/core/geom/ConicRay.d.ts +1 -1
- package/src/core/geom/ConicRay.js +1 -1
- package/src/core/geom/Quaternion.d.ts +2 -2
- package/src/core/geom/Quaternion.js +2 -2
- package/src/core/geom/Vector1.d.ts +1 -1
- package/src/core/geom/Vector1.js +1 -1
- package/src/core/geom/Vector2.d.ts +1 -1
- package/src/core/geom/Vector2.js +1 -1
- package/src/core/geom/Vector3.d.ts +1 -1
- package/src/core/geom/Vector3.js +1 -1
- package/src/core/geom/packing/miniball/Miniball.d.ts +1 -1
- package/src/core/geom/packing/miniball/Miniball.js +1 -1
- package/src/core/geom/vec3/serialization/v3_binary_equality_decode.d.ts +1 -1
- package/src/core/geom/vec3/serialization/v3_binary_equality_decode.js +1 -1
- package/src/core/geom/vec3/serialization/v3_binary_equality_encode.d.ts +1 -1
- package/src/core/geom/vec3/serialization/v3_binary_equality_encode.js +1 -1
- package/src/core/math/spline/spline3_hermite.d.ts +1 -1
- package/src/core/math/spline/spline3_hermite.js +1 -1
- package/src/core/math/spline/spline3_hermite_bounds.d.ts +1 -1
- package/src/core/math/spline/spline3_hermite_bounds.js +1 -1
- package/src/core/math/spline/spline3_hermite_bounds_t.d.ts +1 -1
- package/src/core/math/spline/spline3_hermite_bounds_t.js +1 -1
- package/src/core/math/spline/spline3_hermite_to_monomial.d.ts +1 -1
- package/src/core/math/spline/spline3_hermite_to_monomial.js +1 -1
- package/src/core/model/ObservedBoolean.d.ts +1 -1
- package/src/core/model/ObservedBoolean.js +1 -1
- package/src/core/model/ObservedString.d.ts +1 -1
- package/src/core/model/ObservedString.js +1 -1
- package/src/core/process/undo/Action.js +1 -1
- package/src/core/process/undo/ActionProcessor.js +1 -1
- package/src/engine/EngineHarness.d.ts.map +1 -1
- package/src/engine/EngineHarness.js +3 -4
- package/src/engine/animation/curve/AnimationCurve.d.ts +1 -1
- package/src/engine/animation/curve/AnimationCurve.js +1 -1
- package/src/engine/animation/curve/Keyframe.d.ts +1 -1
- package/src/engine/animation/curve/Keyframe.js +1 -1
- package/src/engine/animation/curve/animation_curve_compute_aabb.d.ts +1 -1
- package/src/engine/animation/curve/animation_curve_compute_aabb.js +1 -1
- package/src/engine/animation/curve/animation_curve_optimize.d.ts +1 -1
- package/src/engine/animation/curve/animation_curve_optimize.js +2 -2
- package/src/engine/asset/loaders/image/jpeg/JpegImage.js +1 -1
- package/src/engine/asset/loaders/image/png/PNGReader.d.ts.map +1 -1
- package/src/engine/asset/loaders/image/png/PNGReader.js +27 -7
- package/src/engine/asset/loaders/image/png/crc32.d.ts +1 -1
- package/src/engine/asset/loaders/image/png/crc32.js +1 -1
- package/src/engine/control/first-person/DESIGN.md +616 -0
- package/src/engine/control/first-person/FirstPersonPlayerController.d.ts +229 -0
- package/src/engine/control/first-person/FirstPersonPlayerController.d.ts.map +1 -0
- package/src/engine/control/first-person/FirstPersonPlayerController.js +176 -0
- package/src/engine/control/first-person/FirstPersonPlayerControllerConfig.d.ts +251 -0
- package/src/engine/control/first-person/FirstPersonPlayerControllerConfig.d.ts.map +1 -0
- package/src/engine/control/first-person/FirstPersonPlayerControllerConfig.js +205 -0
- package/src/engine/control/first-person/FirstPersonPlayerControllerSystem.d.ts +151 -0
- package/src/engine/control/first-person/FirstPersonPlayerControllerSystem.d.ts.map +1 -0
- package/src/engine/control/first-person/FirstPersonPlayerControllerSystem.js +799 -0
- package/src/engine/control/first-person/math/computeJumpFromApex.d.ts +23 -0
- package/src/engine/control/first-person/math/computeJumpFromApex.d.ts.map +1 -0
- package/src/engine/control/first-person/math/computeJumpFromApex.js +23 -0
- package/src/engine/control/first-person/math/criticallyDampedSpring.d.ts +23 -0
- package/src/engine/control/first-person/math/criticallyDampedSpring.d.ts.map +1 -0
- package/src/engine/control/first-person/math/criticallyDampedSpring.js +34 -0
- package/src/engine/control/first-person/math/dampedSpringStep.d.ts +23 -0
- package/src/engine/control/first-person/math/dampedSpringStep.d.ts.map +1 -0
- package/src/engine/control/first-person/math/dampedSpringStep.js +72 -0
- package/src/engine/control/first-person/math/stepTowards.d.ts +12 -0
- package/src/engine/control/first-person/math/stepTowards.d.ts.map +1 -0
- package/src/engine/control/first-person/math/stepTowards.js +20 -0
- package/src/engine/control/first-person/pose/FirstPersonPose.d.ts +69 -0
- package/src/engine/control/first-person/pose/FirstPersonPose.d.ts.map +1 -0
- package/src/engine/control/first-person/pose/FirstPersonPose.js +91 -0
- package/src/engine/control/first-person/prototype_first_person_controller.d.ts +2 -0
- package/src/engine/control/first-person/prototype_first_person_controller.d.ts.map +1 -0
- package/src/engine/control/first-person/prototype_first_person_controller.js +314 -0
- package/src/engine/ecs/Entity.js +1 -1
- package/src/engine/ecs/EntityComponentDataset.js +1 -1
- package/src/engine/ecs/EntityManager.d.ts +3 -3
- package/src/engine/ecs/EntityManager.d.ts.map +1 -1
- package/src/engine/ecs/EntityManager.js +14 -9
- package/src/engine/ecs/EntityObserver.js +1 -1
- package/src/engine/ecs/EntityReference.d.ts +1 -1
- package/src/engine/ecs/EntityReference.js +1 -1
- package/src/engine/ecs/System.d.ts.map +1 -1
- package/src/engine/ecs/System.js +3 -3
- package/src/engine/ecs/attachment/AttachmentSystem.d.ts +2 -2
- package/src/engine/ecs/attachment/AttachmentSystem.d.ts.map +1 -1
- package/src/engine/ecs/guid/UUID.d.ts +1 -1
- package/src/engine/ecs/guid/UUID.js +1 -1
- package/src/engine/ecs/name/Name.d.ts +1 -1
- package/src/engine/ecs/name/Name.js +1 -1
- package/src/engine/ecs/parent/ParentEntity.js +1 -1
- package/src/engine/ecs/storage/BinaryBufferDeSerializer.d.ts +1 -1
- package/src/engine/ecs/storage/BinaryBufferDeSerializer.js +1 -1
- package/src/engine/ecs/storage/BinaryBufferSerializer.d.ts +1 -1
- package/src/engine/ecs/storage/BinaryBufferSerializer.js +1 -1
- package/src/engine/ecs/storage/binary/BinaryClassSerializationAdapter.js +1 -1
- package/src/engine/ecs/storage/binary/BinarySerializationRegistry.d.ts +1 -1
- package/src/engine/ecs/storage/binary/BinarySerializationRegistry.js +1 -1
- package/src/engine/ecs/storage/binary/collection/BinaryCollectionDeSerializer.d.ts +1 -1
- package/src/engine/ecs/storage/binary/collection/BinaryCollectionDeSerializer.js +1 -1
- package/src/engine/ecs/transform/Transform.d.ts +1 -1
- package/src/engine/ecs/transform/Transform.js +1 -1
- package/src/engine/graphics/impostors/octahedral/ImpostorBaker.d.ts.map +1 -1
- package/src/engine/graphics/impostors/octahedral/ImpostorBaker.js +10 -1
- package/src/engine/graphics/impostors/voxel/README.md +149 -0
- package/src/engine/graphics/impostors/voxel/VoxelImpostorBaker.d.ts +91 -0
- package/src/engine/graphics/impostors/voxel/VoxelImpostorBaker.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/VoxelImpostorBaker.js +376 -0
- package/src/engine/graphics/impostors/voxel/VoxelImpostorDescription.d.ts +128 -0
- package/src/engine/graphics/impostors/voxel/VoxelImpostorDescription.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/VoxelImpostorDescription.js +141 -0
- package/src/engine/graphics/impostors/voxel/bake/read_atlas_to_samples.d.ts +38 -0
- package/src/engine/graphics/impostors/voxel/bake/read_atlas_to_samples.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/bake/read_atlas_to_samples.js +338 -0
- package/src/engine/graphics/impostors/voxel/bake/voxelize_samples.d.ts +43 -0
- package/src/engine/graphics/impostors/voxel/bake/voxelize_samples.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/bake/voxelize_samples.js +192 -0
- package/src/engine/graphics/impostors/voxel/prototype_voxel_impostors.d.ts +2 -0
- package/src/engine/graphics/impostors/voxel/prototype_voxel_impostors.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/prototype_voxel_impostors.js +343 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderDepthV0.d.ts +13 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderDepthV0.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderDepthV0.js +99 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderLitV0.d.ts +19 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderLitV0.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderLitV0.js +231 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderNormalsV0.d.ts +5 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderNormalsV0.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderNormalsV0.js +70 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderV0.d.ts +13 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderV0.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderV0.js +127 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderViewportDepthV0.d.ts +5 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderViewportDepthV0.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/shader/VoxelImpostorShaderViewportDepthV0.js +68 -0
- package/src/engine/graphics/impostors/voxel/util/make_voxel_impostor_geometry.d.ts +27 -0
- package/src/engine/graphics/impostors/voxel/util/make_voxel_impostor_geometry.d.ts.map +1 -0
- package/src/engine/graphics/impostors/voxel/util/make_voxel_impostor_geometry.js +96 -0
- package/src/engine/graphics/particles/particular/engine/utils/volume/ParticleVolume.d.ts +113 -29
- package/src/engine/graphics/render/forward_plus/SPECIFICATION.md +1 -1
- package/src/engine/graphics/texture/sampler/Sampler2D.d.ts +1 -1
- package/src/engine/graphics/texture/sampler/Sampler2D.js +1 -1
- package/src/engine/graphics/texture/sampler/distance/computeSignedDistanceField_NaiveFlood.d.ts +1 -1
- package/src/engine/graphics/texture/sampler/distance/computeSignedDistanceField_NaiveFlood.js +1 -1
- package/src/engine/graphics/util/build_max_height_pyramid.d.ts.map +1 -1
- package/src/engine/graphics/util/build_max_height_pyramid.js +1 -7
- package/src/engine/input/devices/InputDeviceSwitch.js +1 -1
- package/src/engine/input/devices/KeyboardDevice.js +1 -1
- package/src/engine/input/devices/PointerDevice.js +1 -1
- package/src/engine/intelligence/behavior/Behavior.js +1 -1
- package/src/engine/intelligence/behavior/SelectorBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/SelectorBehavior.js +1 -1
- package/src/engine/intelligence/behavior/behavior_to_dot.d.ts +1 -1
- package/src/engine/intelligence/behavior/behavior_to_dot.js +1 -1
- package/src/engine/intelligence/behavior/composite/CompositeBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/composite/CompositeBehavior.js +1 -1
- package/src/engine/intelligence/behavior/composite/ParallelBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/composite/ParallelBehavior.js +1 -1
- package/src/engine/intelligence/behavior/composite/SequenceBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/composite/SequenceBehavior.js +1 -1
- package/src/engine/intelligence/behavior/decorator/AbstractDecoratorBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/decorator/AbstractDecoratorBehavior.js +1 -1
- package/src/engine/intelligence/behavior/decorator/IgnoreFailureBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/decorator/IgnoreFailureBehavior.js +1 -1
- package/src/engine/intelligence/behavior/decorator/InvertStatusBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/decorator/InvertStatusBehavior.js +1 -1
- package/src/engine/intelligence/behavior/decorator/RepeatBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/decorator/RepeatBehavior.js +1 -1
- package/src/engine/intelligence/behavior/decorator/RepeatUntilSuccessBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/decorator/RepeatUntilSuccessBehavior.js +1 -1
- package/src/engine/intelligence/behavior/ecs/BehaviorComponent.d.ts +1 -1
- package/src/engine/intelligence/behavior/ecs/BehaviorComponent.js +1 -1
- package/src/engine/intelligence/behavior/ecs/BehaviorSystem.d.ts +1 -1
- package/src/engine/intelligence/behavior/ecs/BehaviorSystem.js +1 -1
- package/src/engine/intelligence/behavior/ecs/DieBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/ecs/DieBehavior.js +1 -1
- package/src/engine/intelligence/behavior/ecs/EntityBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/ecs/EntityBehavior.js +1 -1
- package/src/engine/intelligence/behavior/ecs/KillBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/ecs/KillBehavior.js +1 -1
- package/src/engine/intelligence/behavior/ecs/SendEventBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/ecs/SendEventBehavior.js +1 -1
- package/src/engine/intelligence/behavior/ecs/WaitForEventBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/ecs/WaitForEventBehavior.js +1 -1
- package/src/engine/intelligence/behavior/primitive/ActionBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/primitive/ActionBehavior.js +1 -1
- package/src/engine/intelligence/behavior/primitive/FailingBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/primitive/FailingBehavior.js +1 -1
- package/src/engine/intelligence/behavior/primitive/PromiseBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/primitive/PromiseBehavior.js +1 -1
- package/src/engine/intelligence/behavior/primitive/SucceedingBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/primitive/SucceedingBehavior.js +1 -1
- package/src/engine/intelligence/behavior/selector/WeightedElement.d.ts +1 -1
- package/src/engine/intelligence/behavior/selector/WeightedElement.js +1 -1
- package/src/engine/intelligence/behavior/selector/WeightedRandomBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/selector/WeightedRandomBehavior.js +1 -1
- package/src/engine/intelligence/behavior/util/BranchBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/util/BranchBehavior.js +1 -1
- package/src/engine/intelligence/behavior/util/DelayBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/util/DelayBehavior.js +1 -1
- package/src/engine/intelligence/behavior/util/LogMessageBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/util/LogMessageBehavior.js +1 -1
- package/src/engine/intelligence/behavior/util/RandomDelayBehavior.d.ts +1 -1
- package/src/engine/intelligence/behavior/util/RandomDelayBehavior.js +1 -1
- package/src/engine/intelligence/blackboard/Blackboard.js +1 -1
- package/src/engine/intelligence/mcts/MonteCarlo.d.ts +1 -1
- package/src/engine/intelligence/mcts/MonteCarlo.js +1 -1
- package/src/engine/intelligence/mcts/MoveEdge.d.ts +1 -1
- package/src/engine/intelligence/mcts/MoveEdge.js +1 -1
- package/src/engine/intelligence/mcts/StateNode.d.ts +1 -1
- package/src/engine/intelligence/mcts/StateNode.js +1 -1
- package/src/engine/intelligence/resource/ActionSequence.d.ts +1 -1
- package/src/engine/intelligence/resource/ActionSequence.js +1 -1
- package/src/engine/intelligence/resource/Resource.d.ts +1 -1
- package/src/engine/intelligence/resource/Resource.js +1 -1
- package/src/engine/intelligence/resource/ResourceAllocation.d.ts +1 -1
- package/src/engine/intelligence/resource/ResourceAllocation.js +1 -1
- package/src/engine/intelligence/resource/ResourceAllocationBid.d.ts +1 -1
- package/src/engine/intelligence/resource/ResourceAllocationBid.js +1 -1
- package/src/engine/intelligence/resource/ResourceAllocationSolver.d.ts +1 -1
- package/src/engine/intelligence/resource/ResourceAllocationSolver.js +1 -1
- package/src/engine/intelligence/resource/StrategicResourceAllocator.d.ts +1 -1
- package/src/engine/intelligence/resource/StrategicResourceAllocator.js +1 -1
- package/src/engine/intelligence/resource/TacticalModule.d.ts +1 -1
- package/src/engine/intelligence/resource/TacticalModule.js +1 -1
- package/src/engine/network/NetworkSession.d.ts +1 -1
- package/src/engine/network/NetworkSession.js +1 -1
- package/src/engine/network/adapters/QuaternionInterpolationAdapter.d.ts +1 -1
- package/src/engine/network/adapters/QuaternionInterpolationAdapter.js +1 -1
- package/src/engine/network/adapters/TransformInterpolationAdapter.d.ts +1 -1
- package/src/engine/network/adapters/TransformInterpolationAdapter.js +1 -1
- package/src/engine/network/adapters/TransformReplicationAdapter.d.ts +1 -1
- package/src/engine/network/adapters/TransformReplicationAdapter.js +1 -1
- package/src/engine/network/adapters/Vector3InterpolationAdapter.d.ts +1 -1
- package/src/engine/network/adapters/Vector3InterpolationAdapter.js +1 -1
- package/src/engine/network/core/quantize/quantize_float.d.ts +1 -1
- package/src/engine/network/core/quantize/quantize_float.js +1 -1
- package/src/engine/network/core/quantize/quantize_position.d.ts +1 -1
- package/src/engine/network/core/quantize/quantize_position.js +1 -1
- package/src/engine/network/core/sequence/ack_bitfield.d.ts +1 -1
- package/src/engine/network/core/sequence/ack_bitfield.js +1 -1
- package/src/engine/network/core/sequence/seq16.d.ts +1 -1
- package/src/engine/network/core/sequence/seq16.js +1 -1
- package/src/engine/network/core/sequence/seq32.d.ts +1 -1
- package/src/engine/network/core/sequence/seq32.js +1 -1
- package/src/engine/network/diagnostics/BandwidthMeter.d.ts +1 -1
- package/src/engine/network/diagnostics/BandwidthMeter.js +1 -1
- package/src/engine/network/diagnostics/ReplayLog.d.ts +1 -1
- package/src/engine/network/diagnostics/ReplayLog.js +1 -1
- package/src/engine/network/diagnostics/SyncTest.d.ts +1 -1
- package/src/engine/network/diagnostics/SyncTest.js +1 -1
- package/src/engine/network/ecs/NetworkSystem.d.ts +1 -1
- package/src/engine/network/ecs/NetworkSystem.js +1 -1
- package/src/engine/network/ecs/components/NetworkIdentity.d.ts +1 -1
- package/src/engine/network/ecs/components/NetworkIdentity.js +1 -1
- package/src/engine/network/ecs/serialization/NetworkIdentitySerializationAdapter.d.ts +1 -1
- package/src/engine/network/ecs/serialization/NetworkIdentitySerializationAdapter.js +1 -1
- package/src/engine/network/orchestrator/NetworkPeer.d.ts +1 -1
- package/src/engine/network/orchestrator/NetworkPeer.js +1 -1
- package/src/engine/network/orchestrator/ServerAuthoritativeClient.d.ts +1 -1
- package/src/engine/network/orchestrator/ServerAuthoritativeClient.js +1 -1
- package/src/engine/network/orchestrator/ServerAuthoritativeServer.d.ts +1 -1
- package/src/engine/network/orchestrator/ServerAuthoritativeServer.js +1 -1
- package/src/engine/network/replication/Replicator.d.ts +1 -1
- package/src/engine/network/replication/Replicator.js +1 -1
- package/src/engine/network/replication/ScopeFilter.d.ts +2 -2
- package/src/engine/network/replication/ScopeFilter.js +2 -2
- package/src/engine/network/sim/ActionLog.d.ts +1 -1
- package/src/engine/network/sim/ActionLog.js +1 -1
- package/src/engine/network/sim/BinaryInterpolationAdapter.d.ts +1 -1
- package/src/engine/network/sim/BinaryInterpolationAdapter.js +1 -1
- package/src/engine/network/sim/InterpolationLog.d.ts +1 -1
- package/src/engine/network/sim/InterpolationLog.js +1 -1
- package/src/engine/network/sim/ReplicatedComponentRegistry.d.ts +1 -1
- package/src/engine/network/sim/ReplicatedComponentRegistry.js +1 -1
- package/src/engine/network/sim/RewindEngine.d.ts +1 -1
- package/src/engine/network/sim/RewindEngine.js +1 -1
- package/src/engine/network/sim/SimAction.d.ts +1 -1
- package/src/engine/network/sim/SimAction.js +1 -1
- package/src/engine/network/sim/SimActionExecutor.d.ts +1 -1
- package/src/engine/network/sim/SimActionExecutor.js +1 -1
- package/src/engine/network/sim/SimActionRegistry.d.ts +1 -1
- package/src/engine/network/sim/SimActionRegistry.js +1 -1
- package/src/engine/network/sim/SmoothingState.js +1 -1
- package/src/engine/network/sim/Snapshotter.d.ts +1 -1
- package/src/engine/network/sim/Snapshotter.js +1 -1
- package/src/engine/network/sim/SpeculationLog.d.ts +1 -1
- package/src/engine/network/sim/SpeculationLog.js +1 -1
- package/src/engine/network/state/Baseline.d.ts +1 -1
- package/src/engine/network/state/Baseline.js +1 -1
- package/src/engine/network/state/ChangedEntitySet.d.ts +1 -1
- package/src/engine/network/state/ChangedEntitySet.js +1 -1
- package/src/engine/network/state/InputRing.d.ts +1 -1
- package/src/engine/network/state/InputRing.js +1 -1
- package/src/engine/network/state/MutationLedger.d.ts +1 -1
- package/src/engine/network/state/MutationLedger.js +1 -1
- package/src/engine/network/state/PriorityAccumulator.d.ts +1 -1
- package/src/engine/network/state/PriorityAccumulator.js +1 -1
- package/src/engine/network/state/ReplicationSlotTable.d.ts +1 -1
- package/src/engine/network/state/ReplicationSlotTable.js +1 -1
- package/src/engine/network/time/AdaptiveRenderDelay.d.ts +1 -1
- package/src/engine/network/time/AdaptiveRenderDelay.js +1 -1
- package/src/engine/network/time/JitterBuffer.d.ts +1 -1
- package/src/engine/network/time/JitterBuffer.js +1 -1
- package/src/engine/network/time/TimeDilation.d.ts +1 -1
- package/src/engine/network/time/TimeDilation.js +1 -1
- package/src/engine/network/time/TimeSync.d.ts +1 -1
- package/src/engine/network/time/TimeSync.js +1 -1
- package/src/engine/network/transport/Channel.d.ts.map +1 -1
- package/src/engine/network/transport/Channel.js +3 -6
- package/src/engine/network/transport/LoopbackTransport.d.ts +1 -1
- package/src/engine/network/transport/LoopbackTransport.js +1 -1
- package/src/engine/network/transport/ReliableCommandPipeline.d.ts +1 -1
- package/src/engine/network/transport/ReliableCommandPipeline.js +1 -1
- package/src/engine/network/transport/Transport.d.ts +1 -1
- package/src/engine/network/transport/Transport.js +1 -1
- package/src/engine/network/transport/adapters/NodeUDPTransport.d.ts +1 -1
- package/src/engine/network/transport/adapters/NodeUDPTransport.js +2 -2
- package/src/engine/network/transport/adapters/SimulatedTransport.d.ts +1 -1
- package/src/engine/network/transport/adapters/SimulatedTransport.js +1 -1
- package/src/engine/network/transport/adapters/WebRTCDataChannelTransport.d.ts +1 -1
- package/src/engine/network/transport/adapters/WebRTCDataChannelTransport.js +1 -1
- package/src/engine/network/transport/adapters/WebSocketTransport.d.ts +1 -1
- package/src/engine/network/transport/adapters/WebSocketTransport.js +1 -1
- package/src/engine/network/transport/adapters/WebTransportTransport.d.ts +1 -1
- package/src/engine/network/transport/adapters/WebTransportTransport.js +1 -1
- package/src/engine/network/transport/fragments/FragmentAssembler.d.ts +1 -1
- package/src/engine/network/transport/fragments/FragmentAssembler.js +1 -1
- package/src/engine/network/transport/fragments/FragmentRetention.d.ts +1 -1
- package/src/engine/network/transport/fragments/FragmentRetention.js +1 -1
- package/src/engine/network/transport/fragments/packet_size.d.ts +1 -1
- package/src/engine/network/transport/fragments/packet_size.js +1 -1
- package/src/engine/simulation/Ticker.d.ts +1 -1
- package/src/engine/simulation/Ticker.js +1 -1
- package/src/engine/sound/SoundEngine.js +1 -1
- package/src/engine/ui/DraggableAspect.d.ts +1 -1
- package/src/engine/ui/DraggableAspect.js +1 -1
- package/src/view/View.js +1 -1
|
@@ -6,7 +6,7 @@ import { EntityBehavior } from "./EntityBehavior.js";
|
|
|
6
6
|
* Causes another entity to be destroyed
|
|
7
7
|
* Will produce a {@link BehaviorStatus.Failed} if entity could not be destroyed, either because it doesn't exist or the reference is stale
|
|
8
8
|
* @author Alex Goldring
|
|
9
|
-
* @copyright Company Named Limited (c)
|
|
9
|
+
* @copyright Company Named Limited (c) 2026
|
|
10
10
|
*/
|
|
11
11
|
export class KillBehavior extends EntityBehavior {
|
|
12
12
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Dispatch an event to an entity via {@link EntityComponentDataset#sendEvent}
|
|
3
3
|
* @see WaitForEventBehavior
|
|
4
4
|
* @author Alex Goldring
|
|
5
|
-
* @copyright Company Named Limited (c)
|
|
5
|
+
* @copyright Company Named Limited (c) 2026
|
|
6
6
|
*/
|
|
7
7
|
export class SendEventBehavior extends EntityBehavior {
|
|
8
8
|
/**
|
|
@@ -6,7 +6,7 @@ import { EntityBehavior } from "./EntityBehavior.js";
|
|
|
6
6
|
* Dispatch an event to an entity via {@link EntityComponentDataset#sendEvent}
|
|
7
7
|
* @see WaitForEventBehavior
|
|
8
8
|
* @author Alex Goldring
|
|
9
|
-
* @copyright Company Named Limited (c)
|
|
9
|
+
* @copyright Company Named Limited (c) 2026
|
|
10
10
|
*/
|
|
11
11
|
export class SendEventBehavior extends EntityBehavior {
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* No failure condition, will wait forever until the event is detected.
|
|
4
4
|
* @see SendEventBehavior
|
|
5
5
|
* @author Alex Goldring
|
|
6
|
-
* @copyright Company Named Limited (c)
|
|
6
|
+
* @copyright Company Named Limited (c) 2026
|
|
7
7
|
*/
|
|
8
8
|
export class WaitForEventBehavior extends EntityBehavior {
|
|
9
9
|
/**
|
|
@@ -7,7 +7,7 @@ import { EntityBehavior } from "./EntityBehavior.js";
|
|
|
7
7
|
* No failure condition, will wait forever until the event is detected.
|
|
8
8
|
* @see SendEventBehavior
|
|
9
9
|
* @author Alex Goldring
|
|
10
|
-
* @copyright Company Named Limited (c)
|
|
10
|
+
* @copyright Company Named Limited (c) 2026
|
|
11
11
|
*/
|
|
12
12
|
export class WaitForEventBehavior extends EntityBehavior {
|
|
13
13
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* // will print 'Hello World' in console when executed
|
|
7
7
|
* ActionBehavior.from( () => console.log('Hello World') );
|
|
8
8
|
* @author Alex Goldring
|
|
9
|
-
* @copyright Company Named Limited (c)
|
|
9
|
+
* @copyright Company Named Limited (c) 2026
|
|
10
10
|
*/
|
|
11
11
|
export class ActionBehavior<CTX> extends Behavior<CTX> {
|
|
12
12
|
/**
|
|
@@ -10,7 +10,7 @@ import { BehaviorStatus } from "../BehaviorStatus.js";
|
|
|
10
10
|
* // will print 'Hello World' in console when executed
|
|
11
11
|
* ActionBehavior.from( () => console.log('Hello World') );
|
|
12
12
|
* @author Alex Goldring
|
|
13
|
-
* @copyright Company Named Limited (c)
|
|
13
|
+
* @copyright Company Named Limited (c) 2026
|
|
14
14
|
*/
|
|
15
15
|
export class ActionBehavior extends Behavior {
|
|
16
16
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Useful when you need to specify a behavior to fulfill the API, but you don't actually want to perform any action.
|
|
4
4
|
* You usually want to use {@link INSTANCE} singleton
|
|
5
5
|
* @author Alex Goldring
|
|
6
|
-
* @copyright Company Named Limited (c)
|
|
6
|
+
* @copyright Company Named Limited (c) 2026
|
|
7
7
|
*/
|
|
8
8
|
export class SucceedingBehavior extends Behavior<any> {
|
|
9
9
|
/**
|
|
@@ -6,7 +6,7 @@ import { BehaviorStatus } from "../BehaviorStatus.js";
|
|
|
6
6
|
* Useful when you need to specify a behavior to fulfill the API, but you don't actually want to perform any action.
|
|
7
7
|
* You usually want to use {@link INSTANCE} singleton
|
|
8
8
|
* @author Alex Goldring
|
|
9
|
-
* @copyright Company Named Limited (c)
|
|
9
|
+
* @copyright Company Named Limited (c) 2026
|
|
10
10
|
*/
|
|
11
11
|
export class SucceedingBehavior extends Behavior {
|
|
12
12
|
|
|
@@ -7,7 +7,7 @@ import { computeHashFloat } from "../../../../core/primitives/numbers/computeHas
|
|
|
7
7
|
/**
|
|
8
8
|
* @template T
|
|
9
9
|
* @author Alex Goldring
|
|
10
|
-
* @copyright Company Named Limited (c)
|
|
10
|
+
* @copyright Company Named Limited (c) 2026
|
|
11
11
|
*/
|
|
12
12
|
export class WeightedElement {
|
|
13
13
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* ]); // B will be 70 times more likely to be picked than A
|
|
11
11
|
*
|
|
12
12
|
* @author Alex Goldring
|
|
13
|
-
* @copyright Company Named Limited (c)
|
|
13
|
+
* @copyright Company Named Limited (c) 2026
|
|
14
14
|
*/
|
|
15
15
|
export class WeightedRandomBehavior extends Behavior<any> {
|
|
16
16
|
/**
|
|
@@ -16,7 +16,7 @@ import { WeightedElement } from "./WeightedElement.js";
|
|
|
16
16
|
* ]); // B will be 70 times more likely to be picked than A
|
|
17
17
|
*
|
|
18
18
|
* @author Alex Goldring
|
|
19
|
-
* @copyright Company Named Limited (c)
|
|
19
|
+
* @copyright Company Named Limited (c) 2026
|
|
20
20
|
*/
|
|
21
21
|
export class WeightedRandomBehavior extends Behavior {
|
|
22
22
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* If you are not sure if this is the right behavior for your use-case, consider using a selector behavior instead,
|
|
4
4
|
* as selector is a more commonly applicable behavior type
|
|
5
5
|
* @author Alex Goldring
|
|
6
|
-
* @copyright Company Named Limited (c)
|
|
6
|
+
* @copyright Company Named Limited (c) 2026
|
|
7
7
|
*/
|
|
8
8
|
export class BranchBehavior extends Behavior<any> {
|
|
9
9
|
/**
|
|
@@ -9,7 +9,7 @@ import { SucceedingBehavior } from "../primitive/SucceedingBehavior.js";
|
|
|
9
9
|
* If you are not sure if this is the right behavior for your use-case, consider using a selector behavior instead,
|
|
10
10
|
* as selector is a more commonly applicable behavior type
|
|
11
11
|
* @author Alex Goldring
|
|
12
|
-
* @copyright Company Named Limited (c)
|
|
12
|
+
* @copyright Company Named Limited (c) 2026
|
|
13
13
|
*/
|
|
14
14
|
export class BranchBehavior extends Behavior {
|
|
15
15
|
#branch_success = SucceedingBehavior.INSTANCE
|
|
@@ -5,7 +5,7 @@ import { BehaviorStatus } from "../BehaviorStatus.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Wait for a certain amount of time, then succeed
|
|
7
7
|
* @author Alex Goldring
|
|
8
|
-
* @copyright Company Named Limited (c)
|
|
8
|
+
* @copyright Company Named Limited (c) 2026
|
|
9
9
|
*/
|
|
10
10
|
export class DelayBehavior extends Behavior {
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ import { BehaviorStatus } from "../BehaviorStatus.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Prints given message into the console
|
|
7
7
|
* @author Alex Goldring
|
|
8
|
-
* @copyright Company Named Limited (c)
|
|
8
|
+
* @copyright Company Named Limited (c) 2026
|
|
9
9
|
*/
|
|
10
10
|
export class LogMessageBehavior extends Behavior {
|
|
11
11
|
/**
|
|
@@ -8,7 +8,7 @@ import { make_blackboard_proxy } from "./make_blackboard_proxy.js";
|
|
|
8
8
|
/**
|
|
9
9
|
*
|
|
10
10
|
* @author Alex Goldring
|
|
11
|
-
* @copyright Company Named Limited (c)
|
|
11
|
+
* @copyright Company Named Limited (c) 2026
|
|
12
12
|
*/
|
|
13
13
|
export class Blackboard extends AbstractBlackboard {
|
|
14
14
|
constructor() {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* A bid represents a tactical action. As such, it is atomic, either all required resources are allocated, or none.
|
|
4
4
|
*
|
|
5
5
|
* @author Alex Goldring
|
|
6
|
-
* @copyright Company Named Limited (c)
|
|
6
|
+
* @copyright Company Named Limited (c) 2026
|
|
7
7
|
*/
|
|
8
8
|
export class ResourceAllocationBid<A> {
|
|
9
9
|
/**
|
|
@@ -6,7 +6,7 @@ import { ActionSequence } from "./ActionSequence.js";
|
|
|
6
6
|
* A bid represents a tactical action. As such, it is atomic, either all required resources are allocated, or none.
|
|
7
7
|
*
|
|
8
8
|
* @author Alex Goldring
|
|
9
|
-
* @copyright Company Named Limited (c)
|
|
9
|
+
* @copyright Company Named Limited (c) 2026
|
|
10
10
|
*/
|
|
11
11
|
export class ResourceAllocationBid {
|
|
12
12
|
/**
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* const resources = [new Resource(1, "a")];
|
|
9
9
|
* const actions = await allocator.allocate(resources); // list of actions that use resources
|
|
10
10
|
* @author Alex Goldring
|
|
11
|
-
* @copyright Company Named Limited (c)
|
|
11
|
+
* @copyright Company Named Limited (c) 2026
|
|
12
12
|
*/
|
|
13
13
|
export class StrategicResourceAllocator<A> {
|
|
14
14
|
/**
|
|
@@ -13,7 +13,7 @@ import { ResourceAllocationSolver } from "./ResourceAllocationSolver.js";
|
|
|
13
13
|
* const resources = [new Resource(1, "a")];
|
|
14
14
|
* const actions = await allocator.allocate(resources); // list of actions that use resources
|
|
15
15
|
* @author Alex Goldring
|
|
16
|
-
* @copyright Company Named Limited (c)
|
|
16
|
+
* @copyright Company Named Limited (c) 2026
|
|
17
17
|
*/
|
|
18
18
|
export class StrategicResourceAllocator {
|
|
19
19
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* steps (animation-blended joints, slow snapshot rate).
|
|
5
5
|
*
|
|
6
6
|
* @author Alex Goldring
|
|
7
|
-
* @copyright Company Named Limited (c)
|
|
7
|
+
* @copyright Company Named Limited (c) 2026
|
|
8
8
|
*/
|
|
9
9
|
export class QuaternionInterpolationAdapter extends BinaryInterpolationAdapter {
|
|
10
10
|
/** @inheritdoc */
|
|
@@ -6,7 +6,7 @@ import { BinaryInterpolationAdapter } from "../sim/BinaryInterpolationAdapter.js
|
|
|
6
6
|
* steps (animation-blended joints, slow snapshot rate).
|
|
7
7
|
*
|
|
8
8
|
* @author Alex Goldring
|
|
9
|
-
* @copyright Company Named Limited (c)
|
|
9
|
+
* @copyright Company Named Limited (c) 2026
|
|
10
10
|
*/
|
|
11
11
|
export class QuaternionInterpolationAdapter extends BinaryInterpolationAdapter {
|
|
12
12
|
|
|
@@ -21,7 +21,7 @@ const scratch = new Float32Array(16);
|
|
|
21
21
|
* equality-encoded).
|
|
22
22
|
*
|
|
23
23
|
* @author Alex Goldring
|
|
24
|
-
* @copyright Company Named Limited (c)
|
|
24
|
+
* @copyright Company Named Limited (c) 2026
|
|
25
25
|
*/
|
|
26
26
|
export class TransformInterpolationAdapter extends BinaryInterpolationAdapter {
|
|
27
27
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* Float64 position precision while wire packets stay tight.
|
|
16
16
|
*
|
|
17
17
|
* @author Alex Goldring
|
|
18
|
-
* @copyright Company Named Limited (c)
|
|
18
|
+
* @copyright Company Named Limited (c) 2026
|
|
19
19
|
*/
|
|
20
20
|
export class TransformReplicationAdapter extends BinaryClassSerializationAdapter<any> {
|
|
21
21
|
constructor();
|
|
@@ -31,7 +31,7 @@ const decode_scratch = new Float32Array(4);
|
|
|
31
31
|
* Float64 position precision while wire packets stay tight.
|
|
32
32
|
*
|
|
33
33
|
* @author Alex Goldring
|
|
34
|
-
* @copyright Company Named Limited (c)
|
|
34
|
+
* @copyright Company Named Limited (c) 2026
|
|
35
35
|
*/
|
|
36
36
|
export class TransformReplicationAdapter extends BinaryClassSerializationAdapter {
|
|
37
37
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* same format (the simplest "naked Vector3" encoding).
|
|
11
11
|
*
|
|
12
12
|
* @author Alex Goldring
|
|
13
|
-
* @copyright Company Named Limited (c)
|
|
13
|
+
* @copyright Company Named Limited (c) 2026
|
|
14
14
|
*/
|
|
15
15
|
export class Vector3InterpolationAdapter extends BinaryInterpolationAdapter {
|
|
16
16
|
}
|
|
@@ -13,7 +13,7 @@ import { BinaryInterpolationAdapter } from "../sim/BinaryInterpolationAdapter.js
|
|
|
13
13
|
* same format (the simplest "naked Vector3" encoding).
|
|
14
14
|
*
|
|
15
15
|
* @author Alex Goldring
|
|
16
|
-
* @copyright Company Named Limited (c)
|
|
16
|
+
* @copyright Company Named Limited (c) 2026
|
|
17
17
|
*/
|
|
18
18
|
export class Vector3InterpolationAdapter extends BinaryInterpolationAdapter {
|
|
19
19
|
|
|
@@ -18,7 +18,7 @@ import { dequantize_float, quantize_float } from "./quantize_float.js";
|
|
|
18
18
|
* the conventions used in the netcode literature.)
|
|
19
19
|
*
|
|
20
20
|
* @author Alex Goldring
|
|
21
|
-
* @copyright Company Named Limited (c)
|
|
21
|
+
* @copyright Company Named Limited (c) 2026
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* All functions are pure. The bitfield is treated as unsigned via `>>> 0`.
|
|
14
14
|
*
|
|
15
15
|
* @author Alex Goldring
|
|
16
|
-
* @copyright Company Named Limited (c)
|
|
16
|
+
* @copyright Company Named Limited (c) 2026
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Build an ack bitfield from the current "latest received" seq and a callback that
|
|
@@ -15,7 +15,7 @@ import { seq16_distance } from "./seq16.js";
|
|
|
15
15
|
* All functions are pure. The bitfield is treated as unsigned via `>>> 0`.
|
|
16
16
|
*
|
|
17
17
|
* @author Alex Goldring
|
|
18
|
-
* @copyright Company Named Limited (c)
|
|
18
|
+
* @copyright Company Named Limited (c) 2026
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/**
|