mirror of
https://github.com/troisjs/trois.git
synced 2024-11-23 20:02:32 +08:00
Add missing SphereGeometry parameters
This commit is contained in:
parent
aee1719ed1
commit
fee0fcf9b6
@ -5,6 +5,10 @@ export const props = {
|
|||||||
radius: { type: Number, default: 1 },
|
radius: { type: Number, default: 1 },
|
||||||
widthSegments: { type: Number, default: 12 },
|
widthSegments: { type: Number, default: 12 },
|
||||||
heightSegments: { 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
|
} as const
|
||||||
|
|
||||||
export function createGeometry(comp: any): SphereGeometry {
|
export function createGeometry(comp: any): SphereGeometry {
|
||||||
|
Loading…
Reference in New Issue
Block a user