@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
48 lines (47 loc) • 1.51 kB
TypeScript
import { Color } from 'three';
export declare enum QUADObjectType {
DEFAULT = "Quad"
}
export declare const QUAD_OBJECT_TYPES_SET: Set<QUADObjectType>;
export interface QUADTesselationParams {
triangles: boolean;
wireframe: boolean;
unsharedEdges: boolean;
wireframeColor: Color;
connections: boolean;
connectionsBetweenQuadsSharingEdge: boolean;
connectionsBetweenQuadsSharingPointOnly: boolean;
connectionsColor: Color;
center: boolean;
innerRadius: boolean;
outerRadius: boolean;
edgeCenterVectors: boolean;
edgeNearestPointVectors: boolean;
splitQuads: boolean;
pointAttributes: string;
primitiveAttributes: string;
}
export interface QUADOBJTesselationParams {
QUADTriangles: boolean;
QUADWireframe: boolean;
QUADUnsharedEdges: boolean;
QUADWireframeColor: Color;
QUADConnections: boolean;
QUADConnectionsBetweenQuadsSharingEdge: boolean;
QUADConnectionsBetweenQuadsSharingPointOnly: boolean;
QUADConnectionsColor: Color;
QUADCenter: boolean;
QUADInnerRadius: boolean;
QUADOuterRadius: boolean;
QUADEdgeCenterVectors: boolean;
QUADEdgeNearestPointVectors: boolean;
QUADSplitQuads: boolean;
QUADPointAttributes: string;
QUADPrimitiveAttributes: string;
}
export declare enum QuadTriangulationAttribute {
INNER_RADIUS = "innerRadius",
OUTER_RADIUS = "outerRadius",
EDGE_CENTER_VECTOR = "edgeCenterVector",
EDGE_NEAREST_POINT_VECTOR = "edgeNearestPointVector"
}