From 965e2b06ccf50f544dabde853681d0b2256900b4 Mon Sep 17 00:00:00 2001 From: treeform Date: Sun, 12 Aug 2018 14:25:42 -0700 Subject: [PATCH] update structure --- README.md | 2 +- src/{ => vmath}/xmath.nim | 0 tests/vmathtest.nim | 2 +- tests/vmathtest.nims | 1 + tests/xmahttest.nims | 1 + tests/xmathtest.nim | 2 +- 6 files changed, 5 insertions(+), 3 deletions(-) rename src/{ => vmath}/xmath.nim (100%) create mode 100644 tests/vmathtest.nims create mode 100644 tests/xmahttest.nims diff --git a/README.md b/README.md index 2c51a27..16d4921 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # VMath -Collection of my math rutines that I use for 2d and 3d graphics. +Collection of math rutines that for 2d and 3d graphics. Has functinos for Vec2, Vec3, Vec4, Mat3, Mat4 and Quat. \ No newline at end of file diff --git a/src/xmath.nim b/src/vmath/xmath.nim similarity index 100% rename from src/xmath.nim rename to src/vmath/xmath.nim diff --git a/tests/vmathtest.nim b/tests/vmathtest.nim index 2654c01..0991bd3 100644 --- a/tests/vmathtest.nim +++ b/tests/vmathtest.nim @@ -1,4 +1,4 @@ -# nim c -r --verbosity:0 test\vmathtest > test\vmathtest.test.txt; tools\dos2unix test\vmathtest.test.txt; git diff test\vmathtest.test.txt +# nim c -r --verbosity:0 test\vmathtest > test\vmathtest.test.txt; dos2unix test\vmathtest.test.txt; git diff test\vmathtest.test.txt include vmath diff --git a/tests/vmathtest.nims b/tests/vmathtest.nims new file mode 100644 index 0000000..3bb69f8 --- /dev/null +++ b/tests/vmathtest.nims @@ -0,0 +1 @@ +switch("path", "$projectDir/../src") \ No newline at end of file diff --git a/tests/xmahttest.nims b/tests/xmahttest.nims new file mode 100644 index 0000000..3bb69f8 --- /dev/null +++ b/tests/xmahttest.nims @@ -0,0 +1 @@ +switch("path", "$projectDir/../src") \ No newline at end of file diff --git a/tests/xmathtest.nim b/tests/xmathtest.nim index 3ad438f..61e678b 100644 --- a/tests/xmathtest.nim +++ b/tests/xmathtest.nim @@ -1,6 +1,6 @@ # nim c -r --verbosity:0 test\xmathtest > test\xmathtest.test.txt; tools\dos2unix test\xmathtest.test.txt; git diff test\xmathtest.test.txt -include xmath +include vmath/xmath randomize(1234)