From fee0fcf9b65101d96941623e01b99884179a6327 Mon Sep 17 00:00:00 2001 From: Ken V Date: Sat, 22 Jan 2022 04:18:40 +0100 Subject: [PATCH] Add missing SphereGeometry parameters --- src/geometries/SphereGeometry.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/geometries/SphereGeometry.ts b/src/geometries/SphereGeometry.ts index d7ebe58..71a73d5 100644 --- a/src/geometries/SphereGeometry.ts +++ b/src/geometries/SphereGeometry.ts @@ -5,6 +5,10 @@ export const props = { radius: { type: Number, default: 1 }, widthSegments: { type: Number, default: 12 }, heightSegments: { type: Number, default: 12 }, + phiStart: { type: Number, default: 0 }, + phiLength: { type: Number, default: Math.PI * 2 }, + thetaStart: { type: Number, default: 0 }, + thetaLength: { type: Number, default: Math.PI }, } as const export function createGeometry(comp: any): SphereGeometry {