Commit Graph

124 Commits

Author SHA1 Message Date
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 ce3ca34b70 Modify vec_indexed! syntax a little 2020-05-13 14:08:57 -04:00
Chris Hodapp a6449a2b94 Finally closed off geometry in 'barbs' example 2020-05-13 13:34:19 -04:00
Chris Hodapp 70463e0dfd 'barbs' example is almost done, but geometry needs closed 2020-05-13 12:11:11 -04:00
Chris Hodapp 586e5095bd Closer now on 'barbs' example 2020-05-13 11:34:42 -04:00
Chris Hodapp 5641a9c96e Progress with barbs example 2020-05-12 19:14:57 -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 0ad03ac77d Add scratch work before refactor. Examples in this rev are likely broken. 2020-05-11 14:34:40 -04:00
Chris Hodapp 6857fb6aee More phone-cord-looking very stress-testy nested examples 2020-04-20 22:27:41 -04:00
Chris Hodapp 3c707aff9b Made a funky phone-cord looking thingy in twisty_torus 2020-04-20 22:07:43 -04:00
Chris Hodapp 5a222dcc93 Added a happy accident? 2020-04-20 18:45:21 -04:00
Chris Hodapp 270435c4d6 Beat my head into a wall some more on twisty_torus 2020-04-20 18:18:18 -04:00
Chris Hodapp e0baea62cc Made a (half-broken and ugly) twisty torus 2020-04-19 22:16:01 -04:00
Chris Hodapp 537dcd2f44 Migrated some examples.rs stuff to tests in lib.rs 2020-04-18 12:11:59 -04:00
Chris Hodapp 7b7482175f Restore some settings in twist() 2020-04-12 22:48:41 -04:00
Chris Hodapp 0d0bed918a Misc refactor & notes update 2020-04-12 15:05:07 -04:00
Chris Hodapp 4fe289083b Remove some oddities in ramhorn_branch 2020-04-06 15:34:45 -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 aba2e24e26 My ramhorn_branch example finally works. It's just ugly.
Also, might be generating non-manifold geometry in certain cases.
2020-04-05 22:33:21 -04:00
Chris Hodapp 5f27239525 Semi-sensible refactor for ramhorn_twist? 2020-04-05 18:22:22 -04:00
Chris Hodapp bddedfd9f4 Restore old test 2020-04-05 12:17:40 -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 4c0ef2abca Remove comment, change test count 2020-04-01 22:09:04 -04:00
Chris Hodapp cf6ae348c3 Add timing stuff 2020-04-01 21:43:35 -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 9c941aac99 Convert ramhorn example 2020-04-01 17:22:54 -04:00
Chris Hodapp bffd8a8d79 Small cleanup with util function 2020-04-01 12:57:34 -04:00
Chris Hodapp 84711d67c0 Make Transform struct 2020-04-01 12:03:13 -04:00
Chris Hodapp e26b528464 Some cleanliness cleanups 2020-03-31 16:57:58 -04:00
Chris Hodapp 45ab4ed9e0 Added helper function to avoid juggling of indices 2020-03-31 15:30:25 -04:00
Chris Hodapp 558bd062d9 Fixed twist(), though it's now ugly 2020-03-27 23:46:29 -04:00
Chris Hodapp 21ce55d141 Add hacky example of (incorrect) double spiral in twist() 2020-03-27 23:00:24 -04:00
hodapp 96f8004df2 More refactoring of twist() 2020-03-27 19:26:06 -04:00
Chris Hodapp f8f2d4ac31 Closure-ified my Twist example 2020-03-27 18:22:40 -04:00
Chris Hodapp 02cfa49bd7 Some shuffling around from last commit 2020-03-26 14:01:48 -04:00
Chris Hodapp 7a6d29da81 Made an actual working example! 2020-03-26 10:20:54 -04:00
Chris Hodapp 83053ca8bb Add another failed example 2020-03-21 19:08:07 -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 7714f743d5 Add utility function to transform Vec<Vertex> 2020-03-08 14:34:44 -04:00
Chris Hodapp cf9124d04c Commit version of Twist I tried in Blender 2020-03-08 11:11:31 -04:00
Chris Hodapp 7a770bb533 Added some parameters to Twist 2020-03-07 22:24:37 -05:00
Chris Hodapp 7564cf69d0 Rewrite one signature slightly 2020-03-07 21:22:39 -05: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 2c9a273540 Fix small bug in Twist 2020-03-06 19:15:08 -05:00