Commit graph

22 commits

Author SHA1 Message Date
Adrian Mariano
74615a9fe0 rot_decode bugfix: relax check to approximate for last row of
transformation matrix.
2020-11-12 09:19:25 -05:00
Adrian Mariano
c80c7c558a Added rot_decode to decode rotation matrices and matrix_trace,
supporting function, and regression tests for both.
2020-10-20 16:26:11 -04:00
Garth Minette
38873d8ef9 Fixed a bunch of docs errors with Usage headers. 2020-10-03 20:29:35 -07:00
Garth Minette
375f1f2e3b Bugfix for new unit() in affine_frame_map() 2020-07-19 23:05:54 -07:00
Revar Desmera
f727a9c3f1 Add regression run to CI. 2020-06-19 23:00:40 -07:00
Adrian Mariano
2ac6093a73 Fix apply() to handle degenerate input of empty list. 2020-05-31 21:49:27 -04:00
Revar Desmera
53c1e25395 Standardize indention on spaces, not tabs. 2020-05-29 19:04:34 -07:00
Revar Desmera
e550909726 Added some affine matrix generation optimizations. 2020-03-22 01:11:06 -07:00
Adrian Mariano
8fc3af0264 modified linear solvers to handle matrix RHS, added error checking to
lerp and affine_frame_map, adde same_shape(), added square option to
is_matrix.
2020-03-17 07:11:25 -04:00
Revar Desmera
265db9fe5d Removed affine2d_apply() and affine3d_apply() 2020-03-15 11:50:41 -07:00
Revar Desmera
07bfcd6a57 Renamed normalize() to unit() 2020-03-02 19:30:20 -08:00
Adrian Mariano
ca167f6bb1 moved affine_frame_map to affine.scad 2020-02-29 22:54:33 -05:00
Adrian Mariano
f8fc8cb544 Adds sweep and new version of path_sweep to skin.scad, which probably
needs a name change.  Adds apply(), apply_list() and
affine_frame_map() to affine.scad.  Adds derivative calcluation to
math.scad.  Adds path_tangent, path_normal, path_curvature and
path_torsion functions.  Adds path_length_fraction().
Fixed bug in reindex_polygon where it randomly reverses a 3d path (due
to clockwise check that is bogus in 3d) and put a check in
polygon_is_clockwise to trap this case.
2020-02-27 17:32:03 -05:00
Revar Desmera
fe7b87e92d Fixed argument typo in skew() 2020-01-06 16:55:22 -08:00
Revar Desmera
91b0e58093 Fixed references to skew_*() 2019-12-19 23:26:54 -08:00
Revar Desmera
23660ec688 Added missing affine mirror matrices. 2019-12-03 19:04:56 -08:00
Revar Desmera
65b78f90ae mat3_to_mat4() -> affine2d_to_3d() and various trailing space and formatting issues. 2019-08-09 13:07:18 -07:00
Revar Desmera
f378b70151 Added in range step of 1 to avoid errors. 2019-05-26 22:34:46 -07:00
Revar Desmera
16919f39c3 Reworked orientation to use vectors. Added spin. 2019-05-25 23:31:05 -07:00
Revar Desmera
88ea4c94d9 Fixed and simplified anchoring. 2019-05-17 14:41:45 -07:00
Revar Desmera
9a3e2b71f2 Renamed affine[23]d_mult to affine[23]d_chain 2019-05-14 14:38:54 -07:00
Revar Desmera
9645aef2a9 Renamed matrix[34]_* -> affine[23]d_*. 2019-05-13 23:11:55 -07:00