@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
18 lines (17 loc) • 665 B
TypeScript
import { BaseSopOperation } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { Vector3 } from 'three';
import { DefaultOperationParams } from '../../../core/operations/_Base';
interface IcosahedronSopParams extends DefaultOperationParams {
radius: number;
detail: number;
pointsOnly: boolean;
center: Vector3;
}
export declare class IcosahedronSopOperation extends BaseSopOperation {
static readonly DEFAULT_PARAMS: IcosahedronSopParams;
static type(): Readonly<'icosahedron'>;
cook(input_contents: CoreGroup[], params: IcosahedronSopParams): CoreGroup;
private _createIcosahedronObject;
}
export {};