mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
gofmt
This commit is contained in:
parent
f873b66267
commit
5e6bdc25e5
@ -99,8 +99,8 @@ func (q *commandQueue) appendVertices(vertices []float32, width, height float32)
|
|||||||
}
|
}
|
||||||
copy(q.vertices[q.nvertices:], vertices)
|
copy(q.vertices[q.nvertices:], vertices)
|
||||||
|
|
||||||
n := len(vertices)/graphics.VertexFloatNum
|
n := len(vertices) / graphics.VertexFloatNum
|
||||||
base := q.nvertices/graphics.VertexFloatNum
|
base := q.nvertices / graphics.VertexFloatNum
|
||||||
for i := 0; i < n; i++ {
|
for i := 0; i < n; i++ {
|
||||||
idx := base + i
|
idx := base + i
|
||||||
q.srcSizes[idx].width = width
|
q.srcSizes[idx].width = width
|
||||||
|
Loading…
Reference in New Issue
Block a user