Commit graph

120 commits

Author SHA1 Message Date
treeform 7991cea91e Add [] to matrixes. Fix 3x3 matrix to match same order as 4x4 matrix. 2020-11-12 10:00:35 -08:00
treeform 47a9acad51 add quat(hpr) method 2020-08-03 10:04:29 -07:00
treeform b776179c00
Merge pull request #17 from guzba/master
shorthands like glsl
2020-05-17 22:54:12 -07:00
Ryan Oldenburg 22364a1c9b shorthands like glsl 2020-05-17 23:41:33 -05:00
treeform ee9a1f8c88 0.3.1 2020-05-06 21:38:56 -07:00
treeform c9c8a4699c Add pull_request github action 2020-05-06 17:19:26 -07:00
treeform 92bf517b9d
Merge pull request #15 from guzba/master
Cleaner config.nims
2020-05-06 17:18:33 -07:00
Ryan Oldenburg be7766c418 cleaner 2020-05-06 19:14:34 -05:00
treeform 86da608c59 Remove mddoc dep. 2020-05-06 17:05:16 -07:00
guzba 92728c3771
Updated github action, tests work via print testing in a good way (#14)
* remove echo

* nimble build and nimble test working

* rename test output file

* just test

* rename

* compare to valid to ensure tests pass

* improved msg

* fix action

* test

* use git diff instead of masters
2020-05-06 16:58:21 -07:00
treeform 88d15a86a9 Add [] and lerp vec4 functions. 2020-05-01 21:05:23 -07:00
treeform 5336b55c2e
Merge pull request #13 from guzba/master
Add Mat4 * Vec4, nicer hashing
2020-04-27 17:06:21 -07:00
Ryan Oldenburg 14be0bf524 add Mat4 * Vec4, nicer hashing 2020-04-27 18:28:17 -05:00
treeform 7e28503e3c Add floor, round and ceil to vecs. 2020-04-10 21:02:39 -07:00
treeform ea7f6401ba
Merge pull request #12 from guzba/master
Rename fov to forward
2020-04-05 21:01:41 -07:00
Ryan Oldenburg 5dbd41b638 rename fov to forward 2020-04-05 22:41:17 -05:00
treeform d74637be9a
Merge pull request #11 from guzba/master
Safe to remove? I don't seem to need it since its just an alias & value type
2020-03-27 09:01:01 -07:00
Ryan Oldenburg 58205cdba9 safe to remove? i dont seem to need it since its just an alias 2020-03-27 10:48:20 -05:00
treeform c5bbf9d205
Merge pull request #10 from guzba/master
Add hash functions
2020-03-18 22:46:09 -07:00
Ryan Oldenburg 5d40f60830 remove result= when possible 2020-03-19 00:44:28 -05:00
Ryan Oldenburg 88bc5042e8 hash 2020-03-19 00:42:03 -05:00
Ryan Oldenburg 0ce3ff8762 no return to be consistent with rest of code in vmath 2020-03-19 00:42:03 -05:00
treeform 1328014e5f Merge branch 'master' of github.com:treeform/vmath 2020-03-18 19:23:16 -07:00
treeform 1857862896 Fix a bug with randVec3. 2020-03-18 19:23:01 -07:00
treeform 3aafce7405
Merge pull request #9 from guzba/master
New '$' formatting, func all the things, add some more functionality
2020-03-17 19:12:40 -07:00
Ryan Oldenburg 8873f44b04 fix extra comma 2020-03-17 21:10:52 -05:00
Ryan Oldenburg b6e6e452e4 updated readme 2020-03-17 19:38:39 -05:00
Ryan Oldenburg 52f568c162 use strformat for $ 2020-03-17 18:35:41 -05:00
Ryan Oldenburg fd11bced38 func 2020-03-17 18:15:38 -05:00
Ryan Oldenburg a81545eb97 add indexed setter for quat 2020-03-17 16:20:33 -05:00
treeform b1f828ad55
Merge pull request #8 from guzba/master
Removable? https://nim-lang.org/docs/system.html#clamp%2CT%2CT%2CT
2020-03-17 11:21:29 -07:00
Ryan Oldenburg 79311e786e removable? https://nim-lang.org/docs/system.html#clamp%2CT%2CT%2CT 2020-03-17 13:18:41 -05:00
treeform 5a49ff86db
Merge pull request #7 from guzba/master
Add normalized linear interpolation for quats
2020-03-17 07:31:19 -07:00
Ryan Oldenburg 53c396c709 add normalized linear interpolation for quats 2020-03-17 01:52:57 -05:00
treeform f0b87ab1a4
Merge pull request #6 from guzba/master
Cap like other things seem to
2020-03-16 17:52:31 -07:00
Ryan Oldenburg 6f7ffdfd60 bugfix 2020-03-13 21:33:45 -05:00
Ryan Oldenburg b2350fe404 cap like other things seem to 2020-03-13 00:09:21 -05:00
treeform cfd1d2442d Merge branch 'master' of github.com:treeform/vmath 2020-03-10 21:36:46 -07:00
treeform 1ca42be449 Add new quantize method for vec3. 2020-03-10 21:36:43 -07:00
treeform 2a22a823ac
Merge pull request #5 from guzba/master
Updated morepretty
2020-03-10 13:01:19 -07:00
Ryan Oldenburg d5f452174b morepretty 2020-03-10 14:55:06 -05:00
treeform b9f9e6dc40
Merge pull request #4 from guzba/master
Ran mddoc, new procs
2020-03-08 20:20:37 -07:00
Ryan Oldenburg a394c4170c Ran mddoc, new procs 2020-03-08 22:13:25 -05:00
treeform 9602785efe Nimpretty. 2020-03-07 20:56:54 -08:00
treeform adbd4a6849 0.3.0 2020-03-07 19:26:01 -08:00
treeform 4ad9fb081c
Merge pull request #3 from guzba/master
Moving a few things into vmath
2020-03-07 19:24:18 -08:00
Ryan Oldenburg 5bd74ecbf5 add a couple more procs, mostly for rect 2020-03-07 20:44:39 -06:00
Ryan Oldenburg 56a0e6ea2d single empty line 2020-03-07 20:33:08 -06:00
guzba c212d3d95b
Improve docs and use unix line endings (#2)
* use unix line endings
* improving some docs
* add mddoc dep
2020-03-05 17:44:26 -08:00
treeform b84d23be05 Change some test stuff. 2019-11-17 17:35:36 -08:00