From 5d37c331bb7d9a5c9bdafa831a6d34a896065c38 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 17 Jun 2018 16:38:21 +0900 Subject: [PATCH] graphicsutil: Remove unused arguments --- internal/graphicsutil/vertices.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/graphicsutil/vertices.go b/internal/graphicsutil/vertices.go index d5414d987..ec8ee04a4 100644 --- a/internal/graphicsutil/vertices.go +++ b/internal/graphicsutil/vertices.go @@ -73,11 +73,11 @@ func QuadVertices(width, height int, sx0, sy0, sx1, sy1 int, geom GeoM) []float3 wf := float32(w) hf := float32(h) u0, v0, u1, v1 := float32(sx0)/wf, float32(sy0)/hf, float32(sx1)/wf, float32(sy1)/hf - quadVerticesImpl(vs, wf, hf, u0, v0, u1, v1, x0, y0, x1, y1, geom) + quadVerticesImpl(vs, u0, v0, u1, v1, x0, y0, x1, y1, geom) return vs } -func quadVerticesImpl(vs []float32, wf, hf, u0, v0, u1, v1, x0, y0, x1, y1 float32, geom GeoM) { +func quadVerticesImpl(vs []float32, u0, v0, u1, v1, x0, y0, x1, y1 float32, geom GeoM) { x, y := geom.Apply(x0, y0) // Vertex coordinates vs[0] = x