Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gofmt #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion geo/aabb.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package geo

import (
"github.com/engoengine/glm"
"github.com/EngoEngine/math"
"github.com/engoengine/glm"
)

// AABB is an axis-aligned bounding box
Expand Down
2 changes: 1 addition & 1 deletion geo/internal/qhull/qhull.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package qhull

import (
"fmt"
"github.com/engoengine/glm"
"github.com/EngoEngine/math"
"github.com/engoengine/glm"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion geo/obb.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package geo

import (
"github.com/engoengine/glm"
"github.com/EngoEngine/math"
"github.com/engoengine/glm"
)

// OBB is a Oriented Bounding Box.
Expand Down
14 changes: 7 additions & 7 deletions geo/plane_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ func TestPlane_PlaneFromPoints(t *testing.T) {
points [3]glm.Vec3
plane Plane
}{
/*{ // 0. up, above 0,0,0
points: [3]glm.Vec3{glm.Vec3{0, 1, 0}, glm.Vec3{0, 1, 1}, glm.Vec3{1, 1, 0}},
plane: Plane{
N: glm.Vec3{0, 1, 0},
D: 1,
},
},*/
/*{ // 0. up, above 0,0,0
points: [3]glm.Vec3{glm.Vec3{0, 1, 0}, glm.Vec3{0, 1, 1}, glm.Vec3{1, 1, 0}},
plane: Plane{
N: glm.Vec3{0, 1, 0},
D: 1,
},
},*/
}

for i, test := range tests {
Expand Down
2 changes: 1 addition & 1 deletion geo/quickhull.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package geo

import (
"fmt"
"github.com/EngoEngine/math"
"github.com/engoengine/glm"
"github.com/engoengine/glm/geo/internal/qhull"
"github.com/EngoEngine/math"
)

// Quickhull returns the convex hull of the given points.
Expand Down
2 changes: 1 addition & 1 deletion geo/sphere.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package geo

import (
"github.com/engoengine/glm"
"github.com/EngoEngine/math"
"github.com/engoengine/glm"
)

// Sphere is a bounding volume for spheres.
Expand Down
2 changes: 1 addition & 1 deletion geo/utils.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package geo

import (
"github.com/EngoEngine/math"
"github.com/engoengine/glm"
"github.com/engoengine/glm/flops/32/flops"
"github.com/EngoEngine/math"
)

// IsConvexQuad returns true if the qualidrateral is convex.
Expand Down
2 changes: 1 addition & 1 deletion glmtesting/testing.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package glmtesting

import (
"github.com/EngoEngine/math"
"github.com/engoengine/glm"
"github.com/engoengine/glm/flops/32/flops"
"github.com/EngoEngine/math"
)

// FloatEqual returns true if v0 == v1 for every component. Will also return true
Expand Down
2 changes: 1 addition & 1 deletion glmtesting/testing_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package glmtesting

import (
"github.com/engoengine/glm"
"github.com/EngoEngine/math"
"github.com/engoengine/glm"
"testing"
)

Expand Down