From 10b86eff6a0bc38f23a33fefa06c6270890be577 Mon Sep 17 00:00:00 2001 From: Ken V Date: Sat, 22 Jan 2022 05:22:52 +0100 Subject: [PATCH] Add missing SphereGeometry parameters --- src/geometries/SphereGeometry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geometries/SphereGeometry.ts b/src/geometries/SphereGeometry.ts index 71a73d5..c7a2db9 100644 --- a/src/geometries/SphereGeometry.ts +++ b/src/geometries/SphereGeometry.ts @@ -12,7 +12,7 @@ export const props = { } as const export function createGeometry(comp: any): SphereGeometry { - return new SphereGeometry(comp.radius, comp.widthSegments, comp.heightSegments) + return new SphereGeometry(comp.radius, comp.widthSegments, comp.heightSegments, comp.phiStart, comp.phiLength, comp.thetaStart, comp.thetaLength) } export default geometryComponent('SphereGeometry', props, createGeometry)