@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
27 lines (26 loc) • 736 B
TypeScript
import type { Vector3 } from 'three';
export declare enum PointBuilderAssemblerConstant {
POINT_CONTAINER = "pointContainer",
POSITION = "pointContainer.position",
NORMAL = "pointContainer.normal",
PTNUM = "pointContainer.ptnum",
OBJNUM = "pointContainer.objnum",
NORMALS_UPDATED = "pointContainer.normalsUpdated",
ATTRIBUTES_DICT = "attributesDict",
OBJECT_3D = "null",
MATERIAL = "null",
PRIMITIVE_GRAPH = "null"
}
export interface PointContainer {
position: Vector3;
normal: Vector3;
ptnum: number;
objnum: number;
normalsUpdated: boolean;
}
export declare enum PointVariable {
POSITION = "position",
NORMAL = "normal",
PTNUM = "ptnum",
OBJNUM = "objnum"
}