Commit graph

25 commits

Author SHA1 Message Date
Garth Minette
4a37a5dc8e Added zero=undef/true/false arg to is_vector. Bugfix for vector_axis() 2020-07-21 16:15:02 -07:00
Garth Minette
0be0708c2b Changed unit(dflt=) to unit(error=) 2020-07-11 23:23:12 -07:00
Garth Minette
dde616dad5 unit() now asserts error for zero-length vector unless dflt= arg is given. 2020-07-10 00:03:55 -07:00
Garth Minette
feba482396 Optimizations for is_vector(), is_matrix(). Added is_finite(). 2020-07-06 18:28:35 -07:00
Revar Desmera
53c1e25395 Standardize indention on spaces, not tabs. 2020-05-29 19:04:34 -07:00
Revar Desmera
e32735296c Various bugfixes found by docs regen. 2020-04-26 04:29:21 -07:00
Revar Desmera
975185e262 Bugfix and optimization for find_noncollinear_points(). Optimized points_are_collinear() 2020-04-02 18:15:43 -07:00
Revar Desmera
6b4fb3184c Multiple bugfixes for and argument re-arrangement. Added vfloor() and vceil(). 2020-03-25 19:50:38 -07:00
Adrian Mariano
72aae0e42c Expanded sqr() to take lists and removed vsqr() 2020-03-21 09:19:49 -04:00
Revar Desmera
e635755528 Added vsqr(), vnf_centroid(), and vnf_volume() 2020-03-20 22:15:41 -07:00
Revar Desmera
ee30513644 Bugfix for rot 2020-03-03 19:17:14 -08:00
Revar Desmera
07bfcd6a57 Renamed normalize() to unit() 2020-03-02 19:30:20 -08:00
Revar Desmera
af0e285781 Added is_list_of(). Improved is_path() and is_vector() tests. 2020-03-02 13:47:43 -08:00
Revar Desmera
0a298dba99 Added vang() 2019-12-26 21:42:23 -08:00
Revar Desmera
bbabc641da Removed redundant vquant*() functions. Improved docs." 2019-10-22 17:09:08 -07:00
Revar Desmera
c392741042 Added add_scalar(). Fixed normalize() for [0,0]. Added examples for vector functions. 2019-07-04 23:40:24 -07:00
Revar Desmera
3b0a1a3383 Added spin and anchor to various 2D shapes. 2019-05-29 16:27:35 -07:00
Revar Desmera
f378b70151 Added in range step of 1 to avoid errors. 2019-05-26 22:34:46 -07:00
Revar Desmera
26d16a3187 Split compat.scad out into errors.scad and common.scad 2019-05-15 21:07:27 -07:00
Revar Desmera
b4c8378708 Fixed docs for vector_axis 2019-05-14 19:44:00 -07:00
Revar Desmera
a63e9aca8e Tweaked vector_axis() and vector_angle() to work with lists of points and vectors. 2019-05-14 19:36:32 -07:00
Revar Desmera
668b6de199 Added vquant(), vquantup(), vquantdn() 2019-05-04 20:11:20 -07:00
Revar Desmera
c79e887612 Removed per-file copyright messages in favor of the LICENSE file. 2019-05-03 12:30:20 -07:00
Revar Desmera
5a16152416 Renamed align to anchor. 2019-04-22 20:55:03 -07:00
Revar Desmera
cc36235736 Updated copyright years. Split math.scad up. Enabled attach for lots of shapes. Removed backwards compatability. 2019-04-19 17:02:17 -07:00