MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / init_triangles_flat

Function init_triangles_flat

webgl/js/three.min.js:7290–7301  ·  view source on GitHub ↗
( start )

Source from the content-addressed store, hash-verified

7288 };
7289
7290 function init_triangles_flat( start ) {
7291
7292 var nElements = md.ntri_flat;
7293
7294 if ( nElements ) {
7295
7296 var offsetMaterials = start + nElements * Uint32Array.BYTES_PER_ELEMENT * 3;
7297 init_faces3_flat( nElements, start, offsetMaterials );
7298
7299 }
7300
7301 };
7302
7303 function init_triangles_flat_uv( start ) {
7304

Callers 1

ModelFunction · 0.85

Calls 1

init_faces3_flatFunction · 0.85

Tested by

no test coverage detected