Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeshInstance ¶
type MeshInstance struct { MeshIndex uint32 Transform types.Mat4 // contains filtered or unexported fields }
A mesh instance applies a transformation to a particular Mesh.
func (*MeshInstance) SetBBox ¶
func (mi *MeshInstance) SetBBox(bbox [2]types.Vec3)
Set the mesh instance AABB.
func (*MeshInstance) SetCenter ¶
func (mi *MeshInstance) SetCenter(center types.Vec3)
Set the mesh instance center.
Click to show internal directories.
Click to hide internal directories.