@realsee/dnalogel 0.1.7-alpha.1 → 0.1.7-alpha.10
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/components/GLTFView/index.d.ts +30 -1
- package/components/GLTFView/index.js +35 -3
- package/data/81zxMaeVKLQU93OZMG.d.ts +49 -0
- package/data/81zxMaeVKLQU93OZMG.js +633 -0
- package/data/PrXel3aqGbp34JQn.js +139 -1
- package/data/_vLykj3NWrllMrG06.d.ts +95 -0
- package/data/_vLykj3NWrllMrG06.js +1 -0
- package/data/vLykj3NWrllMrG06.js +335 -71
- package/libs/gltf-viewer/coordsToDirection.d.ts +1 -1
- package/libs/gltf-viewer/index.d.ts +25 -3
- package/libs/gltf-viewer/index.js +169 -52
- package/package.json +3 -3
- package/plugins/CSS3DRenderPlugin/index.js +15 -10
- package/plugins/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +7 -0
- package/plugins/CSS3DRenderPlugin/utils/createResizeObserver.js +34 -0
- package/plugins/ModelChassisCompassPlugin/index.d.ts +1 -1
- package/plugins/ModelChassisCompassPlugin/index.js +2 -1
- package/plugins/ModelEntryDoorGuidePlugin/index.d.ts +4 -0
- package/plugins/ModelEntryDoorGuidePlugin/index.js +13 -7
- package/plugins/ModelRoomLabelPlugin/Controller.js +1 -0
- package/plugins/ModelRoomLabelPlugin/RoomLabelItem.js +5 -5
- package/plugins/ModelRoomLabelPlugin/index.d.ts +4 -0
- package/plugins/ModelRoomLabelPlugin/index.js +7 -2
- package/plugins/PanoMaskSelectorPlugin/fragmentShader.d.ts +1 -1
- package/plugins/PanoMaskSelectorPlugin/fragmentShader.js +1 -1
- package/plugins/PanoMeasurePlugin/Controller/BaseController.d.ts +36 -0
- package/plugins/PanoMeasurePlugin/Controller/BaseController.js +103 -0
- package/plugins/PanoMeasurePlugin/Controller/EditController.d.ts +52 -0
- package/plugins/PanoMeasurePlugin/Controller/EditController.js +341 -0
- package/plugins/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
- package/plugins/PanoMeasurePlugin/Controller/ShortcutKeyController.js +69 -0
- package/plugins/PanoMeasurePlugin/Controller/WatchController.d.ts +25 -0
- package/plugins/PanoMeasurePlugin/Controller/WatchController.js +371 -0
- package/plugins/PanoMeasurePlugin/Controller/index.d.ts +61 -0
- package/plugins/PanoMeasurePlugin/Controller/index.js +230 -0
- package/plugins/PanoMeasurePlugin/Model/index.d.ts +38 -0
- package/plugins/PanoMeasurePlugin/Model/index.js +235 -0
- package/plugins/PanoMeasurePlugin/Model/line.d.ts +30 -0
- package/plugins/PanoMeasurePlugin/Model/line.js +121 -0
- package/plugins/PanoMeasurePlugin/Model/point.d.ts +16 -0
- package/plugins/PanoMeasurePlugin/Model/point.js +68 -0
- package/plugins/PanoMeasurePlugin/Model/polyline.d.ts +16 -0
- package/plugins/PanoMeasurePlugin/Model/polyline.js +109 -0
- package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +2 -0
- package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +11 -0
- package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +2 -0
- package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +11 -0
- package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +2 -0
- package/plugins/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +11 -0
- package/plugins/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +22 -0
- package/plugins/PanoMeasurePlugin/Modules/DeleteDom/index.js +182 -0
- package/plugins/PanoMeasurePlugin/Modules/FiveHelper.d.ts +11 -0
- package/plugins/PanoMeasurePlugin/Modules/FiveHelper.js +66 -0
- package/plugins/PanoMeasurePlugin/Modules/GuideController.d.ts +18 -0
- package/plugins/PanoMeasurePlugin/Modules/GuideController.js +107 -0
- package/plugins/PanoMeasurePlugin/Modules/Magnifier.d.ts +24 -0
- package/plugins/PanoMeasurePlugin/Modules/Magnifier.js +139 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +6 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/HTML.js +26 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +18 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +169 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +12 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +59 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/index.d.ts +16 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/index.js +123 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/style.d.ts +17 -0
- package/plugins/PanoMeasurePlugin/Modules/UIController/style.js +103 -0
- package/plugins/PanoMeasurePlugin/index.d.ts +7 -0
- package/plugins/PanoMeasurePlugin/index.js +20 -0
- package/plugins/PanoMeasurePlugin/typings/data.d.ts +28 -0
- package/plugins/PanoMeasurePlugin/typings/data.js +7 -0
- package/plugins/PanoMeasurePlugin/typings/event.type.d.ts +28 -0
- package/plugins/PanoMeasurePlugin/typings/event.type.js +7 -0
- package/plugins/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
- package/plugins/PanoMeasurePlugin/typings/utils.type.js +7 -0
- package/plugins/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
- package/plugins/PanoMeasurePlugin/utils/clearGroup.js +16 -0
- package/plugins/PanoMeasurePlugin/utils/constants.d.ts +4 -0
- package/plugins/PanoMeasurePlugin/utils/constants.js +47 -0
- package/plugins/PanoMeasurePlugin/utils/distanceDom.d.ts +28 -0
- package/plugins/PanoMeasurePlugin/utils/distanceDom.js +147 -0
- package/plugins/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +2 -0
- package/plugins/PanoMeasurePlugin/utils/findAssociatedLines.js +37 -0
- package/plugins/PanoMeasurePlugin/utils/findClosestPoint.d.ts +10 -0
- package/plugins/PanoMeasurePlugin/utils/findClosestPoint.js +49 -0
- package/plugins/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +4 -0
- package/plugins/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +20 -0
- package/plugins/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +10 -0
- package/plugins/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +33 -0
- package/plugins/PanoMeasurePlugin/utils/ironbox.d.ts +1 -0
- package/plugins/PanoMeasurePlugin/utils/ironbox.js +14 -0
- package/plugins/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +2 -0
- package/plugins/PanoMeasurePlugin/utils/isNDCPointInScreen.js +16 -0
- package/plugins/PanoMeasurePlugin/utils/line.d.ts +17 -0
- package/plugins/PanoMeasurePlugin/utils/line.js +61 -0
- package/plugins/PanoMeasurePlugin/utils/math.d.ts +17 -0
- package/plugins/PanoMeasurePlugin/utils/math.js +57 -0
- package/plugins/PanoMeasurePlugin/utils/mouseGroup.d.ts +2 -0
- package/plugins/PanoMeasurePlugin/utils/mouseGroup.js +42 -0
- package/plugins/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
- package/plugins/PanoMeasurePlugin/utils/ndc2Screen.js +16 -0
- package/plugins/PanoRulerPlugin/index.d.ts +4 -0
- package/plugins/PanoRulerPlugin/index.js +6 -1
- package/plugins/floorplan/Assets/floorplanExtraObject.d.ts +1 -1
- package/plugins/floorplan/Assets/floorplanExtraObject.js +3 -3
- package/plugins/floorplan/ModelFloorplanPlugin/Controller.d.ts +5 -2
- package/plugins/floorplan/ModelFloorplanPlugin/Controller.js +22 -11
- package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.js +4 -4
- package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.js +5 -5
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.js +2 -2
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomMaterial.d.ts +11 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomMaterial.js +174 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RuleLabels.d.ts +8 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RuleLabels.js +178 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.d.ts +2 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.js +14 -2
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.d.ts +3 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.js +1 -1
- package/plugins/floorplan/ModelFloorplanPlugin/typings/utility.d.ts +2 -0
- package/plugins/floorplan/ModelFloorplanPlugin/typings/utility.js +7 -0
- package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.d.ts +1 -1
- package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.js +1 -1
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.js +1 -0
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.js +4 -4
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.js +2 -2
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +1 -1
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -3
- package/plugins/floorplan/TopviewFloorplanPlugin/Controller.d.ts +3 -0
- package/plugins/floorplan/TopviewFloorplanPlugin/Controller.js +16 -6
- package/plugins/floorplan/index.d.ts +4 -0
- package/plugins/floorplan/index.js +13 -0
- package/plugins/floorplan/typings/floorplanData.d.ts +2 -0
- package/plugins/floorplan/typings/floorplanServerData.d.ts +3 -1
- package/plugins/floorplan/typings/floorplanServerData.js +3 -3
- package/plugins/floorplan/utils/formatData.js +3 -2
- package/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
- package/shared-utils/{changeModelCanvansOpacity.js → changeModelCanvasOpacity.js} +2 -2
- package/shared-utils/math/evenNumber.d.ts +3 -1
- package/shared-utils/math/evenNumber.js +4 -2
- package/shared-utils/removeArrayItem.d.ts +7 -0
- package/shared-utils/removeArrayItem.js +22 -0
- package/shared-utils/three/loadTexture.d.ts +2 -2
- package/shared-utils/three/loadTexture.js +21 -2
- package/shared-utils/changeModelCanvansOpacity.d.ts +0 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.FloorplanPluginServerParams = void 0;
|
|
9
|
+
var FloorplanPluginServerParams = {
|
|
10
|
+
name: 'FloorplanPlugin',
|
|
11
|
+
version: 0
|
|
12
|
+
};
|
|
13
|
+
exports.FloorplanPluginServerParams = FloorplanPluginServerParams;
|
|
@@ -77,11 +77,13 @@ export interface FloorplanRoomItem {
|
|
|
77
77
|
/** 当前房间里的 observer 索引 */
|
|
78
78
|
observerIndexs: number[];
|
|
79
79
|
}
|
|
80
|
+
export declare type FloorplanServerRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanPosition[][]>;
|
|
80
81
|
/** 当前楼层的数据 */
|
|
81
82
|
export interface FloorplanFloorData {
|
|
82
83
|
floorName: string;
|
|
83
84
|
floorIndex: number;
|
|
84
85
|
rooms: FloorplanRoomItem[];
|
|
86
|
+
rules: FloorplanServerRuleLabels;
|
|
85
87
|
}
|
|
86
88
|
/** 对 observer 做一些样式上的计算
|
|
87
89
|
* @description 每一个 floorplanObserver 对应一个 observer
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** 房屋数据映射表 */
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const ROOM_FETILE_TYPE_MAP: ({
|
|
3
3
|
type: number;
|
|
4
4
|
floorType: number;
|
|
5
5
|
roomType: string;
|
|
@@ -96,11 +96,13 @@ export interface FloorplanServerRoomItem {
|
|
|
96
96
|
/** 当前房间里的 observer 索引 */
|
|
97
97
|
observer_indexs: number[];
|
|
98
98
|
}
|
|
99
|
+
export declare type FloorplanServerRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanServerPosition[][]>;
|
|
99
100
|
/** 当前楼层的数据 */
|
|
100
101
|
export interface FloorplanServerFloorData {
|
|
101
102
|
floor_name: string;
|
|
102
103
|
floor_index: number;
|
|
103
104
|
rooms: FloorplanServerRoomItem[];
|
|
105
|
+
rules: FloorplanServerRuleLabels;
|
|
104
106
|
}
|
|
105
107
|
/** 对 observer 做一些样式上的计算
|
|
106
108
|
* @description 每一个 FloorplanServer_observer 对应一个 observer
|
|
@@ -5,10 +5,10 @@ require("core-js/modules/es.object.define-property.js");
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.ROOM_TYPE_MAP = exports.
|
|
8
|
+
exports.ROOM_TYPE_MAP = exports.ROOM_FETILE_TYPE_MAP = exports.FLOOR_TYPE_MAP = void 0;
|
|
9
9
|
|
|
10
10
|
/** 房屋数据映射表 */
|
|
11
|
-
var
|
|
11
|
+
var ROOM_FETILE_TYPE_MAP = [{
|
|
12
12
|
type: 0,
|
|
13
13
|
floorType: 1,
|
|
14
14
|
roomType: '100900000012',
|
|
@@ -308,7 +308,7 @@ var ROOM_DETILE_TYPE_MAP = [{
|
|
|
308
308
|
}];
|
|
309
309
|
/** 地板信息映射表 */
|
|
310
310
|
|
|
311
|
-
exports.
|
|
311
|
+
exports.ROOM_FETILE_TYPE_MAP = ROOM_FETILE_TYPE_MAP;
|
|
312
312
|
var FLOOR_TYPE_MAP = [{
|
|
313
313
|
type: 0,
|
|
314
314
|
description: '木质地板'
|
|
@@ -130,7 +130,8 @@ function formatFloorData(_data) {
|
|
|
130
130
|
return {
|
|
131
131
|
floorName: _data.floor_name,
|
|
132
132
|
floorIndex: _data.floor_index,
|
|
133
|
-
rooms: _data.rooms.map(formatRoom)
|
|
133
|
+
rooms: _data.rooms.map(formatRoom),
|
|
134
|
+
rules: _data.rules
|
|
134
135
|
};
|
|
135
136
|
}
|
|
136
137
|
|
|
@@ -198,7 +199,7 @@ function formatExtraObjects(data, five, floorplanData) {
|
|
|
198
199
|
var extraObjects = data.map(function (object) {
|
|
199
200
|
var position = object.position;
|
|
200
201
|
var icon = object.icon ? object.icon : {
|
|
201
|
-
url: _floorplanExtraObject.
|
|
202
|
+
url: _floorplanExtraObject.FLOORPLAN_EXTRA_OBJECT_IMAGE,
|
|
202
203
|
width: 45,
|
|
203
204
|
height: 48
|
|
204
205
|
};
|
|
@@ -5,7 +5,7 @@ require("core-js/modules/es.object.define-property.js");
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports["default"] =
|
|
8
|
+
exports["default"] = changeModelCanvasOpacity;
|
|
9
9
|
|
|
10
10
|
require("core-js/modules/es.array.iterator.js");
|
|
11
11
|
|
|
@@ -19,7 +19,7 @@ require("core-js/modules/web.dom-collections.iterator.js");
|
|
|
19
19
|
|
|
20
20
|
require("core-js/modules/web.timers.js");
|
|
21
21
|
|
|
22
|
-
function
|
|
22
|
+
function changeModelCanvasOpacity(five, opacity) {
|
|
23
23
|
var duration = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;
|
|
24
24
|
var fiveEle = five.getElement();
|
|
25
25
|
if (!fiveEle) return;
|
|
@@ -7,7 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = evenNumber;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
require("core-js/modules/es.number.constructor.js");
|
|
11
|
+
|
|
12
|
+
function evenNumber(num, config) {
|
|
11
13
|
var roundNum = Math.round(num);
|
|
12
|
-
return roundNum % 2 === 0 ? roundNum : roundNum + 1;
|
|
14
|
+
return roundNum % 2 === 0 ? roundNum : roundNum + Number(config !== null && config !== void 0 && config.smaller ? -1 : 1);
|
|
13
15
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = removeArrayItem;
|
|
9
|
+
|
|
10
|
+
require("core-js/modules/es.array.splice.js");
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 从数组中删除
|
|
14
|
+
* @param item
|
|
15
|
+
* @param array
|
|
16
|
+
* @return 如果删除返回 item
|
|
17
|
+
*/
|
|
18
|
+
function removeArrayItem(item, array) {
|
|
19
|
+
for (var index = 0, len = array.length; index < len; index++) {
|
|
20
|
+
if (item === array[index]) return array.splice(index, 1)[0];
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare function loadTexture(url: string): Promise<Texture>;
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export declare function loadTexture(url: string): Promise<THREE.Texture>;
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
require("core-js/modules/es.array.iterator.js");
|
|
4
|
+
|
|
5
|
+
require("core-js/modules/es.string.iterator.js");
|
|
6
|
+
|
|
7
|
+
require("core-js/modules/es.weak-map.js");
|
|
8
|
+
|
|
9
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
10
|
+
|
|
3
11
|
require("core-js/modules/es.object.define-property.js");
|
|
4
12
|
|
|
13
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
14
|
+
|
|
5
15
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
16
|
|
|
17
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
18
|
+
|
|
7
19
|
Object.defineProperty(exports, "__esModule", {
|
|
8
20
|
value: true
|
|
9
21
|
});
|
|
@@ -17,9 +29,13 @@ require("core-js/modules/es.promise.js");
|
|
|
17
29
|
|
|
18
30
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
19
31
|
|
|
20
|
-
var
|
|
32
|
+
var THREE = _interopRequireWildcard(require("three"));
|
|
33
|
+
|
|
34
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
35
|
+
|
|
36
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
37
|
|
|
22
|
-
var textureLoader = new
|
|
38
|
+
var textureLoader = new THREE.TextureLoader();
|
|
23
39
|
|
|
24
40
|
function loadTexture(_x) {
|
|
25
41
|
return _loadTexture.apply(this, arguments);
|
|
@@ -33,6 +49,9 @@ function _loadTexture() {
|
|
|
33
49
|
case 0:
|
|
34
50
|
return _context.abrupt("return", new Promise(function (resolve, reject) {
|
|
35
51
|
textureLoader.load(url, resolve, undefined, reject);
|
|
52
|
+
}).then(function (texture) {
|
|
53
|
+
texture.encoding = THREE.sRGBEncoding;
|
|
54
|
+
return texture;
|
|
36
55
|
}));
|
|
37
56
|
|
|
38
57
|
case 1:
|