From d0aeb9d9e4033a6689fd55778b5feb9e64ba827e Mon Sep 17 00:00:00 2001 From: surdeus Date: Thu, 12 Oct 2023 20:25:26 +0300 Subject: [PATCH] A bit directory refactoring. --- .gitignore | 1 + {src/cmd => cmd}/math/main.go | 0 {src/cmd => cmd}/test/main.go | 2 +- {src/gix => gix}/main.go | 0 {src/gx => gx}/camera.go | 0 {src/gx => gx}/collider.go | 0 {src/gx => gx}/debug.go | 0 {src/gx => gx}/elipse.go | 0 {src/gx => gx}/engine.go | 0 {src/gx => gx}/errors.go | 0 {src/gx => gx}/img.go | 0 {src/gx => gx}/keys.go | 0 {src/gx => gx}/line.go | 0 {src/gx => gx}/math.go | 0 {src/gx => gx}/matrix.go | 0 {src/gx => gx}/misc.go | 0 {src/gx => gx}/object.go | 0 {src/gx => gx}/polygon.go | 0 {src/gx => gx}/ray.go | 0 {src/gx => gx}/rect.go | 0 {src/gx => gx}/shader.go | 0 {src/gx => gx}/sprite.go | 0 {src/gx => gx}/time.go | 0 {src/gx => gx}/transform.go | 0 {src/gx => gx}/triangle.go | 0 {src/gx => gx}/vector.go | 0 mkconfig | 4 ---- mkfile | 5 +++-- 28 files changed, 5 insertions(+), 7 deletions(-) rename {src/cmd => cmd}/math/main.go (100%) rename {src/cmd => cmd}/test/main.go (99%) rename {src/gix => gix}/main.go (100%) rename {src/gx => gx}/camera.go (100%) rename {src/gx => gx}/collider.go (100%) rename {src/gx => gx}/debug.go (100%) rename {src/gx => gx}/elipse.go (100%) rename {src/gx => gx}/engine.go (100%) rename {src/gx => gx}/errors.go (100%) rename {src/gx => gx}/img.go (100%) rename {src/gx => gx}/keys.go (100%) rename {src/gx => gx}/line.go (100%) rename {src/gx => gx}/math.go (100%) rename {src/gx => gx}/matrix.go (100%) rename {src/gx => gx}/misc.go (100%) rename {src/gx => gx}/object.go (100%) rename {src/gx => gx}/polygon.go (100%) rename {src/gx => gx}/ray.go (100%) rename {src/gx => gx}/rect.go (100%) rename {src/gx => gx}/shader.go (100%) rename {src/gx => gx}/sprite.go (100%) rename {src/gx => gx}/time.go (100%) rename {src/gx => gx}/transform.go (100%) rename {src/gx => gx}/triangle.go (100%) rename {src/gx => gx}/vector.go (100%) delete mode 100644 mkconfig diff --git a/.gitignore b/.gitignore index 86daf54..4882201 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ exe +*.vim diff --git a/src/cmd/math/main.go b/cmd/math/main.go similarity index 100% rename from src/cmd/math/main.go rename to cmd/math/main.go diff --git a/src/cmd/test/main.go b/cmd/test/main.go similarity index 99% rename from src/cmd/test/main.go rename to cmd/test/main.go index d26e039..0b1a664 100644 --- a/src/cmd/test/main.go +++ b/cmd/test/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/surdeus/gox/src/gx" + "github.com/surdeus/gox/gx" "github.com/hajimehoshi/ebiten/v2/examples/resources/images" "github.com/hajimehoshi/ebiten/v2" "bytes" diff --git a/src/gix/main.go b/gix/main.go similarity index 100% rename from src/gix/main.go rename to gix/main.go diff --git a/src/gx/camera.go b/gx/camera.go similarity index 100% rename from src/gx/camera.go rename to gx/camera.go diff --git a/src/gx/collider.go b/gx/collider.go similarity index 100% rename from src/gx/collider.go rename to gx/collider.go diff --git a/src/gx/debug.go b/gx/debug.go similarity index 100% rename from src/gx/debug.go rename to gx/debug.go diff --git a/src/gx/elipse.go b/gx/elipse.go similarity index 100% rename from src/gx/elipse.go rename to gx/elipse.go diff --git a/src/gx/engine.go b/gx/engine.go similarity index 100% rename from src/gx/engine.go rename to gx/engine.go diff --git a/src/gx/errors.go b/gx/errors.go similarity index 100% rename from src/gx/errors.go rename to gx/errors.go diff --git a/src/gx/img.go b/gx/img.go similarity index 100% rename from src/gx/img.go rename to gx/img.go diff --git a/src/gx/keys.go b/gx/keys.go similarity index 100% rename from src/gx/keys.go rename to gx/keys.go diff --git a/src/gx/line.go b/gx/line.go similarity index 100% rename from src/gx/line.go rename to gx/line.go diff --git a/src/gx/math.go b/gx/math.go similarity index 100% rename from src/gx/math.go rename to gx/math.go diff --git a/src/gx/matrix.go b/gx/matrix.go similarity index 100% rename from src/gx/matrix.go rename to gx/matrix.go diff --git a/src/gx/misc.go b/gx/misc.go similarity index 100% rename from src/gx/misc.go rename to gx/misc.go diff --git a/src/gx/object.go b/gx/object.go similarity index 100% rename from src/gx/object.go rename to gx/object.go diff --git a/src/gx/polygon.go b/gx/polygon.go similarity index 100% rename from src/gx/polygon.go rename to gx/polygon.go diff --git a/src/gx/ray.go b/gx/ray.go similarity index 100% rename from src/gx/ray.go rename to gx/ray.go diff --git a/src/gx/rect.go b/gx/rect.go similarity index 100% rename from src/gx/rect.go rename to gx/rect.go diff --git a/src/gx/shader.go b/gx/shader.go similarity index 100% rename from src/gx/shader.go rename to gx/shader.go diff --git a/src/gx/sprite.go b/gx/sprite.go similarity index 100% rename from src/gx/sprite.go rename to gx/sprite.go diff --git a/src/gx/time.go b/gx/time.go similarity index 100% rename from src/gx/time.go rename to gx/time.go diff --git a/src/gx/transform.go b/gx/transform.go similarity index 100% rename from src/gx/transform.go rename to gx/transform.go diff --git a/src/gx/triangle.go b/gx/triangle.go similarity index 100% rename from src/gx/triangle.go rename to gx/triangle.go diff --git a/src/gx/vector.go b/gx/vector.go similarity index 100% rename from src/gx/vector.go rename to gx/vector.go diff --git a/mkconfig b/mkconfig deleted file mode 100644 index 976b22d..0000000 --- a/mkconfig +++ /dev/null @@ -1,4 +0,0 @@ -MKSHELL = sh -<$(MKINCDIR)/config -CC = cc - diff --git a/mkfile b/mkfile index 0c5baf7..a15df92 100644 --- a/mkfile +++ b/mkfile @@ -1,3 +1,4 @@ -