planes

package
v0.0.0-...-e95280a Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	ToVertices(plane Plane) ([]vertices.Vertex, error)
}

Adapter represents a plane adapter

type Builder

type Builder interface {
	Create() Builder
	WithPosition(pos fl32.Vec2) Builder
	WithWidth(width float32) Builder
	WithHeight(height float32) Builder
	Now() (Plane, error)
}

Builder represents a plane builder

type Plane

type Plane interface {
	Position() fl32.Vec2
	Width() float32
	Height() float32
}

Plane represents a plane

Jump to

Keyboard shortcuts

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