Model

package
v0.0.0-...-9749107 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2020 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportModel

func ImportModel(filename string, index int) (*Model, ImportResult)

Types

type ImportResult

type ImportResult struct {
	Errors   Error.ErrorCollection
	Warnings Error.ErrorCollection
}

func (*ImportResult) Success

func (result *ImportResult) Success() bool

type Model

type Model struct {
	Mesh.IMesh
	Material Material.IMaterial
}

func (*Model) Draw

func (model *Model) Draw(shader Shader.IShaderProgram, invoker Scene.IDrawable, scene Scene.IScene, camera Camera.ICamera) error

func (*Model) GetPosition

func (model *Model) GetPosition() GeometryMath.Vector3

func (*Model) UnmarshalYAML

func (model *Model) UnmarshalYAML(value *yaml.Node) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL