From 16e496232e3c2bf5eec4a228df20daf3642aa932 Mon Sep 17 00:00:00 2001 From: Damian Koper Date: Sun, 16 Apr 2023 16:42:59 +0200 Subject: [PATCH] fix: tube geometry radial segments typo --- src/geometries/TubeGeometry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geometries/TubeGeometry.ts b/src/geometries/TubeGeometry.ts index d70eb62..3715ad4 100644 --- a/src/geometries/TubeGeometry.ts +++ b/src/geometries/TubeGeometry.ts @@ -20,7 +20,7 @@ export function createGeometry(comp: any): TubeGeometry { } else { console.error('Missing path curve or points.') } - return new TubeGeometry(curve, comp.tubularSegments, comp.radius, comp.radiusSegments, comp.closed) + return new TubeGeometry(curve, comp.tubularSegments, comp.radius, comp.radialSegments, comp.closed) } export default defineComponent({