Commit graph

15 commits

Author SHA1 Message Date
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