quick backup, commented out some printfs
[hair] / src / hair.cc
index 171c7e8..2431f50 100644 (file)
@@ -77,7 +77,7 @@ static void get_spawn_triangles(const Mesh *m, float thresh, std::vector<Triangl
                        faces->push_back(t);
                }
        }
-       printf("spawn tri AABB: min y: %f max y: %f\n", min_y, max_y);
+/*     printf("spawn tri AABB: min y: %f max y: %f\n", min_y, max_y);*/
 }
 
 bool Hair::init(const Mesh *m, int max_num_spawns, float thresh)
@@ -175,3 +175,8 @@ void Hair::draw() const
 
        glPopAttrib();
 }
+
+void Hair::set_transform(Mat4 &xform)
+{
+       this->xform = xform;
+}