Cloth.h 313 B

123456789101112131415161718
  1. #ifndef STAN_CLOTH_H
  2. #define STAN_CLOTH_H
  3. #include "SpringNetwork.h"
  4. class Cloth : public SpringNetwork
  5. {
  6. public:
  7. int w,h;
  8. float3 color; // for debug rendering
  9. Cloth(const char* _name,int _n);
  10. ~Cloth();
  11. };
  12. Cloth *ClothCreate(int w,int h,float size);
  13. #endif //STAN_CLOTH_H