mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 11:02:40 +08:00
10 lines
254 B
TypeScript
10 lines
254 B
TypeScript
'use strict';
|
|
|
|
import cylinder, { ICylinderOptions } from './cylinder';
|
|
|
|
type IConeOptions = ICylinderOptions;
|
|
|
|
export default function (radius = 0.5, height = 1, opts: RecursivePartial<IConeOptions> = {}) {
|
|
return cylinder(0, radius, height, opts);
|
|
}
|