mirror of
https://github.com/barkeser2002/flower.git
synced 2026-09-25 14:56:14 +03:00
19 lines
287 B
C++
19 lines
287 B
C++
#ifndef STAN_CLOTH_H
|
|
#define STAN_CLOTH_H
|
|
|
|
#include "SpringNetwork.h"
|
|
|
|
class Cloth : public SpringNetwork
|
|
{
|
|
public:
|
|
int w, h;
|
|
|
|
float3 color; // for debug rendering
|
|
Cloth(const char* _name, int _n);
|
|
~Cloth();
|
|
};
|
|
|
|
Cloth* ClothCreate(int w, int h, float size);
|
|
|
|
#endif //STAN_CLOTH_H
|