-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2011 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
+#include <msp/strings/format.h>
#include "windingtest.h"
namespace Msp {
else if(conv.get()=="COUNTERCLOCKWISE")
winding = COUNTERCLOCKWISE;
else
- throw InvalidParameterValue("Invalid FaceWinding");
+ throw lexical_error(format("conversion of '%s' to FaceWinding", conv.get()));
}
WindingTest::WindingTest():