@vyr/three 0.0.13 → 0.0.15
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/package.json +1 -25
- package/build/actor/ComposerServiceActor.d.ts +0 -23
- package/build/actor/ComposerServiceActor.js +0 -93
- package/build/actor/ComposerServiceActor.js.map +0 -1
- package/build/actor/GeometryActor.d.ts +0 -7
- package/build/actor/GeometryActor.js +0 -10
- package/build/actor/GeometryActor.js.map +0 -1
- package/build/actor/HTMLConvertActor.d.ts +0 -14
- package/build/actor/HTMLConvertActor.js +0 -52
- package/build/actor/HTMLConvertActor.js.map +0 -1
- package/build/actor/MaterialActor.d.ts +0 -7
- package/build/actor/MaterialActor.js +0 -10
- package/build/actor/MaterialActor.js.map +0 -1
- package/build/actor/NodeActor.d.ts +0 -9
- package/build/actor/NodeActor.js +0 -21
- package/build/actor/NodeActor.js.map +0 -1
- package/build/actor/OrbitControllerActor.d.ts +0 -20
- package/build/actor/OrbitControllerActor.js +0 -103
- package/build/actor/OrbitControllerActor.js.map +0 -1
- package/build/actor/PassActor.d.ts +0 -8
- package/build/actor/PassActor.js +0 -16
- package/build/actor/PassActor.js.map +0 -1
- package/build/actor/SceneServiceActor.d.ts +0 -21
- package/build/actor/SceneServiceActor.js +0 -112
- package/build/actor/SceneServiceActor.js.map +0 -1
- package/build/actor/TextureActor.d.ts +0 -7
- package/build/actor/TextureActor.js +0 -10
- package/build/actor/TextureActor.js.map +0 -1
- package/build/actor/TransformControllerActor.d.ts +0 -10
- package/build/actor/TransformControllerActor.js +0 -19
- package/build/actor/TransformControllerActor.js.map +0 -1
- package/build/actor/index.d.ts +0 -8
- package/build/actor/index.js +0 -11
- package/build/actor/index.js.map +0 -1
- package/build/asset/index.d.ts +0 -1
- package/build/asset/index.js +0 -219
- package/build/asset/index.js.map +0 -1
- package/build/controls/CameraControls.d.ts +0 -647
- package/build/controls/CameraControls.js +0 -2332
- package/build/controls/CameraControls.js.map +0 -1
- package/build/controls/TransformControls.d.ts +0 -72
- package/build/controls/TransformControls.js +0 -1359
- package/build/controls/TransformControls.js.map +0 -1
- package/build/controls/index.d.ts +0 -2
- package/build/controls/index.js +0 -3
- package/build/controls/index.js.map +0 -1
- package/build/descriptor/ComposerServiceDescriptor.d.ts +0 -33
- package/build/descriptor/ComposerServiceDescriptor.js +0 -42
- package/build/descriptor/ComposerServiceDescriptor.js.map +0 -1
- package/build/descriptor/GeoMapDescriptor.d.ts +0 -12
- package/build/descriptor/GeoMapDescriptor.js +0 -22
- package/build/descriptor/GeoMapDescriptor.js.map +0 -1
- package/build/descriptor/HTMLConvertDescriptor.d.ts +0 -6
- package/build/descriptor/HTMLConvertDescriptor.js +0 -10
- package/build/descriptor/HTMLConvertDescriptor.js.map +0 -1
- package/build/descriptor/InstancedMeshDescriptor.d.ts +0 -12
- package/build/descriptor/InstancedMeshDescriptor.js +0 -12
- package/build/descriptor/InstancedMeshDescriptor.js.map +0 -1
- package/build/descriptor/MeshDescriptor.d.ts +0 -8
- package/build/descriptor/MeshDescriptor.js +0 -14
- package/build/descriptor/MeshDescriptor.js.map +0 -1
- package/build/descriptor/ModelDescriptor.d.ts +0 -7
- package/build/descriptor/ModelDescriptor.js +0 -12
- package/build/descriptor/ModelDescriptor.js.map +0 -1
- package/build/descriptor/OrbitControllerDescriptor.d.ts +0 -54
- package/build/descriptor/OrbitControllerDescriptor.js +0 -73
- package/build/descriptor/OrbitControllerDescriptor.js.map +0 -1
- package/build/descriptor/OrthographicCameraDescriptor.d.ts +0 -6
- package/build/descriptor/OrthographicCameraDescriptor.js +0 -10
- package/build/descriptor/OrthographicCameraDescriptor.js.map +0 -1
- package/build/descriptor/ParticleDescriptor.d.ts +0 -55
- package/build/descriptor/ParticleDescriptor.js +0 -85
- package/build/descriptor/ParticleDescriptor.js.map +0 -1
- package/build/descriptor/PassDescriptor.d.ts +0 -16
- package/build/descriptor/PassDescriptor.js +0 -23
- package/build/descriptor/PassDescriptor.js.map +0 -1
- package/build/descriptor/PerspectiveCameraDescriptor.d.ts +0 -7
- package/build/descriptor/PerspectiveCameraDescriptor.js +0 -12
- package/build/descriptor/PerspectiveCameraDescriptor.js.map +0 -1
- package/build/descriptor/PointsDescriptor.d.ts +0 -8
- package/build/descriptor/PointsDescriptor.js +0 -14
- package/build/descriptor/PointsDescriptor.js.map +0 -1
- package/build/descriptor/SceneServiceDescriptor.d.ts +0 -20
- package/build/descriptor/SceneServiceDescriptor.js +0 -35
- package/build/descriptor/SceneServiceDescriptor.js.map +0 -1
- package/build/descriptor/SpriteDescriptor.d.ts +0 -8
- package/build/descriptor/SpriteDescriptor.js +0 -14
- package/build/descriptor/SpriteDescriptor.js.map +0 -1
- package/build/descriptor/TextDescriptor.d.ts +0 -21
- package/build/descriptor/TextDescriptor.js +0 -37
- package/build/descriptor/TextDescriptor.js.map +0 -1
- package/build/descriptor/TransformControllerDescriptor.d.ts +0 -20
- package/build/descriptor/TransformControllerDescriptor.js +0 -22
- package/build/descriptor/TransformControllerDescriptor.js.map +0 -1
- package/build/descriptor/animation/AnimationActionDescriptor.d.ts +0 -27
- package/build/descriptor/animation/AnimationActionDescriptor.js +0 -46
- package/build/descriptor/animation/AnimationActionDescriptor.js.map +0 -1
- package/build/descriptor/geometry/BoxGeometryDescriptor.d.ts +0 -14
- package/build/descriptor/geometry/BoxGeometryDescriptor.js +0 -23
- package/build/descriptor/geometry/BoxGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/BufferGeometryDescriptor.d.ts +0 -8
- package/build/descriptor/geometry/BufferGeometryDescriptor.js +0 -12
- package/build/descriptor/geometry/BufferGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/CircleGeometryDescriptor.d.ts +0 -12
- package/build/descriptor/geometry/CircleGeometryDescriptor.js +0 -19
- package/build/descriptor/geometry/CircleGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/CylinderGeometryDescriptor.d.ts +0 -16
- package/build/descriptor/geometry/CylinderGeometryDescriptor.js +0 -27
- package/build/descriptor/geometry/CylinderGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/ExtrudeGeometryDescriptor.d.ts +0 -18
- package/build/descriptor/geometry/ExtrudeGeometryDescriptor.js +0 -33
- package/build/descriptor/geometry/ExtrudeGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/GeometryDescriptor.d.ts +0 -5
- package/build/descriptor/geometry/GeometryDescriptor.js +0 -7
- package/build/descriptor/geometry/GeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/PlaneGeometryDescriptor.d.ts +0 -12
- package/build/descriptor/geometry/PlaneGeometryDescriptor.js +0 -19
- package/build/descriptor/geometry/PlaneGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/RingGeometryDescriptor.d.ts +0 -14
- package/build/descriptor/geometry/RingGeometryDescriptor.js +0 -23
- package/build/descriptor/geometry/RingGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/SphereGeometryDescriptor.d.ts +0 -14
- package/build/descriptor/geometry/SphereGeometryDescriptor.js +0 -24
- package/build/descriptor/geometry/SphereGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/SurfaceGeometryDescriptor.d.ts +0 -8
- package/build/descriptor/geometry/SurfaceGeometryDescriptor.js +0 -12
- package/build/descriptor/geometry/SurfaceGeometryDescriptor.js.map +0 -1
- package/build/descriptor/geometry/TubeGeometryDescriptor.d.ts +0 -13
- package/build/descriptor/geometry/TubeGeometryDescriptor.js +0 -23
- package/build/descriptor/geometry/TubeGeometryDescriptor.js.map +0 -1
- package/build/descriptor/helper/AxesHelperDescriptor.d.ts +0 -5
- package/build/descriptor/helper/AxesHelperDescriptor.js +0 -7
- package/build/descriptor/helper/AxesHelperDescriptor.js.map +0 -1
- package/build/descriptor/index.d.ts +0 -43
- package/build/descriptor/index.js +0 -46
- package/build/descriptor/index.js.map +0 -1
- package/build/descriptor/light/AmbientLightDescriptor.d.ts +0 -5
- package/build/descriptor/light/AmbientLightDescriptor.js +0 -7
- package/build/descriptor/light/AmbientLightDescriptor.js.map +0 -1
- package/build/descriptor/light/DirectionalLightDescriptor.d.ts +0 -20
- package/build/descriptor/light/DirectionalLightDescriptor.js +0 -21
- package/build/descriptor/light/DirectionalLightDescriptor.js.map +0 -1
- package/build/descriptor/light/HemisphereLightDescriptor.d.ts +0 -8
- package/build/descriptor/light/HemisphereLightDescriptor.js +0 -12
- package/build/descriptor/light/HemisphereLightDescriptor.js.map +0 -1
- package/build/descriptor/light/LightDescriptor.d.ts +0 -8
- package/build/descriptor/light/LightDescriptor.js +0 -14
- package/build/descriptor/light/LightDescriptor.js.map +0 -1
- package/build/descriptor/light/PointLightDescriptor.d.ts +0 -15
- package/build/descriptor/light/PointLightDescriptor.js +0 -21
- package/build/descriptor/light/PointLightDescriptor.js.map +0 -1
- package/build/descriptor/light/RectAreaLightDescriptor.d.ts +0 -10
- package/build/descriptor/light/RectAreaLightDescriptor.js +0 -16
- package/build/descriptor/light/RectAreaLightDescriptor.js.map +0 -1
- package/build/descriptor/light/SpotLightDescriptor.d.ts +0 -18
- package/build/descriptor/light/SpotLightDescriptor.js +0 -27
- package/build/descriptor/light/SpotLightDescriptor.js.map +0 -1
- package/build/descriptor/material/MaterialDescriptor.d.ts +0 -54
- package/build/descriptor/material/MaterialDescriptor.js +0 -73
- package/build/descriptor/material/MaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/MeshBasicMaterialDescriptor.d.ts +0 -35
- package/build/descriptor/material/MeshBasicMaterialDescriptor.js +0 -51
- package/build/descriptor/material/MeshBasicMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/MeshPhongMaterialDescriptor.d.ts +0 -65
- package/build/descriptor/material/MeshPhongMaterialDescriptor.js +0 -98
- package/build/descriptor/material/MeshPhongMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/MeshStandardMaterialDescriptor.d.ts +0 -63
- package/build/descriptor/material/MeshStandardMaterialDescriptor.js +0 -95
- package/build/descriptor/material/MeshStandardMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/PointsMaterialDescriptor.d.ts +0 -19
- package/build/descriptor/material/PointsMaterialDescriptor.js +0 -29
- package/build/descriptor/material/PointsMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/ShaderMaterialDescriptor.d.ts +0 -24
- package/build/descriptor/material/ShaderMaterialDescriptor.js +0 -26
- package/build/descriptor/material/ShaderMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/ShadowMaterialDescriptor.d.ts +0 -11
- package/build/descriptor/material/ShadowMaterialDescriptor.js +0 -17
- package/build/descriptor/material/ShadowMaterialDescriptor.js.map +0 -1
- package/build/descriptor/material/SpriteMaterialDescriptor.d.ts +0 -19
- package/build/descriptor/material/SpriteMaterialDescriptor.js +0 -29
- package/build/descriptor/material/SpriteMaterialDescriptor.js.map +0 -1
- package/build/descriptor/texture/TextureDescriptor.d.ts +0 -80
- package/build/descriptor/texture/TextureDescriptor.js +0 -103
- package/build/descriptor/texture/TextureDescriptor.js.map +0 -1
- package/build/index.d.ts +0 -9
- package/build/index.js +0 -10
- package/build/index.js.map +0 -1
- package/build/interpreter/ComposerServiceInterpreter.d.ts +0 -0
- package/build/interpreter/ComposerServiceInterpreter.js +0 -22
- package/build/interpreter/ComposerServiceInterpreter.js.map +0 -1
- package/build/interpreter/GeoMapInterpreter.d.ts +0 -36
- package/build/interpreter/GeoMapInterpreter.js +0 -216
- package/build/interpreter/GeoMapInterpreter.js.map +0 -1
- package/build/interpreter/HTMLConvertInterpreter.d.ts +0 -12
- package/build/interpreter/HTMLConvertInterpreter.js +0 -25
- package/build/interpreter/HTMLConvertInterpreter.js.map +0 -1
- package/build/interpreter/InstancedMeshInterpreter.d.ts +0 -19
- package/build/interpreter/InstancedMeshInterpreter.js +0 -67
- package/build/interpreter/InstancedMeshInterpreter.js.map +0 -1
- package/build/interpreter/MeshInterpreter.d.ts +0 -9
- package/build/interpreter/MeshInterpreter.js +0 -21
- package/build/interpreter/MeshInterpreter.js.map +0 -1
- package/build/interpreter/ModelInterpreter.d.ts +0 -16
- package/build/interpreter/ModelInterpreter.js +0 -52
- package/build/interpreter/ModelInterpreter.js.map +0 -1
- package/build/interpreter/NodeInterpreter.d.ts +0 -18
- package/build/interpreter/NodeInterpreter.js +0 -53
- package/build/interpreter/NodeInterpreter.js.map +0 -1
- package/build/interpreter/OrbitControllerInterpreter.d.ts +0 -13
- package/build/interpreter/OrbitControllerInterpreter.js +0 -38
- package/build/interpreter/OrbitControllerInterpreter.js.map +0 -1
- package/build/interpreter/OrthographicCameraInterpreter.d.ts +0 -8
- package/build/interpreter/OrthographicCameraInterpreter.js +0 -9
- package/build/interpreter/OrthographicCameraInterpreter.js.map +0 -1
- package/build/interpreter/ParticleInterpreter.d.ts +0 -24
- package/build/interpreter/ParticleInterpreter.js +0 -180
- package/build/interpreter/ParticleInterpreter.js.map +0 -1
- package/build/interpreter/PassInterpreter.d.ts +0 -0
- package/build/interpreter/PassInterpreter.js +0 -36
- package/build/interpreter/PassInterpreter.js.map +0 -1
- package/build/interpreter/PerspectiveCameraInterpreter.d.ts +0 -13
- package/build/interpreter/PerspectiveCameraInterpreter.js +0 -26
- package/build/interpreter/PerspectiveCameraInterpreter.js.map +0 -1
- package/build/interpreter/PointsInterpreter.d.ts +0 -17
- package/build/interpreter/PointsInterpreter.js +0 -54
- package/build/interpreter/PointsInterpreter.js.map +0 -1
- package/build/interpreter/SceneServiceInterpreter.d.ts +0 -27
- package/build/interpreter/SceneServiceInterpreter.js +0 -95
- package/build/interpreter/SceneServiceInterpreter.js.map +0 -1
- package/build/interpreter/ServiceSchedulerInterpreter.d.ts +0 -9
- package/build/interpreter/ServiceSchedulerInterpreter.js +0 -19
- package/build/interpreter/ServiceSchedulerInterpreter.js.map +0 -1
- package/build/interpreter/SpriteInterpreter.d.ts +0 -14
- package/build/interpreter/SpriteInterpreter.js +0 -38
- package/build/interpreter/SpriteInterpreter.js.map +0 -1
- package/build/interpreter/TextInterpreter.d.ts +0 -16
- package/build/interpreter/TextInterpreter.js +0 -68
- package/build/interpreter/TextInterpreter.js.map +0 -1
- package/build/interpreter/TransformControllerInterpreter.d.ts +0 -12
- package/build/interpreter/TransformControllerInterpreter.js +0 -36
- package/build/interpreter/TransformControllerInterpreter.js.map +0 -1
- package/build/interpreter/animation/AnimationActionInterpreter.d.ts +0 -13
- package/build/interpreter/animation/AnimationActionInterpreter.js +0 -57
- package/build/interpreter/animation/AnimationActionInterpreter.js.map +0 -1
- package/build/interpreter/geometry/BoxGeometryInterpreter.d.ts +0 -12
- package/build/interpreter/geometry/BoxGeometryInterpreter.js +0 -29
- package/build/interpreter/geometry/BoxGeometryInterpreter.js.map +0 -1
- package/build/interpreter/geometry/BufferGeometryInterpreter.d.ts +0 -13
- package/build/interpreter/geometry/BufferGeometryInterpreter.js +0 -43
- package/build/interpreter/geometry/BufferGeometryInterpreter.js.map +0 -1
- package/build/interpreter/geometry/CircleGeometryInterpreter.d.ts +0 -12
- package/build/interpreter/geometry/CircleGeometryInterpreter.js +0 -29
- package/build/interpreter/geometry/CircleGeometryInterpreter.js.map +0 -1
- package/build/interpreter/geometry/CylinderGeometryInterpreter.d.ts +0 -12
- package/build/interpreter/geometry/CylinderGeometryInterpreter.js +0 -29
- package/build/interpreter/geometry/CylinderGeometryInterpreter.js.map +0 -1
- package/build/interpreter/geometry/ExtrudeGeometryInterpreter.d.ts +0 -13
- package/build/interpreter/geometry/ExtrudeGeometryInterpreter.js +0 -48
- package/build/interpreter/geometry/ExtrudeGeometryInterpreter.js.map +0 -1
- package/build/interpreter/geometry/PlaneGeometryInterpreter.d.ts +0 -12
- package/build/interpreter/geometry/PlaneGeometryInterpreter.js +0 -29
- package/build/interpreter/geometry/PlaneGeometryInterpreter.js.map +0 -1
- package/build/interpreter/geometry/RingGeometryInterpreter.d.ts +0 -12
- package/build/interpreter/geometry/RingGeometryInterpreter.js +0 -29
- package/build/interpreter/geometry/RingGeometryInterpreter.js.map +0 -1
- package/build/interpreter/geometry/SphereGeometryInterpreter.d.ts +0 -12
- package/build/interpreter/geometry/SphereGeometryInterpreter.js +0 -29
- package/build/interpreter/geometry/SphereGeometryInterpreter.js.map +0 -1
- package/build/interpreter/geometry/SurfaceGeometryInterpreter.d.ts +0 -16
- package/build/interpreter/geometry/SurfaceGeometryInterpreter.js +0 -29
- package/build/interpreter/geometry/SurfaceGeometryInterpreter.js.map +0 -1
- package/build/interpreter/geometry/TubeGeometryInterpreter.d.ts +0 -13
- package/build/interpreter/geometry/TubeGeometryInterpreter.js +0 -36
- package/build/interpreter/geometry/TubeGeometryInterpreter.js.map +0 -1
- package/build/interpreter/helper/AxesHelperInterpreter.d.ts +0 -12
- package/build/interpreter/helper/AxesHelperInterpreter.js +0 -32
- package/build/interpreter/helper/AxesHelperInterpreter.js.map +0 -1
- package/build/interpreter/index.d.ts +0 -43
- package/build/interpreter/index.js +0 -46
- package/build/interpreter/index.js.map +0 -1
- package/build/interpreter/light/AmbientLightInterpreter.d.ts +0 -13
- package/build/interpreter/light/AmbientLightInterpreter.js +0 -24
- package/build/interpreter/light/AmbientLightInterpreter.js.map +0 -1
- package/build/interpreter/light/DirectionalLightInterpreter.d.ts +0 -16
- package/build/interpreter/light/DirectionalLightInterpreter.js +0 -75
- package/build/interpreter/light/DirectionalLightInterpreter.js.map +0 -1
- package/build/interpreter/light/HemisphereLightInterpreter.d.ts +0 -13
- package/build/interpreter/light/HemisphereLightInterpreter.js +0 -25
- package/build/interpreter/light/HemisphereLightInterpreter.js.map +0 -1
- package/build/interpreter/light/PointLightInterpreter.d.ts +0 -14
- package/build/interpreter/light/PointLightInterpreter.js +0 -37
- package/build/interpreter/light/PointLightInterpreter.js.map +0 -1
- package/build/interpreter/light/RectAreaLightInterpreter.d.ts +0 -13
- package/build/interpreter/light/RectAreaLightInterpreter.js +0 -27
- package/build/interpreter/light/RectAreaLightInterpreter.js.map +0 -1
- package/build/interpreter/light/SpotLightInterpreter.d.ts +0 -15
- package/build/interpreter/light/SpotLightInterpreter.js +0 -63
- package/build/interpreter/light/SpotLightInterpreter.js.map +0 -1
- package/build/interpreter/material/MaterialInterpreter.d.ts +0 -9
- package/build/interpreter/material/MaterialInterpreter.js +0 -28
- package/build/interpreter/material/MaterialInterpreter.js.map +0 -1
- package/build/interpreter/material/MeshBasicMaterialInterpreter.d.ts +0 -11
- package/build/interpreter/material/MeshBasicMaterialInterpreter.js +0 -37
- package/build/interpreter/material/MeshBasicMaterialInterpreter.js.map +0 -1
- package/build/interpreter/material/MeshPhongMaterialInterpreter.d.ts +0 -11
- package/build/interpreter/material/MeshPhongMaterialInterpreter.js +0 -56
- package/build/interpreter/material/MeshPhongMaterialInterpreter.js.map +0 -1
- package/build/interpreter/material/MeshStandardMaterialInterpreter.d.ts +0 -11
- package/build/interpreter/material/MeshStandardMaterialInterpreter.js +0 -52
- package/build/interpreter/material/MeshStandardMaterialInterpreter.js.map +0 -1
- package/build/interpreter/material/PointsMaterialInterpreter.d.ts +0 -11
- package/build/interpreter/material/PointsMaterialInterpreter.js +0 -30
- package/build/interpreter/material/PointsMaterialInterpreter.js.map +0 -1
- package/build/interpreter/material/ShaderMaterialInterpreter.d.ts +0 -14
- package/build/interpreter/material/ShaderMaterialInterpreter.js +0 -46
- package/build/interpreter/material/ShaderMaterialInterpreter.js.map +0 -1
- package/build/interpreter/material/ShadowMaterialInterpreter.d.ts +0 -11
- package/build/interpreter/material/ShadowMaterialInterpreter.js +0 -25
- package/build/interpreter/material/ShadowMaterialInterpreter.js.map +0 -1
- package/build/interpreter/material/SpriteMaterialInterpreter.d.ts +0 -11
- package/build/interpreter/material/SpriteMaterialInterpreter.js +0 -30
- package/build/interpreter/material/SpriteMaterialInterpreter.js.map +0 -1
- package/build/interpreter/texture/TextureInterpreter.d.ts +0 -13
- package/build/interpreter/texture/TextureInterpreter.js +0 -54
- package/build/interpreter/texture/TextureInterpreter.js.map +0 -1
- package/build/locale/Language.d.ts +0 -3
- package/build/locale/Language.js +0 -6
- package/build/locale/Language.js.map +0 -1
- package/build/locale/LanguageProvider.d.ts +0 -6
- package/build/locale/LanguageProvider.js +0 -7
- package/build/locale/LanguageProvider.js.map +0 -1
- package/build/locale/index.d.ts +0 -2
- package/build/locale/index.js +0 -3
- package/build/locale/index.js.map +0 -1
- package/build/preset/execute/GeoMap/drilldown.d.ts +0 -16
- package/build/preset/execute/GeoMap/drilldown.js +0 -45
- package/build/preset/execute/GeoMap/drilldown.js.map +0 -1
- package/build/preset/execute/GeoMap/index.d.ts +0 -1
- package/build/preset/execute/GeoMap/index.js +0 -2
- package/build/preset/execute/GeoMap/index.js.map +0 -1
- package/build/preset/execute/index.d.ts +0 -1
- package/build/preset/execute/index.js +0 -2
- package/build/preset/execute/index.js.map +0 -1
- package/build/preset/index.d.ts +0 -3
- package/build/preset/index.js +0 -4
- package/build/preset/index.js.map +0 -1
- package/build/preset/interaction/GeoMap/drilldown.d.ts +0 -5
- package/build/preset/interaction/GeoMap/drilldown.js +0 -19
- package/build/preset/interaction/GeoMap/drilldown.js.map +0 -1
- package/build/preset/interaction/GeoMap/index.d.ts +0 -1
- package/build/preset/interaction/GeoMap/index.js +0 -2
- package/build/preset/interaction/GeoMap/index.js.map +0 -1
- package/build/preset/interaction/index.d.ts +0 -1
- package/build/preset/interaction/index.js +0 -2
- package/build/preset/interaction/index.js.map +0 -1
- package/build/utils/dispose/index.d.ts +0 -3
- package/build/utils/dispose/index.js +0 -22
- package/build/utils/dispose/index.js.map +0 -1
- package/build/utils/geometry/index.d.ts +0 -19
- package/build/utils/geometry/index.js +0 -61
- package/build/utils/geometry/index.js.map +0 -1
- package/build/utils/index.d.ts +0 -7
- package/build/utils/index.js +0 -8
- package/build/utils/index.js.map +0 -1
- package/build/utils/material/index.d.ts +0 -7
- package/build/utils/material/index.js +0 -46
- package/build/utils/material/index.js.map +0 -1
- package/build/utils/pickup/index.d.ts +0 -5
- package/build/utils/pickup/index.js +0 -14
- package/build/utils/pickup/index.js.map +0 -1
- package/build/utils/random/index.d.ts +0 -2
- package/build/utils/random/index.js +0 -5
- package/build/utils/random/index.js.map +0 -1
- package/build/utils/text/index.d.ts +0 -98
- package/build/utils/text/index.js +0 -379
- package/build/utils/text/index.js.map +0 -1
- package/build/utils/texture/index.d.ts +0 -4
- package/build/utils/texture/index.js +0 -17
- package/build/utils/texture/index.js.map +0 -1
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, Mesh } from "three";
|
|
2
|
-
import { TextDescriptor } from "../descriptor";
|
|
3
|
-
import { NodeInterpreter } from "./NodeInterpreter";
|
|
4
|
-
import { NodeActor } from "../actor";
|
|
5
|
-
declare class TextInterpreter extends NodeInterpreter {
|
|
6
|
-
static type: string;
|
|
7
|
-
private _geometry;
|
|
8
|
-
private _cacheKey;
|
|
9
|
-
protected createActor(descriptor: TextDescriptor): NodeActor<Mesh<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material, import("three").Object3DEventMap>>;
|
|
10
|
-
private _fastHash;
|
|
11
|
-
getCacheKey(descriptor: TextDescriptor): string;
|
|
12
|
-
setAttribute(descriptor: TextDescriptor): void;
|
|
13
|
-
update(descriptor: TextDescriptor): void;
|
|
14
|
-
free(descriptor: TextDescriptor): void;
|
|
15
|
-
}
|
|
16
|
-
export { TextInterpreter };
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, Mesh } from "three";
|
|
2
|
-
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
3
|
-
import { Asset } from "@vyr/engine";
|
|
4
|
-
import { TextDescriptor } from "../descriptor";
|
|
5
|
-
import { NodeInterpreter } from "./NodeInterpreter";
|
|
6
|
-
import { NodeActor } from "../actor";
|
|
7
|
-
import { geometry, TextUtils, material } from "../utils";
|
|
8
|
-
class TextInterpreter extends NodeInterpreter {
|
|
9
|
-
static type = TextDescriptor.type;
|
|
10
|
-
_geometry = new BufferGeometry();
|
|
11
|
-
_cacheKey = '';
|
|
12
|
-
createActor(descriptor) {
|
|
13
|
-
const actor = new NodeActor(new Mesh(this._geometry, material.defaultMaterial()));
|
|
14
|
-
return actor;
|
|
15
|
-
}
|
|
16
|
-
_fastHash(str) {
|
|
17
|
-
let hash1 = 5381; // djb2初始值
|
|
18
|
-
let hash2 = 0x811C9DC5; // FNV-1初始值
|
|
19
|
-
for (let i = 0; i < str.length; i++) {
|
|
20
|
-
const char = str.charCodeAt(i);
|
|
21
|
-
hash1 = (hash1 * 33) ^ char;
|
|
22
|
-
hash2 = (hash2 * 0x01000193) ^ char;
|
|
23
|
-
}
|
|
24
|
-
// 组合两个哈希值,大幅降低碰撞概率
|
|
25
|
-
return ((hash1 >>> 0) ^ (hash2 >>> 0)) >>> 0;
|
|
26
|
-
}
|
|
27
|
-
getCacheKey(descriptor) {
|
|
28
|
-
return `${this._fastHash(descriptor.text)}_${descriptor.size}_${descriptor.lineHeight}_${descriptor.maxWidth}_${descriptor.letterSpacing}`;
|
|
29
|
-
}
|
|
30
|
-
setAttribute(descriptor) {
|
|
31
|
-
const font = Asset.get(descriptor.font);
|
|
32
|
-
if (font instanceof Font) {
|
|
33
|
-
const options = {
|
|
34
|
-
size: descriptor.size,
|
|
35
|
-
lineHeight: descriptor.lineHeight,
|
|
36
|
-
maxWidth: descriptor.maxWidth,
|
|
37
|
-
letterSpacing: descriptor.letterSpacing,
|
|
38
|
-
};
|
|
39
|
-
const source = TextUtils.createTextGeometry(descriptor.text, descriptor.maxWidth, font, options);
|
|
40
|
-
this._geometry.copy(source);
|
|
41
|
-
source.dispose();
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
const source = new BufferGeometry();
|
|
45
|
-
this._geometry.copy(source);
|
|
46
|
-
source.dispose();
|
|
47
|
-
}
|
|
48
|
-
if (descriptor.flattenUVsToPlane)
|
|
49
|
-
geometry.flattenUVsToPlane(this._geometry);
|
|
50
|
-
}
|
|
51
|
-
update(descriptor) {
|
|
52
|
-
super.update(descriptor);
|
|
53
|
-
const actor = this.getActor(descriptor);
|
|
54
|
-
const cacheKey = this.getCacheKey(descriptor);
|
|
55
|
-
if (this._cacheKey !== cacheKey) {
|
|
56
|
-
this.setAttribute(descriptor);
|
|
57
|
-
this._cacheKey = cacheKey;
|
|
58
|
-
}
|
|
59
|
-
actor.object.material = material.getMaterial(descriptor.material, this.graphics);
|
|
60
|
-
}
|
|
61
|
-
free(descriptor) {
|
|
62
|
-
this._geometry.dispose();
|
|
63
|
-
super.free(descriptor);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
NodeInterpreter.register(TextInterpreter);
|
|
67
|
-
export { TextInterpreter };
|
|
68
|
-
//# sourceMappingURL=TextInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextInterpreter.js","sourceRoot":"","sources":["../../src/interpreter/TextInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,0CAA0C,CAAA;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzD,MAAM,eAAgB,SAAQ,eAAe;IACzC,MAAM,CAAC,IAAI,GAAG,cAAc,CAAC,IAAI,CAAA;IACzB,SAAS,GAAG,IAAI,cAAc,EAAE,CAAA;IAChC,SAAS,GAAG,EAAE,CAAA;IAEZ,WAAW,CAAC,UAA0B;QAC5C,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,eAAe,EAAE,CAAC,CAAC,CAAA;QACjF,OAAO,KAAK,CAAA;IAChB,CAAC;IAEO,SAAS,CAAC,GAAW;QAC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{ TransformControllerActor } from "../actor";
|
|
4
|
-
declare class TransformControllerInterpreter extends Interpreter {
|
|
5
|
-
static type: string;
|
|
6
|
-
protected createActor(descriptor: TransformControllerDescriptor): TransformControllerActor;
|
|
7
|
-
update(descriptor: TransformControllerDescriptor): void;
|
|
8
|
-
mount(descriptor: TransformControllerDescriptor, parentInterpreter: Interpreter, parentDescriptor: Descriptor): void;
|
|
9
|
-
unmount(descriptor: TransformControllerDescriptor, parentInterpreter: Interpreter, parentDescriptor: Descriptor): void;
|
|
10
|
-
free(descriptor: TransformControllerDescriptor): void;
|
|
11
|
-
}
|
|
12
|
-
export { TransformControllerInterpreter };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Interpreter } from "@vyr/engine";
|
|
2
|
-
import { TransformControllerDescriptor } from '../descriptor';
|
|
3
|
-
import { TransformControllerActor } from "../actor";
|
|
4
|
-
class TransformControllerInterpreter extends Interpreter {
|
|
5
|
-
static type = TransformControllerDescriptor.type;
|
|
6
|
-
createActor(descriptor) {
|
|
7
|
-
const actor = new TransformControllerActor();
|
|
8
|
-
return actor;
|
|
9
|
-
}
|
|
10
|
-
update(descriptor) {
|
|
11
|
-
super.update(descriptor);
|
|
12
|
-
const actor = this.getActor(descriptor);
|
|
13
|
-
actor.update(descriptor, this.graphics);
|
|
14
|
-
}
|
|
15
|
-
mount(descriptor, parentInterpreter, parentDescriptor) {
|
|
16
|
-
super.mount(descriptor, parentInterpreter, parentDescriptor);
|
|
17
|
-
const parenActor = parentInterpreter.getActor(parentDescriptor);
|
|
18
|
-
const actor = this.getActor(descriptor);
|
|
19
|
-
parenActor.add(actor);
|
|
20
|
-
}
|
|
21
|
-
unmount(descriptor, parentInterpreter, parentDescriptor) {
|
|
22
|
-
const parenActor = parentInterpreter.getActor(parentDescriptor);
|
|
23
|
-
const actor = this.getActor(descriptor);
|
|
24
|
-
parenActor.remove(actor);
|
|
25
|
-
actor.unlisten(this.graphics);
|
|
26
|
-
super.unmount(descriptor, parentInterpreter, parentDescriptor);
|
|
27
|
-
}
|
|
28
|
-
free(descriptor) {
|
|
29
|
-
const actor = this.getActor(descriptor);
|
|
30
|
-
actor.dispose(this.graphics);
|
|
31
|
-
super.free(descriptor);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
Interpreter.register(TransformControllerInterpreter);
|
|
35
|
-
export { TransformControllerInterpreter };
|
|
36
|
-
//# sourceMappingURL=TransformControllerInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TransformControllerInterpreter.js","sourceRoot":"","sources":["../../src/interpreter/TransformControllerInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAa,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAE9D,MAAM,8BAA+B,SAAQ,WAAW;IACtD,MAAM,CAAC,IAAI,GAAG,6BAA6B,CAAC,IAAI,CAAA;IAEtC,WAAW,CAAC,UAAyC;QAC7D,MAAM,KAAK,GAAG,IAAI,wBAAwB,EAAE,CAAA;QAC5C,OAAO,KAAK,CAAA;IACd,CAAC;IAED,MAAM,CAAC,UAAyC;QAC9C,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA2B,UAAU,CAAC,CAAA;QACjE,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IACzC,CAAC;IAED,KAAK,CAAC,UAAyC,EAAE,iBAA8B,EAAE,gBAA4B;QAC3G,KAAK,CAAC,KAAK,CAAC,UAAU,EAAG,iBAAiB,EAAE,gBAAgB,CAAC,CAAA;QAC7D,MAAM,UAAU,GAAG,iBAAiB,CAAC,QAAQ,CAAY,gBAAgB,CAAC,CAAA;QAC1E,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA2B,UAAU,CAAC,CAAA;QACjE,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IACvB,CAAC;IAED,OAAO,CAAC,UAAyC,EAAE,iBAA8B,EAAE,gBAA4B;QAC7G,MAAM,UAAU,GAAG,iBAAiB,CAAC,QAAQ,CAAY,gBAAgB,CAAC,CAAA;QAC1E,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA2B,UAAU,CAAC,CAAA;QACjE,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;QACxB,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QAE7B,KAAK,CAAC,OAAO,CAAC,UAAU,EAAG,iBAAiB,EAAE,gBAAgB,CAAC,CAAA;IACjE,CAAC;IAED,IAAI,CAAC,UAAyC;QAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA2B,UAAU,CAAC,CAAA;QACjE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QAC5B,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IACxB,CAAC;;AAEH,WAAW,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAA;AAGpD,OAAO,EAAE,8BAA8B,EAAE,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AnimationAction, AnimationMixer } from 'three';
|
|
2
|
-
import { Descriptor, Interpreter } from "@vyr/engine";
|
|
3
|
-
import { AnimationActionDescriptor } from "../../descriptor";
|
|
4
|
-
declare class AnimationActionInterpreter extends Interpreter {
|
|
5
|
-
static type: string;
|
|
6
|
-
animationAction: AnimationAction | null;
|
|
7
|
-
freeAction(mixer: AnimationMixer): void;
|
|
8
|
-
setProperty(action: AnimationAction, descriptor: AnimationActionDescriptor): void;
|
|
9
|
-
update(descriptor: AnimationActionDescriptor): void;
|
|
10
|
-
mount(descriptor: AnimationActionDescriptor, parentInterpreter: Interpreter, parentDescriptor: Descriptor): void;
|
|
11
|
-
unmount(descriptor: AnimationActionDescriptor, parentInterpreter: Interpreter, parentDescriptor: Descriptor): void;
|
|
12
|
-
}
|
|
13
|
-
export { AnimationActionInterpreter };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { Interpreter } from "@vyr/engine";
|
|
2
|
-
import { AnimationActionDescriptor, ModelDescriptor } from "../../descriptor";
|
|
3
|
-
import { ModelInterpreter } from '../ModelInterpreter';
|
|
4
|
-
class AnimationActionInterpreter extends Interpreter {
|
|
5
|
-
static type = AnimationActionDescriptor.type;
|
|
6
|
-
animationAction = null;
|
|
7
|
-
freeAction(mixer) {
|
|
8
|
-
if (this.animationAction) {
|
|
9
|
-
this.animationAction.stop();
|
|
10
|
-
const clip = this.animationAction.getClip();
|
|
11
|
-
mixer.uncacheAction(clip, this.animationAction.getRoot());
|
|
12
|
-
this.animationAction = null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
setProperty(action, descriptor) {
|
|
16
|
-
action.enabled = descriptor.enabled;
|
|
17
|
-
action.timeScale = descriptor.timeScale;
|
|
18
|
-
action.weight = descriptor.weight;
|
|
19
|
-
action.zeroSlopeAtStart = descriptor.zeroSlopeAtStart;
|
|
20
|
-
action.zeroSlopeAtEnd = descriptor.zeroSlopeAtEnd;
|
|
21
|
-
action.startAt(descriptor.startTime);
|
|
22
|
-
action.setDuration(descriptor.duration);
|
|
23
|
-
action.setLoop(descriptor.loop, descriptor.repetitions);
|
|
24
|
-
descriptor.play ? action.play() : action.stop();
|
|
25
|
-
}
|
|
26
|
-
update(descriptor) {
|
|
27
|
-
super.update(descriptor);
|
|
28
|
-
const scheduler = this.graphics.getInterpreter(this.graphics.scheduler);
|
|
29
|
-
this.freeAction(scheduler.mixer);
|
|
30
|
-
const parentDescriptor = ModelDescriptor.get(this.unit.parent);
|
|
31
|
-
const parentInterpreter = this.graphics.getInterpreter(parentDescriptor);
|
|
32
|
-
if (parentInterpreter instanceof ModelInterpreter) {
|
|
33
|
-
const model = parentInterpreter.wrapper.children[0];
|
|
34
|
-
if (model === undefined)
|
|
35
|
-
return;
|
|
36
|
-
for (const clip of model.animations) {
|
|
37
|
-
if (clip.name === descriptor.clip) {
|
|
38
|
-
this.animationAction = scheduler.mixer.clipAction(clip, model);
|
|
39
|
-
this.animationAction.clampWhenFinished = true;
|
|
40
|
-
this.setProperty(this.animationAction, descriptor);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
mount(descriptor, parentInterpreter, parentDescriptor) {
|
|
46
|
-
super.mount(descriptor, parentInterpreter, parentDescriptor);
|
|
47
|
-
this.getActor(descriptor);
|
|
48
|
-
}
|
|
49
|
-
unmount(descriptor, parentInterpreter, parentDescriptor) {
|
|
50
|
-
const scheduler = this.graphics.getInterpreter(this.graphics.scheduler);
|
|
51
|
-
this.freeAction(scheduler.mixer);
|
|
52
|
-
super.unmount(descriptor, parentInterpreter, parentDescriptor);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
Interpreter.register(AnimationActionInterpreter);
|
|
56
|
-
export { AnimationActionInterpreter };
|
|
57
|
-
//# sourceMappingURL=AnimationActionInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnimationActionInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/animation/AnimationActionInterpreter.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,WAAW,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAGtD,MAAM,0BAA2B,SAAQ,WAAW;IAChD,MAAM,CAAC,IAAI,GAAG,yBAAyB,CAAC,IAAI,CAAA;IAC5C,eAAe,GAA2B,IAAI,CAAA;IAE9C,UAAU,CAAC,KAAqB;QAC5B,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;YACvB,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A;AAEhD,OAAO,EAAE,0BAA0B,EAAE,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, BoxGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { BoxGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
declare class BoxGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type: string;
|
|
7
|
-
protected createActor(descriptor: BoxGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
|
|
8
|
-
setAttribute(actor: GeometryActor<BoxGeometry>, descriptor: BoxGeometryDescriptor): void;
|
|
9
|
-
update(descriptor: BoxGeometryDescriptor): void;
|
|
10
|
-
free(descriptor: BoxGeometryDescriptor): void;
|
|
11
|
-
}
|
|
12
|
-
export { BoxGeometryInterpreter };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, BoxGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { BoxGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
class BoxGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type = BoxGeometryDescriptor.type;
|
|
7
|
-
createActor(descriptor) {
|
|
8
|
-
const actor = new GeometryActor(new BufferGeometry());
|
|
9
|
-
return actor;
|
|
10
|
-
}
|
|
11
|
-
setAttribute(actor, descriptor) {
|
|
12
|
-
const source = new BoxGeometry(descriptor.width, descriptor.height, descriptor.depth, descriptor.widthSegments, descriptor.heightSegments, descriptor.depthSegments);
|
|
13
|
-
actor.object.copy(source);
|
|
14
|
-
source.dispose();
|
|
15
|
-
}
|
|
16
|
-
update(descriptor) {
|
|
17
|
-
super.update(descriptor);
|
|
18
|
-
const actor = this.getActor(descriptor);
|
|
19
|
-
this.setAttribute(actor, descriptor);
|
|
20
|
-
}
|
|
21
|
-
free(descriptor) {
|
|
22
|
-
const actor = this.getActor(descriptor);
|
|
23
|
-
actor.object.dispose();
|
|
24
|
-
super.free(descriptor);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
Interpreter.register(BoxGeometryInterpreter);
|
|
28
|
-
export { BoxGeometryInterpreter };
|
|
29
|
-
//# sourceMappingURL=BoxGeometryInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BoxGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/BoxGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,sBAAuB,SAAQ,WAAW;IAC5C,MAAM,CAAC,IAAI,GAAG,qBAAqB,CAAC,IAAI,CAAA;IAE9B,WAAW,CAAC,UAAiC;QACnD,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,cAAc,EAAE,CAAC,CAAA;QACrD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,YAAY,CAAC,KAAiC,EAAE,UAAiC;QAC7E,MAAM,MAAM,GAAG,IAAI,WAAW,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,aAAa,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,aAAa,CAAC,CAAA;QACpK,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACzB,MAAM,CAAC,OAAO,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,UAAiC;QACpC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA6B,UAAU,CAAC,CAAA;QACnE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAAiC;QAClC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA6B,UAAU,CAAC,CAAA;QACnE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAA;AAE5C,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, BufferGeometryLoader } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { BufferGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
declare class BufferGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type: string;
|
|
7
|
-
static get loader(): BufferGeometryLoader;
|
|
8
|
-
protected createActor(descriptor: BufferGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
|
|
9
|
-
setAttribute(actor: GeometryActor<BufferGeometry>, descriptor: BufferGeometryDescriptor): void;
|
|
10
|
-
update(descriptor: BufferGeometryDescriptor): void;
|
|
11
|
-
free(descriptor: BufferGeometryDescriptor): void;
|
|
12
|
-
}
|
|
13
|
-
export { BufferGeometryInterpreter };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, BufferGeometryLoader } from "three";
|
|
2
|
-
import { DatasetDescriptor, Interpreter } from "@vyr/engine";
|
|
3
|
-
import { BufferGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
let _loader = null;
|
|
6
|
-
class BufferGeometryInterpreter extends Interpreter {
|
|
7
|
-
static type = BufferGeometryDescriptor.type;
|
|
8
|
-
static get loader() {
|
|
9
|
-
if (_loader === null) {
|
|
10
|
-
_loader = new BufferGeometryLoader();
|
|
11
|
-
}
|
|
12
|
-
return _loader;
|
|
13
|
-
}
|
|
14
|
-
createActor(descriptor) {
|
|
15
|
-
const actor = new GeometryActor(new BufferGeometry());
|
|
16
|
-
return actor;
|
|
17
|
-
}
|
|
18
|
-
setAttribute(actor, descriptor) {
|
|
19
|
-
const buffer = DatasetDescriptor.getData(descriptor.buffer);
|
|
20
|
-
let source;
|
|
21
|
-
if (buffer === null) {
|
|
22
|
-
source = new BufferGeometry();
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
source = BufferGeometryInterpreter.loader.parse(buffer);
|
|
26
|
-
}
|
|
27
|
-
actor.object.copy(source);
|
|
28
|
-
source.dispose();
|
|
29
|
-
}
|
|
30
|
-
update(descriptor) {
|
|
31
|
-
super.update(descriptor);
|
|
32
|
-
const actor = this.getActor(descriptor);
|
|
33
|
-
this.setAttribute(actor, descriptor);
|
|
34
|
-
}
|
|
35
|
-
free(descriptor) {
|
|
36
|
-
const actor = this.getActor(descriptor);
|
|
37
|
-
actor.object.dispose();
|
|
38
|
-
super.free(descriptor);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
Interpreter.register(BufferGeometryInterpreter);
|
|
42
|
-
export { BufferGeometryInterpreter };
|
|
43
|
-
//# sourceMappingURL=BufferGeometryInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BufferGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/BufferGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,aA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AO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAA;AAE/C,OAAO,EAAE,yBAAyB,EAAE,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, CircleGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { CircleGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
declare class CircleGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type: string;
|
|
7
|
-
protected createActor(descriptor: CircleGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
|
|
8
|
-
setAttribute(actor: GeometryActor<CircleGeometry>, descriptor: CircleGeometryDescriptor): void;
|
|
9
|
-
update(descriptor: CircleGeometryDescriptor): void;
|
|
10
|
-
free(descriptor: CircleGeometryDescriptor): void;
|
|
11
|
-
}
|
|
12
|
-
export { CircleGeometryInterpreter };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, CircleGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { CircleGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
class CircleGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type = CircleGeometryDescriptor.type;
|
|
7
|
-
createActor(descriptor) {
|
|
8
|
-
const actor = new GeometryActor(new BufferGeometry());
|
|
9
|
-
return actor;
|
|
10
|
-
}
|
|
11
|
-
setAttribute(actor, descriptor) {
|
|
12
|
-
const source = new CircleGeometry(descriptor.radius, descriptor.segments, descriptor.thetaStart, descriptor.thetaLength);
|
|
13
|
-
actor.object.copy(source);
|
|
14
|
-
source.dispose();
|
|
15
|
-
}
|
|
16
|
-
update(descriptor) {
|
|
17
|
-
super.update(descriptor);
|
|
18
|
-
const actor = this.getActor(descriptor);
|
|
19
|
-
this.setAttribute(actor, descriptor);
|
|
20
|
-
}
|
|
21
|
-
free(descriptor) {
|
|
22
|
-
const actor = this.getActor(descriptor);
|
|
23
|
-
actor.object.dispose();
|
|
24
|
-
super.free(descriptor);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
Interpreter.register(CircleGeometryInterpreter);
|
|
28
|
-
export { CircleGeometryInterpreter };
|
|
29
|
-
//# sourceMappingURL=CircleGeometryInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CircleGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/CircleGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,yBAA0B,SAAQ,WAAW;IAC/C,MAAM,CAAC,IAAI,GAAG,wBAAwB,CAAC,IAAI,CAAA;IAEjC,WAAW,CAAC,UAAoC;QACtD,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,cAAc,EAAE,CAAC,CAAA;QACrD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,YAAY,CAAC,KAAoC,EAAE,UAAoC;QACnF,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;QACxH,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACzB,MAAM,CAAC,OAAO,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,UAAoC;QACvC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAAoC;QACrC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAgC,UAAU,CAAC,CAAA;QACtE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAA;AAE/C,OAAO,EAAE,yBAAyB,EAAE,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, CylinderGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { CylinderGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
declare class CylinderGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type: string;
|
|
7
|
-
protected createActor(descriptor: CylinderGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
|
|
8
|
-
setAttribute(actor: GeometryActor<CylinderGeometry>, descriptor: CylinderGeometryDescriptor): void;
|
|
9
|
-
update(descriptor: CylinderGeometryDescriptor): void;
|
|
10
|
-
free(descriptor: CylinderGeometryDescriptor): void;
|
|
11
|
-
}
|
|
12
|
-
export { CylinderGeometryInterpreter };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, CylinderGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { CylinderGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
class CylinderGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type = CylinderGeometryDescriptor.type;
|
|
7
|
-
createActor(descriptor) {
|
|
8
|
-
const actor = new GeometryActor(new BufferGeometry());
|
|
9
|
-
return actor;
|
|
10
|
-
}
|
|
11
|
-
setAttribute(actor, descriptor) {
|
|
12
|
-
const source = new CylinderGeometry(descriptor.radiusTop, descriptor.radiusBottom, descriptor.height, descriptor.radialSegments, descriptor.heightSegments, descriptor.openEnded, descriptor.thetaStart, descriptor.thetaLength);
|
|
13
|
-
actor.object.copy(source);
|
|
14
|
-
source.dispose();
|
|
15
|
-
}
|
|
16
|
-
update(descriptor) {
|
|
17
|
-
super.update(descriptor);
|
|
18
|
-
const actor = this.getActor(descriptor);
|
|
19
|
-
this.setAttribute(actor, descriptor);
|
|
20
|
-
}
|
|
21
|
-
free(descriptor) {
|
|
22
|
-
const actor = this.getActor(descriptor);
|
|
23
|
-
actor.object.dispose();
|
|
24
|
-
super.free(descriptor);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
Interpreter.register(CylinderGeometryInterpreter);
|
|
28
|
-
export { CylinderGeometryInterpreter };
|
|
29
|
-
//# sourceMappingURL=CylinderGeometryInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CylinderGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/CylinderGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,2BAA4B,SAAQ,WAAW;IACjD,MAAM,CAAC,IAAI,GAAG,0BAA0B,CAAC,IAAI,CAAA;IAEnC,WAAW,CAAC,UAAsC;QACxD,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,cAAc,EAAE,CAAC,CAAA;QACrD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,YAAY,CAAC,KAAsC,EAAE,UAAsC;QACvF,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;QAChO,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACzB,MAAM,CAAC,OAAO,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,UAAsC;QACzC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAkC,UAAU,CAAC,CAAA;QACxE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAAsC;QACvC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAkC,UAAU,CAAC,CAAA;QACxE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAA;AAEjD,OAAO,EAAE,2BAA2B,EAAE,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, ExtrudeGeometry, Shape } from "three";
|
|
2
|
-
import { Interpreter, JsonAsset } from "@vyr/engine";
|
|
3
|
-
import { ExtrudeGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
declare class ExtrudeGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type: string;
|
|
7
|
-
protected createActor(descriptor: ExtrudeGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
|
|
8
|
-
createShapes(collection: JsonAsset[], shapes: Shape[], descriptor: ExtrudeGeometryDescriptor): void;
|
|
9
|
-
setAttribute(actor: GeometryActor<ExtrudeGeometry>, descriptor: ExtrudeGeometryDescriptor): void;
|
|
10
|
-
update(descriptor: ExtrudeGeometryDescriptor): void;
|
|
11
|
-
free(descriptor: ExtrudeGeometryDescriptor): void;
|
|
12
|
-
}
|
|
13
|
-
export { ExtrudeGeometryInterpreter };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, ExtrudeGeometry, Path, Shape, } from "three";
|
|
2
|
-
import { DatasetDescriptor, Interpreter } from "@vyr/engine";
|
|
3
|
-
import { ExtrudeGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
import { geometry } from "../../utils";
|
|
6
|
-
class ExtrudeGeometryInterpreter extends Interpreter {
|
|
7
|
-
static type = ExtrudeGeometryDescriptor.type;
|
|
8
|
-
createActor(descriptor) {
|
|
9
|
-
const actor = new GeometryActor(new BufferGeometry());
|
|
10
|
-
return actor;
|
|
11
|
-
}
|
|
12
|
-
createShapes(collection, shapes, descriptor) {
|
|
13
|
-
for (const shapeData of collection) {
|
|
14
|
-
const region = shapeData[0];
|
|
15
|
-
const shape = new Shape(geometry.getPointsOfshapeData(region, descriptor.offset));
|
|
16
|
-
shapes.push(shape);
|
|
17
|
-
if (shapeData.length <= 1)
|
|
18
|
-
continue;
|
|
19
|
-
for (let i = 1; i < shapeData.length; i++) {
|
|
20
|
-
const path = new Path(geometry.getPointsOfshapeData(shapeData[i], descriptor.offset));
|
|
21
|
-
shape.holes.push(path);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
setAttribute(actor, descriptor) {
|
|
26
|
-
const collection = DatasetDescriptor.getCollection(descriptor.shapes);
|
|
27
|
-
const shapes = [];
|
|
28
|
-
this.createShapes(collection, shapes, descriptor);
|
|
29
|
-
const source = new ExtrudeGeometry(shapes, geometry.getExtrudeOptions(descriptor));
|
|
30
|
-
actor.object.copy(source);
|
|
31
|
-
source.dispose();
|
|
32
|
-
if (descriptor.flattenUVsToPlane)
|
|
33
|
-
geometry.flattenUVsToPlane(actor.object);
|
|
34
|
-
}
|
|
35
|
-
update(descriptor) {
|
|
36
|
-
super.update(descriptor);
|
|
37
|
-
const actor = this.getActor(descriptor);
|
|
38
|
-
this.setAttribute(actor, descriptor);
|
|
39
|
-
}
|
|
40
|
-
free(descriptor) {
|
|
41
|
-
const actor = this.getActor(descriptor);
|
|
42
|
-
actor.object.dispose();
|
|
43
|
-
super.free(descriptor);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
Interpreter.register(ExtrudeGeometryInterpreter);
|
|
47
|
-
export { ExtrudeGeometryInterpreter };
|
|
48
|
-
//# sourceMappingURL=ExtrudeGeometryInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExtrudeGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/ExtrudeGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,GAAG,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAa,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,0BAA2B,SAAQ,WAAW;IAChD,MAAM,CAAC,IAAI,GAAG,yBAAyB,CAAC,IAAI,CAAA;IAElC,WAAW,CAAC,UAAqC;QACvD,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,cAAc,EAAE,CAAC,CAA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,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC9E,CAAC;IAED,MAAM,CAAC,UAAqC;QACxC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAiC,UAAU,CAAC,CAAA;QACvE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAAqC;QACtC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAiC,UAAU,CAAC,CAAA;QACvE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAA;AAEhD,OAAO,EAAE,0BAA0B,EAAE,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, PlaneGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { PlaneGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
declare class PlaneGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type: string;
|
|
7
|
-
protected createActor(descriptor: PlaneGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
|
|
8
|
-
setAttribute(actor: GeometryActor<PlaneGeometry>, descriptor: PlaneGeometryDescriptor): void;
|
|
9
|
-
update(descriptor: PlaneGeometryDescriptor): void;
|
|
10
|
-
free(descriptor: PlaneGeometryDescriptor): void;
|
|
11
|
-
}
|
|
12
|
-
export { PlaneGeometryInterpreter };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, PlaneGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { PlaneGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
class PlaneGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type = PlaneGeometryDescriptor.type;
|
|
7
|
-
createActor(descriptor) {
|
|
8
|
-
const actor = new GeometryActor(new BufferGeometry());
|
|
9
|
-
return actor;
|
|
10
|
-
}
|
|
11
|
-
setAttribute(actor, descriptor) {
|
|
12
|
-
const source = new PlaneGeometry(descriptor.width, descriptor.height, descriptor.widthSegments, descriptor.heightSegments);
|
|
13
|
-
actor.object.copy(source);
|
|
14
|
-
source.dispose();
|
|
15
|
-
}
|
|
16
|
-
update(descriptor) {
|
|
17
|
-
super.update(descriptor);
|
|
18
|
-
const actor = this.getActor(descriptor);
|
|
19
|
-
this.setAttribute(actor, descriptor);
|
|
20
|
-
}
|
|
21
|
-
free(descriptor) {
|
|
22
|
-
const actor = this.getActor(descriptor);
|
|
23
|
-
actor.object.dispose();
|
|
24
|
-
super.free(descriptor);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
Interpreter.register(PlaneGeometryInterpreter);
|
|
28
|
-
export { PlaneGeometryInterpreter };
|
|
29
|
-
//# sourceMappingURL=PlaneGeometryInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlaneGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/PlaneGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,wBAAyB,SAAQ,WAAW;IAC9C,MAAM,CAAC,IAAI,GAAG,uBAAuB,CAAC,IAAI,CAAA;IAEhC,WAAW,CAAC,UAAmC;QACrD,MAAM,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,cAAc,EAAE,CAAC,CAAA;QACrD,OAAO,KAAK,CAAA;IAChB,CAAC;IAED,YAAY,CAAC,KAAmC,EAAE,UAAmC;QACjF,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,aAAa,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;QAC1H,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACzB,MAAM,CAAC,OAAO,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,UAAmC;QACtC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA+B,UAAU,CAAC,CAAA;QACrE,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,UAAmC;QACpC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAA+B,UAAU,CAAC,CAAA;QACrE,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAA;QACtB,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAC1B,CAAC;;AAEL,WAAW,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAA;AAE9C,OAAO,EAAE,wBAAwB,EAAE,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, RingGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { RingGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
declare class RingGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type: string;
|
|
7
|
-
protected createActor(descriptor: RingGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
|
|
8
|
-
setAttribute(actor: GeometryActor<RingGeometry>, descriptor: RingGeometryDescriptor): void;
|
|
9
|
-
update(descriptor: RingGeometryDescriptor): void;
|
|
10
|
-
free(descriptor: RingGeometryDescriptor): void;
|
|
11
|
-
}
|
|
12
|
-
export { RingGeometryInterpreter };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, RingGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { RingGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
class RingGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type = RingGeometryDescriptor.type;
|
|
7
|
-
createActor(descriptor) {
|
|
8
|
-
const actor = new GeometryActor(new BufferGeometry());
|
|
9
|
-
return actor;
|
|
10
|
-
}
|
|
11
|
-
setAttribute(actor, descriptor) {
|
|
12
|
-
const source = new RingGeometry(descriptor.innerRadius, descriptor.outerRadius, descriptor.thetaSegments, descriptor.phiSegments, descriptor.thetaStart, descriptor.thetaLength);
|
|
13
|
-
actor.object.copy(source);
|
|
14
|
-
source.dispose();
|
|
15
|
-
}
|
|
16
|
-
update(descriptor) {
|
|
17
|
-
super.update(descriptor);
|
|
18
|
-
const actor = this.getActor(descriptor);
|
|
19
|
-
this.setAttribute(actor, descriptor);
|
|
20
|
-
}
|
|
21
|
-
free(descriptor) {
|
|
22
|
-
const actor = this.getActor(descriptor);
|
|
23
|
-
actor.object.dispose();
|
|
24
|
-
super.free(descriptor);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
Interpreter.register(RingGeometryInterpreter);
|
|
28
|
-
export { RingGeometryInterpreter };
|
|
29
|
-
//# sourceMappingURL=RingGeometryInterpreter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RingGeometryInterpreter.js","sourceRoot":"","sources":["../../../src/interpreter/geometry/RingGeometryInterpreter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAA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B,EAAE,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BufferGeometry, SphereGeometry } from "three";
|
|
2
|
-
import { Interpreter } from "@vyr/engine";
|
|
3
|
-
import { SphereGeometryDescriptor } from "../../descriptor";
|
|
4
|
-
import { GeometryActor } from "../../actor";
|
|
5
|
-
declare class SphereGeometryInterpreter extends Interpreter {
|
|
6
|
-
static type: string;
|
|
7
|
-
protected createActor(descriptor: SphereGeometryDescriptor): GeometryActor<BufferGeometry<import("three").NormalBufferAttributes>>;
|
|
8
|
-
setAttribute(actor: GeometryActor<SphereGeometry>, descriptor: SphereGeometryDescriptor): void;
|
|
9
|
-
update(descriptor: SphereGeometryDescriptor): void;
|
|
10
|
-
free(descriptor: SphereGeometryDescriptor): void;
|
|
11
|
-
}
|
|
12
|
-
export { SphereGeometryInterpreter };
|