shapes/trimesh library
Classes
- TorusGeometry
- Trimesh
-
Trimesh.
@example
// How to make a mesh with a single triangle
final vertices =
0, 0, 0, // vertex 0 1, 0, 0, // vertex 1 0, 1, 0 // vertex 2
final indices =0, 1, 2 // triangle 0
final trimeshShape = CANNON.Trimesh(vertices, indices)