package load_result
Types
AnimBone
struct
type AnimBone struct {
NodeIndex int
PathType AnimationPathType
Interpolation AnimationInterpolation
// Could be Vec3 or Quaternion, doing this because Go doesn't have a union
Data [4]matrix.Float
}
AnimKeyFrame
struct
Animation
struct
AnimationInterpolation
const ( AnimInterpolateInvalid AnimationInterpolation = iota - 1 AnimInterpolateLinear AnimInterpolateStep AnimInterpolateCubicSpline )
AnimationPathType
const ( AnimPathInvalid AnimationPathType = iota - 1 AnimPathTranslation AnimPathRotation AnimPathScale AnimPathWeights )
Joint
struct
Mesh
struct
type Mesh struct {
Node *Node
Name string
MeshName string
Verts []rendering.Vertex
Indexes []uint32
Textures []string
}
Mesh.GenerateBVH
Mesh.ScaledRadius
Node
struct
Result
struct
Result.Add
func (r *Result) Add(name, meshName string, verts []rendering.Vertex, indexes []uint32, textures []string, node *Node)