cubemap

package
v0.0.0-...-68053d7 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type M

type M map[geom.Vec3]rune

M is a map of geom.Vec3 to rune.

func ParseCSVLines

func ParseCSVLines(lines []string, r rune) (M, error)

ParseCSVLines parses a slice of comma-separated x,y,z lines into a cubemap.M.

func (M) AsString

func (m M) AsString(empty rune) string

func (M) Has

func (m M) Has(pos geom.Vec3) bool

Has returns true if the cubemap has an entry at pos.

func (M) MinMax

func (m M) MinMax() (geom.Vec3, geom.Vec3)

MinMax returns the minimum and maximum X, Y, and Z coordinates.

Jump to

Keyboard shortcuts

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