X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fhair.cc;fp=src%2Fhair.cc;h=2431f509cf7669331698b5327741f2035d4f6007;hb=2c4aeaa83ca06d604c084f1fe146ee7f51e30f90;hp=171c7e838f0d08e0f08df551e5af481e7f860e24;hpb=ed91d376224c1efe305d483c05f837820df75b71;p=hair diff --git a/src/hair.cc b/src/hair.cc index 171c7e8..2431f50 100644 --- a/src/hair.cc +++ b/src/hair.cc @@ -77,7 +77,7 @@ static void get_spawn_triangles(const Mesh *m, float thresh, std::vectorpush_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; +}