geometry_compute_vertex_normals_indexed
geometry_compute_vertex_normals_indexed(positions, normals, indices)
based on code from THREE.js Prior to calling this function, normals need to be set to 0
Kind: global function
Param | Type |
---|---|
positions | Array.<number> | Float32Array |
normals | Array.<number> | Float32Array |
indices | Array.<number> | Uint32Array | Uint16Array | Uint8Array |