We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc2a49 commit 1dd2200Copy full SHA for 1dd2200
1 file changed
src/utils/preview.js
@@ -8,6 +8,16 @@ const bjdata = window.bjdata;
8
const uPlot = window.uPlot;
9
const Buffer = window.buffer_module.Buffer;
10
11
+const texture_dtype = {
12
+ uint8: THREE.UnsignedByteType,
13
+ uint16: THREE.UnsignedShortType,
14
+ uint32: THREE.UnsignedIntType,
15
+ int8: THREE.ByteType,
16
+ int16: THREE.ShortType,
17
+ int32: THREE.IntType,
18
+ float32: THREE.FloatType,
19
+};
20
+
21
var urldata = {};
22
const niitype = {
23
2: "uint8",
0 commit comments