Aabb3.fromTriangle constructor
Aabb3.fromTriangle(
- Triangle triangle
Create a new AABB that encloses a triangle
.
Implementation
factory Aabb3.fromTriangle(Triangle triangle) =>
Aabb3()..setTriangle(triangle);