Skip to content

package loaders

import "kaiju/rendering/loaders"

Functions

GLTF

func GLTF(path string, assetDB *assets.Database) (load_result.Result, error)

OBJ

func OBJ(objData string) load_result.Result

TrySelectResultMesh

func TrySelectResultMesh(mesh *load_result.Mesh,

e *engine.Entity, ray collision.Ray) (matrix.Float, bool)

ObjToRaw

func ObjToRaw(objData string) []objBuilder