From 6162fd6960534323ee43a055f0987af21f709243 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Thu, 1 Oct 2020 22:52:59 +0200 Subject: [PATCH] wip --- src/components/index.js | 1 + src/components/noisy/NoisySphere.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/index.js b/src/components/index.js index 39e8c1c..2ba5c6c 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -1,5 +1,6 @@ export { default as NoisyImage } from './noisy/NoisyImage.js'; export { default as NoisyPlane } from './noisy/NoisyPlane.js'; +export { default as NoisySphere } from './noisy/NoisySphere.js'; export { default as NoisyText } from './noisy/NoisyText.js'; export { default as Slider1 } from './sliders/Slider1.vue'; diff --git a/src/components/noisy/NoisySphere.js b/src/components/noisy/NoisySphere.js index 0f3d3de..4802e44 100644 --- a/src/components/noisy/NoisySphere.js +++ b/src/components/noisy/NoisySphere.js @@ -5,6 +5,7 @@ import snoise4 from '../../glsl/snoise4.glsl.js'; export default { extends: Sphere, props: { + radius: { type: Number, default: 20 }, widthSegments: { type: Number, default: 128 }, heightSegments: { type: Number, default: 128 }, timeCoef: { type: Number, default: 0.001 },