Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyImage ¶
CopyImage copies img to a new RGBA image.
Basically CopyImage just calls draw.Draw. If img is a paletted image, an optimized copying method is used.
CopyImage is used only internally but it is exposed for testing.
func MipmapLevel ¶ added in v1.8.0
MipmapLevel returns an appropriate mipmap level for the given determinant of a geometry matrix.
MipmapLevel returns -1 if det is 0.
MipmapLevel panics if det is NaN.
func QuadIndices ¶ added in v1.8.0
func QuadIndices() []uint16
func QuadVertices ¶ added in v1.8.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.