include/rays/polyline.h in rays-0.1.47 vs include/rays/polyline.h in rays-0.1.48

- old
+ new

@@ -13,10 +13,11 @@ namespace Rays { + struct Color; class Polygon; class Polyline { @@ -27,13 +28,19 @@ typedef PointList::const_iterator const_iterator; Polyline (); - Polyline (const Point* points, size_t size, bool loop = false); + Polyline ( + const Point* points, size_t size, bool loop = false, + const Color* colors = NULL, const Coord3* texcoords = NULL, + bool hole = false); - Polyline (const Point* points, size_t size, bool loop, bool fill); + Polyline ( + const Point* points, size_t size, bool loop, bool fill, + const Color* colors = NULL, const Coord3* texcoords = NULL, + bool hole = false); ~Polyline (); bool expand ( Polygon* result, @@ -45,9 +52,17 @@ Bounds bounds () const; bool loop () const; bool fill () const; + + bool hole () const; + + const Point* points () const; + + const Color* colors () const; + + const Coord3* texcoords () const; size_t size () const; bool empty () const;