conv

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Pi_2 = math.Pi / 2.0

Variables

This section is empty.

Functions

func ConvertEquirectangularToCubeMap

func ConvertEquirectangularToCubeMap(rValue int, imgIn image.Image, sides []string) []*image.RGBA

func ReadImage

func ReadImage(imagePath string) (image.Image, string, error)

func WriteImage

func WriteImage(canvases []*image.RGBA, writeDirPath, imgExt string, sides []string) error

Types

type Number

type Number interface {
	uint32 | float64
}

type Vec3

type Vec3[T Number] struct {
	X, Y, Z T
}

Jump to

Keyboard shortcuts

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