Chipmunk++
 All Classes Functions Variables Pages
polyshape.hpp
1 #pragma once
2 
3 #include "shape.hpp"
4 #include "body.hpp"
5 
6 #include <vector>
7 
8 #pragma GCC visibility push(default)
9 namespace cp {
11  class PolyShape : public Shape {
12  public:
13  PolyShape(std::shared_ptr<Body>, const std::vector<Vect>& verts, Vect offset = Vect());
14  int getNumVerts() const;
15  cp::Vect getVert(int);
16  };
17 }
18 #pragma GCC visibility pop