From 56a3380b46f406ffaf093405ac2db4515b0a4f80 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Mon, 28 May 2012 16:44:39 +0000 Subject: Removes the ArrayList classes, and replaces all instances with std::vector implementations. --- Magic2/Selection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Magic2/Selection.h') diff --git a/Magic2/Selection.h b/Magic2/Selection.h index 092f0ac..aba249a 100644 --- a/Magic2/Selection.h +++ b/Magic2/Selection.h @@ -15,11 +15,11 @@ #ifndef Selection_h #define Selection_h +#include #include "Polygon.h" #include "Graphic.h" #include "Video.h" #include "List.h" -#include "ArrayList.h" // +--------------------------------------------------------------------+ @@ -49,7 +49,7 @@ public: void UseView(ModelView* v){ model_view = v; } Model* GetModel() const { return model; } List& GetPolys() { return polys; } - ArrayList& GetVerts() { return verts; } + std::vector& GetVerts() { return verts; } virtual void Clear() { polys.clear(); verts.clear(); } @@ -65,7 +65,7 @@ protected: Model* model; ModelView* model_view; List polys; - ArrayList verts; + std::vector verts; }; // +--------------------------------------------------------------------+ -- cgit v1.1