Documentation ¶ Index ¶ Constants func ConvertEquirectangularToCubeMap(rValue int, imgIn image.Image, sides []string) []*image.RGBA func ReadImage(imagePath string) (image.Image, string, error) func WriteImage(canvases []*image.RGBA, writeDirPath, imgExt string, sides []string) error type Number type Vec3 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 } Source Files ¶ View all Source files convert.go img.go Click to show internal directories. Click to hide internal directories.