Commit graph

66 commits

Author SHA1 Message Date
Ryan Oldenburg
1254cefe34 let 2020-11-30 12:29:53 -06:00
Ryan Oldenburg
68d2c6a585 fix 2020-11-30 12:28:25 -06:00
Ryan Oldenburg
b50b570447 shorter 2020-11-30 01:35:10 -06:00
Ryan Oldenburg
3c02a64729 formatting 2020-11-30 01:30:17 -06:00
Ryan Oldenburg
f83eb0b7b2 more clear 2020-11-30 01:07:08 -06:00
Ryan Oldenburg
19c9ef1b0b add missing 2020-11-30 00:50:07 -06:00
Ryan Oldenburg
a307f89589 quat 2020-11-30 00:22:10 -06:00
Ryan Oldenburg
7a9bca4236 more 2020-11-29 23:52:10 -06:00
Ryan Oldenburg
d8582e6bdd more mat3 2020-11-29 23:45:57 -06:00
Ryan Oldenburg
1fe7cc09de some mat4 2020-11-29 23:37:25 -06:00
Ryan Oldenburg
39e6fce823 mat3 stuff 2020-11-29 23:26:43 -06:00
Ryan Oldenburg
21a4ac8ebf inline more 2020-11-29 22:29:21 -06:00
Ryan Oldenburg
2ddcdc4dc6 better 2020-11-29 22:23:00 -06:00
Ryan Oldenburg
35c99e641f fix 2020-11-29 22:10:43 -06:00
Ryan Oldenburg
1a5fbe202a mostly inlines + rand 2020-11-29 19:21:58 -06:00
Ryan Oldenburg
80a2b4dade rand param 2020-11-29 18:58:47 -06:00
Ryan Oldenburg
dfa3e2199f vec2 2020-11-29 18:55:54 -06:00
Ryan Oldenburg
9951eb0d0a formatting 2020-11-29 17:05:37 -06:00
Ryan Oldenburg
159c17bf7d remove math. 2020-11-29 17:01:48 -06:00
Ryan Oldenburg
8cb1486367 func->proc 2020-11-29 16:55:52 -06:00
treeform
b51a891ab0 Inline vec2 operations. 2020-11-28 22:15:52 -08:00
treeform
ac1982820c Fix rotationMat3. 2020-11-23 17:13:01 -08:00
treeform
09fac31169 Add translate, scale and fix inverse of mat3 used for 2d graphics. 2020-11-21 20:09:40 -08:00
treeform
79cc774bcc Add and and or for rects. 2020-11-14 18:16:28 -08:00
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
Ryan Oldenburg
22364a1c9b shorthands like glsl 2020-05-17 23:41:33 -05: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
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
Ryan Oldenburg
5dbd41b638 rename fov to forward 2020-04-05 22:41:17 -05: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
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
Ryan Oldenburg
8873f44b04 fix extra comma 2020-03-17 21:10:52 -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
Ryan Oldenburg
79311e786e removable? https://nim-lang.org/docs/system.html#clamp%2CT%2CT%2CT 2020-03-17 13:18:41 -05:00
Ryan Oldenburg
53c396c709 add normalized linear interpolation for quats 2020-03-17 01:52:57 -05: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
Ryan Oldenburg
d5f452174b morepretty 2020-03-10 14:55:06 -05:00
treeform
9602785efe Nimpretty. 2020-03-07 20:56:54 -08:00