niddle.h 450 Bytes
Newer Older
pitiot's avatar
pitiot committed
1 2
#ifndef Niddle_H
#define Niddle_H
pitiot's avatar
develop  
pitiot committed
3 4

#include <iostream>
pitiot's avatar
pitiot committed
5
#include "glm/glm.hpp"
pitiot's avatar
develop  
pitiot committed
6
#include "env_map.h"
pitiot's avatar
pitiot committed
7
#include "MovingObject.h"
pitiot's avatar
pitiot committed
8
//particules
pitiot's avatar
develop  
pitiot committed
9 10 11



pitiot's avatar
pitiot committed
12 13
using namespace CGoGN ;
class Simulator;
pitiot's avatar
pitiot committed
14
class Niddle : public MovingObject
pitiot's avatar
develop  
pitiot committed
15 16
{
public:
pitiot's avatar
pitiot committed
17
    Niddle(Simulator* sim, std::pair<VEC3, Dart> startingPoint) ;
pitiot's avatar
pitiot committed
18
    void move(VEC3 diff);
pitiot's avatar
pitiot committed
19 20 21 22
    void createEdge(int index);
    void color_close();
    void unColor_close(Dart oldCell);
    float edgeSize;
pitiot's avatar
pitiot committed
23

pitiot's avatar
develop  
pitiot committed
24 25 26 27 28 29 30 31


};




#endif