@abi-software/scaffoldvuer 1.16.1 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/scaffoldvuer",
3
- "version": "1.16.1",
3
+ "version": "1.17.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -53,7 +53,7 @@
53
53
  "unplugin-vue-components": "^0.26.0",
54
54
  "vue": "^3.4.21",
55
55
  "vue-router": "^4.2.5",
56
- "zincjs": "1.20.1"
56
+ "zincjs": "^2.0.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@babel/eslint-parser": "^7.28.0",
@@ -1,4 +1,4 @@
1
- import volumeTexture from "zincjs/src/shaders/volumeTexture.js";
1
+ import * as volumeTexture from "zincjs/src/shaders/volumeTexture.js";
2
2
 
3
3
  const getVolumeTexture = (texture) => {
4
4
  const myUniforms = volumeTexture.getUniforms();
@@ -68,7 +68,7 @@ export const testVolume = async (scaffoldVuer, texture_prefix) => {
68
68
  const addCylinder = (scaffoldVuer) => {
69
69
  const THREE = scaffoldVuer.$module.Zinc.THREE;
70
70
  const cylinderGeometry = new THREE.CylinderGeometry(50, 50, 200,80);
71
- const material = new THREE.MeshPhongMaterial( {color: 0xffff00, side : THREE.DoubleSide} );
71
+ const material = new THREE.MeshPhongMaterial( {color: 0xffff00, side : THREE.DoubleSide} );
72
72
  const cylinderMesh = new THREE.Mesh( cylinderGeometry, material );
73
73
  const zincGeometry = new scaffoldVuer.$module.Zinc.Geometry();
74
74
  zincGeometry.setMesh(cylinderMesh, false, false);