conv

package
v0.0.0-...-3985765 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 10 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) []*image.RGBA

func ReadImage

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

func WriteImage

func WriteImage(canvases []*image.RGBA, writeDirPath, imgExt 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