From 0340cb664f19ab8f14d893c8d82b6dead705a794 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 16 Mar 2022 20:18:18 +0100 Subject: Reduce code width to <= 80 characters --- geometry.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'geometry.go') diff --git a/geometry.go b/geometry.go index 1fc516a..80420a6 100644 --- a/geometry.go +++ b/geometry.go @@ -58,7 +58,10 @@ func (s Surface) getHomeView() mgl32.Mat4 { // calculate and return transformation var trafo mgl32.Mat4 = mgl32.Ident4() - trafo = mgl32.Translate3D(-center.scalars[0], -center.scalars[1], -center.scalars[2]).Mul4(trafo) + trafo = mgl32.Translate3D( + -center.scalars[0], + -center.scalars[1], + -center.scalars[2]).Mul4(trafo) trafo = mgl32.Scale3D(zoom, zoom, zoom).Mul4(trafo) return trafo -- cgit v1.2.3-70-g09d2