mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
graphics: Fix comments about Vertex
This commit is contained in:
parent
85df49dc96
commit
529cd3376b
3
image.go
3
image.go
@ -411,7 +411,8 @@ type Vertex struct {
|
|||||||
DstY float32
|
DstY float32
|
||||||
|
|
||||||
// SrcX and SrcY represents a point on a source image.
|
// SrcX and SrcY represents a point on a source image.
|
||||||
// Note that SrcX/SrcY on a sub-image should be in its bounds.
|
// Be careful that SrcX/SrcY coordinates are on the image's bounds.
|
||||||
|
// This means that a left-upper point of a sub-image might not be (0, 0).
|
||||||
SrcX float32
|
SrcX float32
|
||||||
SrcY float32
|
SrcY float32
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user