@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
28 lines • 768 B
TypeScript
/**
* A geometry is separated into individual triangles, with each triangle projected onto a single plane.
* This class contains and fully describes such assignment
*/
export class FacePlaneAssignment {
/**
* Flat plane data array
* Format: [normal_0_x, normal_0_y, normal_0_z, plane_0_offset, normal_1_x, ... ]
* @type {number[]}
*/
planes: number[];
/**
*
* @type {number}
*/
plane_count: number;
/**
*
* @type {THREE.BufferGeometry|null}
*/
geometry: THREE.BufferGeometry | null;
/**
* Indices of planes associated with each face (triangle) for a given face index
* @type {number[]}
*/
face_assignments: number[];
}
//# sourceMappingURL=FacePlaneAssignment.d.ts.map