removed the anchor points
[hair] / src / hair.h
index 23aff83..5ef54d0 100644 (file)
@@ -8,8 +8,6 @@
 struct HairStrand {
        Vec3 pos;
        Vec3 velocity;
-       /* directions relative to the spawn point */
-       Vec3 anchor_dirs[3];
        Vec3 spawn_pt;
        Vec3 spawn_dir;
 };
@@ -28,6 +26,7 @@ public:
        void draw() const;
 
        void set_transform(Mat4 &xform);
+       void update(float dt);
 };
 
 #endif //PARTICLES_H_