spheres

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(sphere Sphere) ([]vertices.Vertex, error)
}

Adapter represents a sphere adapter

type Builder

type Builder interface {
	Create() Builder
	WithPoints(points uint) Builder
	WithRadius(radius float32) Builder
	WithCenter(center fl32.Vec3) Builder
	Now() (Sphere, error)
}

Builder represents a sphere builder

type Sphere

type Sphere interface {
	Points() uint
	Radius() float32
	Center() fl32.Vec3
}

Sphere represents a sphere

Jump to

Keyboard shortcuts

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