diff --git a/Cargo.toml b/Cargo.toml index be2619c..d726ba4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "mesh_scratch" +name = "prosha" version = "0.1.0" authors = ["Chris Hodapp "] edition = "2018" @@ -9,7 +9,7 @@ edition = "2018" [profile.release] # Unoptimized debug builds are too slow to profile # having debug info doesn't hurt perf for now -debug = true +# debug = true [dependencies] euclid = "0.20.7" diff --git a/README.md b/README.md index 28ea284..069f52b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ -# This needs a title +# Prosha + +Experiments in procedural meshes in Rust + +More detailed docs and examples forthcoming. + +## General Notes & History This particular code base was started around 2019 December as an attempt to make meshes in a more "generative" style, @@ -86,6 +92,12 @@ branch, thus named because I needed to get rid of my buggy implementation of half of Common Lisp. It paid off quite quickly and also was vastly faster at generating meshes. +## What does the name mean? + +Nothing, but it's better than its previous name of +"mesh_scratch". I asked for name suggestions, and someone came up +with this one. + ## Highest priority: - Work on abstraction/composition. Particularly: factor out @@ -120,6 +132,7 @@ also was vastly faster at generating meshes. - [Geometry and Algorithms for Computer Aided Design (Hartmann)](https://www2.mathematik.tu-darmstadt.de/~ehartmann/cdgen0104.pdf) - https://en.wikipedia.org/wiki/Surface_triangulation - https://www.cs.cmu.edu/~quake/triangle.html +- OpenSubdiv! ## Reflections & Quick Notes diff --git a/src/examples.rs b/src/examples.rs index 34a145f..ead6af5 100644 --- a/src/examples.rs +++ b/src/examples.rs @@ -307,6 +307,7 @@ impl Sierpinski { (v1b+v2b)/2.0, (v2b+v0b)/2.0, ]; + // There might be some redundancy when these are used Sierpinski { splits: splits,