Octree constructor

Octree(
  1. ShapeConfig config,
  2. List<double> vertices,
  3. List<int> indices, [
  4. List<double>? normals,
  5. AABB? aabb,
])

Implementation

Octree(
    ShapeConfig config,
    List<double> vertices,
    List<int> indices,
    [
      List<double>? normals,
      // List<double>? uvs,
      AABB? aabb,
    ]
  ):super(config){
    type = Shapes.octree;
    _vertices = vertices;
    _indices = indices;
    _normals = normals;
    // _uvs = uvs;
    node = OctreeNode(aabb);
    _fromGraphNode();
}