mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
graphics: Add explicit types for documents (godoc.org)
This commit is contained in:
parent
f5708cb58a
commit
ea9eac0461
4
image.go
4
image.go
@ -430,10 +430,10 @@ type Address int
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// AddressClampToZero means that out-of-range texture coordinates return 0 (transparent).
|
// AddressClampToZero means that out-of-range texture coordinates return 0 (transparent).
|
||||||
AddressClampToZero = Address(graphics.AddressClampToZero)
|
AddressClampToZero Address = Address(graphics.AddressClampToZero)
|
||||||
|
|
||||||
// AddressRepeat means that texture coordinates wrap to the other side of the texture.
|
// AddressRepeat means that texture coordinates wrap to the other side of the texture.
|
||||||
AddressRepeat = Address(graphics.AddressRepeat)
|
AddressRepeat Address = Address(graphics.AddressRepeat)
|
||||||
)
|
)
|
||||||
|
|
||||||
// DrawTrianglesOptions represents options to render triangles on an image.
|
// DrawTrianglesOptions represents options to render triangles on an image.
|
||||||
|
Loading…
Reference in New Issue
Block a user