@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
30 lines • 1.38 kB
TypeScript
/**
*
* @param {number} index
* @param {Float32Array|number[]} in_positions
* @param {Vector3[]} in_normals
* @param {Vector3[]} in_binormals
* @param {StreamGeometryBuilder} out
* @param {Vector3[]} in_tangents
* @param {number[]} shape
* @param {number[]|Float32Array} shape_normal
* @param {number} shape_length
* @param {number[]|Float32Array} shape_transform
* @param {number} direction
* @param {CapType} type
*/
export function make_cap(out: StreamGeometryBuilder, index: number, in_positions: Float32Array | number[], in_normals: Vector3[], in_binormals: Vector3[], in_tangents: Vector3[], shape: number[], shape_normal: number[] | Float32Array, shape_length: number, shape_transform: number[] | Float32Array, direction: number, type: CapType): void;
/**
* Increases target geometry buffers to accommodate a given number of caps
* @param {number} count how many caps
* @param {{polygon_count:number, vertex_count:number}} out where to increment
* @param {number} radial_segments number of lines that make up profile of the extruded shape
* @param {CapType} type
*/
export function append_compute_cap_geometry_size(count: number, out: {
polygon_count: number;
vertex_count: number;
}, radial_segments: number, type: CapType): void;
import { Vector3 } from "three";
import { CapType } from "../CapType.js";
//# sourceMappingURL=make_cap.d.ts.map