Documentation ¶
Index ¶
- Constants
- Variables
- func AngleOriginAsFloat32(angle float64, rect image.Rectangle) float32
- func AppendBillboardUVVerticesIndices(vx []ebiten.Vertex, ix []uint16, index uint16, rect image.Rectangle, ...) ([]ebiten.Vertex, []uint16)
- func AppendBillboardVerticesIndices(vx []ebiten.Vertex, ix []uint16, index uint16, pos, right, up mgl64.Vec3, ...) ([]ebiten.Vertex, []uint16)
- func AppendQuadVerticesIndices(vertices []ebiten.Vertex, indices []uint16, index int, opts *QuadOpts) ([]ebiten.Vertex, []uint16)
- func AppendRectVerticesIndices(vertices []ebiten.Vertex, indices []uint16, index int, opts *RectOpts) ([]ebiten.Vertex, []uint16)
- func ColorAsFloat32RGB(clr color.Color) float32
- func ScreenCoordinates(x, y float64, rect image.Rectangle) (float32, float32)
- func ScreenVertices(vertices []ebiten.Vertex, width, height int)
- type Context
- type QuadOpts
- type RectOpts
Constants ¶
View Source
const (
SpriteScale = 10
)
Variables ¶
View Source
var (
BrushImage = ebiten.NewImage(3, 3)
)
Functions ¶
func ColorAsFloat32RGB ¶
func ScreenCoordinates ¶
func ScreenVertices ¶
func ScreenVertices(vertices []ebiten.Vertex, width, height int)
Types ¶
Click to show internal directories.
Click to hide internal directories.