minecraft

package
v0.0.0-...-2bbf7df Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RenderForce  = Render("force")  // 512 blocks
	RenderNormal = Render("normal") // less than 512 blocks, I forget :(

)

Variables

This section is empty.

Functions

func ImageToCommands

func ImageToCommands(pc ParticleColoredCommand, loc emath.Vector3F, img image.Image) (commands []string)

TODO add scaling, rotation, etc TODO loc unused rn TODO convert this to using verts to commands maybe

func VertsToCommands

func VertsToCommands(pc ParticleColoredCommand, loc emath.Vector3F, vertices []data.ObjVertice) (commands []string)

TODO Loc unused

Types

type ParticleColoredCommand

type ParticleColoredCommand interface {
	Generate(x, y, z float32, rgb emath.Vector3F) string
}

func NewParticleDustCommand

func NewParticleDustCommand(size float32, relativePos bool, boxDir emath.Vector3F, speed float32, count int32, render Render) ParticleColoredCommand

type Render

type Render string

Jump to

Keyboard shortcuts

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