X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fgrid.h;h=ed22ce7d6c939fdf71b7e4d1a35a065807bb9ae5;hp=91b9ef2338fd467097bfecea39d176d074c374ca;hb=HEAD;hpb=aa9884e69bc543682d1fe36ec5d054fdf11bcfac diff --git a/source/grid.h b/source/grid.h deleted file mode 100644 index 91b9ef23..00000000 --- a/source/grid.h +++ /dev/null @@ -1,44 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GL_GRID_H_ -#define MSP_GL_GRID_H_ - -#include "geometrybuilder.h" -#include "vector.h" - -namespace Msp { -namespace GL { - -class GridBuilder: public GeometryBuilder -{ -private: - Vector3 origin; - Vector3 side1; - Vector3 side2; - Vector3 norm; - Vector3 binorm; - unsigned u_div; - unsigned v_div; - float u_origin; - float y_origin; - -public: - GridBuilder(float, float, unsigned = 4, unsigned = 4); - GridBuilder(const Vector3 &, const Vector3 &, unsigned = 4, unsigned = 4); - GridBuilder(const Vector3 &, const Vector3 &, const Vector3 &, unsigned = 4, unsigned = 4); -private: - void init(bool); - -public: - virtual void build(PrimitiveBuilder &) const; -}; - -} // namespace GL -} // namespace Msp - -#endif