@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
17 lines • 596 B
TypeScript
/**
*
* @param {Sampler2D} samplerHeight
* @param {Vector2} position
* @param {Vector2} size
* @param {Vector2} scale
* @param {Vector2} totalSize
* @param {number} resolution
* @returns {{indices, vertices: Float32Array, normals: Float32Array, uvs: Float32Array}}
*/
export function build_height_field_geometry(samplerHeight: Sampler2D, position: Vector2, size: Vector2, scale: Vector2, totalSize: Vector2, resolution: number): {
indices: any;
vertices: Float32Array;
normals: Float32Array;
uvs: Float32Array;
};
//# sourceMappingURL=build_height_field_geometry.d.ts.map