mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
fix: tube geometry radial segments typo
This commit is contained in:
parent
a1b1239809
commit
16e496232e
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user