@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
11 lines (10 loc) • 465 B
TypeScript
import { Number4 } from '../../../../../types/GlobalTypes';
export type QuadHalfEdgeSide = 's' | 'n' | 'w' | 'e';
export declare const CCW_HALF_EDGE_SIDES: QuadHalfEdgeSide[];
export interface HalfEdgeIndices {
index0: number;
index1: number;
}
export type NeighbourIndex = 0 | 1 | 2 | 3;
export declare const NEIGHBOUR_INDICES: NeighbourIndex[];
export declare function quadHalfEdgeIndices(quad: Number4, edgeIndex: number, target: HalfEdgeIndices): void;