Structure doc

This commit is contained in:
Ian Gulliver
2016-12-24 22:43:33 -07:00
parent 6241d885ed
commit 6c2a19366f

View File

@@ -1,5 +1,11 @@
fDraw(fCylinder(10, r1=5, r2=2));
///// Data structures
/// model:
/// kKeyPoints "points" fPoints(): [ [x, y, z], ... ]
/// kKeyFaces "faces" fFaces(): [ [ pointIdx, ... ], ... ]
///// Drawing modules
module fDraw(model) {
polyhedron(points=fPoints(model), faces=fFaces(model));