cheryglsljs 1.1.11 → 1.1.13
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
package/src/cherry.js
CHANGED
@@ -2,7 +2,7 @@ import createWaveAssets from "../../utils/init.js";
|
|
2
2
|
import fragmentShader from "./FragementShader.glsl.js";
|
3
3
|
import vertexShader from "./VertexShader.glsl.js";
|
4
4
|
import gsap from "gsap";
|
5
|
-
|
5
|
+
import *as THREE from 'three';
|
6
6
|
|
7
7
|
export function ImageTransition1(
|
8
8
|
container,
|
@@ -3,6 +3,7 @@ import createWaveAssets from '../../utils/init.js';
|
|
3
3
|
import fragmentShader from './FragementShader.glsl.js';
|
4
4
|
import vertexShader from './Vertexshader.glsl.js';
|
5
5
|
import gsap from 'gsap';
|
6
|
+
import *as THREE from 'three';
|
6
7
|
|
7
8
|
const CherryWave = ({ container, image, speed = 0.05, strength = 0.02, hover = false,light }) => {
|
8
9
|
if (!image) {
|
package/src/utils/init.js
CHANGED