1 /* 2 * Copyright 2007, Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus <superstippi@gmx.de> 7 */ 8 #ifndef POLYGON_QUEUE_H 9 #define POLYGON_QUEUE_H 10 11 #include <SupportDefs.h> 12 13 class Polygon; 14 15 class PolygonQueue { 16 public: 17 PolygonQueue(Polygon* start, int32 depth); 18 virtual ~PolygonQueue(); 19 20 Polygon* Head() const; 21 Polygon* Tail() const; 22 23 void Step(); 24 25 private: 26 Polygon** fPolygons; 27 int32 fDepth; 28 }; 29 30 #endif // POLYGON_QUEUE_H 31