func (prim *Primitive) BBox() [2]types.Vec3 {
	return prim.bbox
}
Get the primitive AABB.
package input
import (
	"math"
	"github.com/achilleasa/polaris/asset"
	"github.com/achilleasa/polaris/types"
)
type Material struct {
	Name string
	Expression string
	AssetRelPath *asset.Resource
	Used bool
}
type Primitive struct {
	Vertices      [3]types.Vec3
	Normals       [3]types.Vec3
	UVs           [3]types.Vec2
	MaterialIndex int
	bbox   [2]types.Vec3
	center types.Vec3
}
func (prim *Primitive) SetBBox(bbox [2]types.Vec3) {
	prim.bbox = bbox
}
func (prim *Primitive) SetCenter(center types.Vec3) {
	prim.center = center
}