1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-27 22:12:01 +08:00

fix: tube geometry radial segments typo

This commit is contained in:
Damian Koper 2023-04-16 16:42:59 +02:00 committed by GitHub
parent a1b1239809
commit 16e496232e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ export function createGeometry(comp: any): TubeGeometry {
} else { } else {
console.error('Missing path curve or points.') 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({ export default defineComponent({