Aabb3.fromTriangle constructor Null safety

Aabb3.fromTriangle(
  1. Triangle triangle
)

Create a new AABB that encloses a triangle.

Implementation

factory Aabb3.fromTriangle(Triangle triangle) =>
    Aabb3()..setTriangle(triangle);