@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
20 lines • 1.07 kB
TypeScript
/**
* @see https://github.com/mrdoob/three.js/blob/master/src/geometries/TubeGeometry.js
* @see https://github.com/hofk/THREEg.js/blob/488f1128a25321a76888aa1fa19db64750318444/THREEg.js#L3483
* @param {Float32Array|number[]} in_positions
* @param {Vector3[]} in_normals
* @param {Vector3[]} in_binormals
* @param {Vector3[]} in_tangents
* @param {number[]} shape
* @param {number[]|Float32Array} shape_normal
* @param {number} shape_length
* @param {number[]|Float32Array} shape_transform
* @param {boolean} [closed]
* @param {CapType} [cap_type]
* @returns {BufferGeometry}
*/
export function makeTubeGeometry(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, closed?: boolean, cap_type?: CapType): BufferGeometry;
import { Vector3 } from "three";
import { CapType } from "../CapType.js";
import { BufferGeometry } from "three";
//# sourceMappingURL=makeTubeGeometry.d.ts.map