diff --git a/f32/affine.go b/f32/affine.go index 4934e4e1..f1aa90ea 100644 --- a/f32/affine.go +++ b/f32/affine.go @@ -123,7 +123,7 @@ func (a Affine2D) Elems() (sx, hx, ox, hy, sy, oy float32) { // Split a transform into two parts, one which is pure offset and the // other representing the scaling, shearing and rotation part. -func (a *Affine2D) Split() (srs Affine2D, offset Point) { +func (a Affine2D) Split() (srs Affine2D, offset Point) { return Affine2D{ a: a.a, b: a.b, c: 0, d: a.d, e: a.e, f: 0,