53 Commits

Author SHA1 Message Date
Chris Hodapp
dce29003f1 Fix warnings, add some more notes 2020-10-02 14:16:22 -04:00
Chris Hodapp
8146d4fea8 Sierpinski ish thing working 2020-10-02 11:38:53 -04:00
Chris Hodapp
6b8a7b8bc6 Half-working pyramid example & roll back DCEL crap 2020-10-01 12:46:43 -04:00
Chris Hodapp
545b7c9a60 Meh, kind of over trying to roll my own subdivision crap 2020-06-16 16:15:02 -04:00
Chris Hodapp
701b1df915 Finally got this bloody subdivision method working. I think. 2020-06-12 23:42:03 -04:00
Chris Hodapp
6c7b9695af Internal refactor (as part of subdiv) in parametric_mesh 2020-06-06 23:43:38 -04:00
Chris Hodapp
fe31de5af3 Fixed boundary behavior for parametric_mesh 2020-06-06 22:33:54 -04:00
Chris Hodapp
729baf5aa3 Add some notes; restore more complex parametric example 2020-06-06 16:50:25 -04:00
Chris Hodapp
41ea254537 Possibly the actual actual bug fix 2020-06-06 16:23:19 -04:00
Chris Hodapp
6a3a19db21 Fixed a few more bugs in parametric_mesh. More remain... 2020-06-06 11:06:45 -04:00
Chris Hodapp
39072e0c30 Fix pesky-ass bug in DCEL (I think). Debug statements remain. 2020-06-06 00:18:36 -04:00
Chris Hodapp
6bb170c7ff Half-made DCEL; half-broken continuous transform thingy 2020-05-24 22:43:32 -04:00
Chris Hodapp
f2f8b833e2 Added some (30% broken, disabled) subdivision in parametric_mesh 2020-05-17 12:08:07 -04:00
Chris Hodapp
fa001f47d4 Very rudimentary test of parametric, continuous transform 2020-05-16 23:53:45 -04:00
Chris Hodapp
f23947331b Added some (tentative) things to rule_fn macro 2020-05-14 16:41:30 -04:00
Chris Hodapp
7b04b91746 Add some macros to make things less verbose 2020-05-14 15:41:15 -04:00
Chris Hodapp
b7da8bea41 Change name of 'vmap' to 'arg_vals' to fit with MeshFunc 2020-05-13 15:02:22 -04:00
Chris Hodapp
19988a0b35 One example is building and running, mostly 2020-05-12 18:47:29 -04:00
Chris Hodapp
7626f1a089 Mesh stuff ugly-refactored but untested 2020-05-12 15:46:03 -04:00
Chris Hodapp
c19e65b962 Fixed another bug in to_mesh_iter!
This was a more minor bug - but a bug that was making it produce
non-manifold geometry.
2020-04-06 10:38:30 -04:00
Chris Hodapp
5f27239525 Semi-sensible refactor for ramhorn_twist? 2020-04-05 18:22:22 -04:00
Chris Hodapp
8f8bca9c2f Fix to_mesh_iter bug 2020-04-05 12:15:29 -04:00
Chris Hodapp
e9a6f1f840 Documented a bug in to_mesh_iter via ram_horn_twist 2020-04-05 10:54:33 -04:00
Chris Hodapp
05a0aed8eb Rule now has, again, a type param 2020-04-05 00:00:29 -04:00
Chris Hodapp
89c0a5f3ae Wrapped mesh in Rc<...> but don't know if it helps 2020-04-01 21:40:01 -04:00
Chris Hodapp
84711d67c0 Make Transform struct 2020-04-01 12:03:13 -04:00
Chris Hodapp
45ab4ed9e0 Added helper function to avoid juggling of indices 2020-03-31 15:30:25 -04:00
Chris Hodapp
21ce55d141 Add hacky example of (incorrect) double spiral in twist() 2020-03-27 23:00:24 -04:00
Chris Hodapp
f8f2d4ac31 Closure-ified my Twist example 2020-03-27 18:22:40 -04:00
Chris Hodapp
7a6d29da81 Made an actual working example! 2020-03-26 10:20:54 -04:00
Chris Hodapp
75025fb79b Add some more broken code. See scratch.rs for what does work. 2020-03-14 12:10:51 -04:00
hodapp
4df6b8442c Add (non-building) attempt at using closures again 2020-03-10 21:25:50 -04:00
Chris Hodapp
9746adf39c Twist: closed beginning & end properly.
Yes, it checks out as a manifold mesh too.
2020-03-07 18:53:15 -05:00
Chris Hodapp
84b7bd0b21 Small refactor 2020-03-07 17:26:34 -05:00
Chris Hodapp
111933c30e Some more notes and tried other examples with to_mesh_iter 2020-03-06 15:38:25 -05:00
Chris Hodapp
52914b2588 Fixed final_geom bug in to_mesh_iter
...but then found that to_mesh probably has the same bug
2020-03-06 14:59:53 -05:00
Chris Hodapp
94dabbee25 Got rid of EmptyRule 2020-03-06 10:36:17 -05:00
Chris Hodapp
7fd89b63b8 Add some more docs 2020-03-06 08:54:08 -05:00
Chris Hodapp
2fe37fc569 Mesh connection bug fixed! Just need to say why... 2020-03-05 21:58:57 -05:00
hodapp
313aa6203f Revert some of 120ede4b 2020-03-04 20:47:13 -05:00
Chris Hodapp
13279f61ed Add a note 2020-03-01 22:38:37 -05:00
Chris Hodapp
120ede4b1b Try some restructuring that wasn't the problem? 2020-03-01 22:18:39 -05:00
Chris Hodapp
6a8f0e14c8 Progressed with to_mesh_iter (still not quite working) 2020-03-01 19:32:45 -05:00
Chris Hodapp
cfae58bed6 My crap finally builds, though it's still wrong 2020-03-01 18:49:15 -05:00
Chris Hodapp
2dd056ad4a Scratch work 2020-02-29 10:47:44 -05:00
Chris Hodapp
4c626f6358 Trying type parameters instead 2020-02-27 21:51:34 -05:00
hodapp
00a766bd24 Updated some more docs 2020-02-22 13:43:55 -05:00
hodapp
751df8274f Misc fix from last commit; move something to a reference 2020-02-22 12:11:42 -05:00
Chris Hodapp
e37d49f7e0 Replaced 3-tuple with rule::Child; wrote some docs 2020-02-22 11:15:50 -05:00
Chris Hodapp
c594538644 Fixed ram_horn example, slight refactor on to_mesh 2020-02-22 08:26:27 -05:00