@canvas3/nuxt 0.0.4 → 0.0.6
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/dist/module.json
CHANGED
|
@@ -108,10 +108,10 @@ export type Canvas3ImageBinding = {
|
|
|
108
108
|
export type Canvas3ImageBindType = {
|
|
109
109
|
alt: string;
|
|
110
110
|
src: string;
|
|
111
|
-
loadStrategy?: 'lazy' | 'eager' | undefined;
|
|
111
|
+
loadStrategy?: 'lazy' | 'eager' | 'preload' | undefined;
|
|
112
112
|
shaderName?: string;
|
|
113
113
|
uniforms?: MeshMaterialUniform;
|
|
114
|
-
activateMeshUniforms
|
|
114
|
+
activateMeshUniforms?: MeshMaterialUniform;
|
|
115
115
|
};
|
|
116
116
|
declare module 'vue' {
|
|
117
117
|
interface GlobalDirectives {
|
|
@@ -366,8 +366,8 @@ class Canvas3Class {
|
|
|
366
366
|
uMeshSize: { value: new THREE.Vector2(bounds.width, bounds.height) },
|
|
367
367
|
uTextureSize: {
|
|
368
368
|
value: new THREE.Vector2(
|
|
369
|
-
|
|
370
|
-
|
|
369
|
+
bitmap.width,
|
|
370
|
+
bitmap.height
|
|
371
371
|
)
|
|
372
372
|
},
|
|
373
373
|
uViewport: {
|