magica

package
v0.0.0-...-b44e215 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VoxFileModel

type VoxFileModel struct {
	// contains filtered or unexported fields
}

func Read

func Read(rd io.Reader) (*VoxFileModel, error)

func (*VoxFileModel) At

func (vfm *VoxFileModel) At(pos mgl.Vec3I) rendering.Voxel

func (*VoxFileModel) ColorModel

func (vfm *VoxFileModel) ColorModel() color.Model

func (*VoxFileModel) ForeachVoxel

func (vfm *VoxFileModel) ForeachVoxel(fn func(pos mgl.Vec3I, vox rendering.Voxel))

func (*VoxFileModel) Size

func (vfm *VoxFileModel) Size() mgl.Vec3I

func (*VoxFileModel) String

func (vfm *VoxFileModel) String() string

Jump to

Keyboard shortcuts

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