Skip to content

⬅️ Back to Table of Contents

📄 BatchedMesh.tests.js

📊 Analysis Summary

Metric Count
📦 Imports 3
📊 Variables & Constants 4

📚 Table of Contents

🛠️ File Location:

📂 test/unit/src/objects/BatchedMesh.tests.js

📦 Imports

Name Source
BatchedMesh ../../../../src/objects/BatchedMesh.js
BoxGeometry ../../../../src/geometries/BoxGeometry.js
MeshBasicMaterial ../../../../src/materials/MeshBasicMaterial.js

Variables & Constants

Name Type Kind Value Exported
box BoxGeometry let/var new BoxGeometry( 1, 1, 1 )
material MeshBasicMaterial let/var new MeshBasicMaterial( { color: 0x00ff00 } )
batchedMesh BatchedMesh let/var new BatchedMesh( 4, 5000, 10000, material )
boxInstanceIds any[] let/var []