diff --git a/catmullromspline.cpp b/catmullromspline.cpp index a00529a..f0c8e0a 100644 --- a/catmullromspline.cpp +++ b/catmullromspline.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "catmullromspline.h" namespace segl { diff --git a/catmullromspline.h b/catmullromspline.h index b113af8..1822639 100644 --- a/catmullromspline.h +++ b/catmullromspline.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __CATMULLROMSPLINE_H #define __CATMULLROMSPLINE_H diff --git a/color.cpp b/color.cpp index 7de0ebc..5fc8320 100644 --- a/color.cpp +++ b/color.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "color.h" namespace segl { diff --git a/color.h b/color.h index edbc0e3..990aa69 100644 --- a/color.h +++ b/color.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __COLOR_H #define __COLOR_H diff --git a/emath.cpp b/emath.cpp index de7473c..9fe03b8 100644 --- a/emath.cpp +++ b/emath.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "emath.h" namespace segl { diff --git a/emath.h b/emath.h index 6dd2af7..0091ced 100644 --- a/emath.h +++ b/emath.h @@ -1,8 +1,31 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __EMATH_H #define __EMATH_H #include #include +#include namespace segl { diff --git a/emath_opengl.cpp b/emath_opengl.cpp index e2a4472..2434cd2 100644 --- a/emath_opengl.cpp +++ b/emath_opengl.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "emath_opengl.h" namespace segl { diff --git a/emath_opengl.h b/emath_opengl.h index fc7d9d3..f87d2be 100644 --- a/emath_opengl.h +++ b/emath_opengl.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __EMATH_OPENGL #define __EMATH_OPENGL diff --git a/extstring.cpp b/extstring.cpp index 88f5be6..6621976 100644 --- a/extstring.cpp +++ b/extstring.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "extstring.h" namespace segl { diff --git a/extstring.h b/extstring.h index 6283d70..7d2d2b3 100644 --- a/extstring.h +++ b/extstring.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __EXTSTRING_H #define __EXTSTRING_H diff --git a/fpsmanager.cpp b/fpsmanager.cpp index 08b89dd..ac0dfd8 100644 --- a/fpsmanager.cpp +++ b/fpsmanager.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "fpsmanager.h" namespace segl { diff --git a/fpsmanager.h b/fpsmanager.h index 1176224..2b60c03 100644 --- a/fpsmanager.h +++ b/fpsmanager.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __FPSMANAGER_H #define __FPSMANAGER_H diff --git a/geotypes.cpp b/geotypes.cpp index c17f03a..43c8b1c 100644 --- a/geotypes.cpp +++ b/geotypes.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "geotypes.h" namespace segl { @@ -21,14 +43,7 @@ bool Sphere::collision(const Sphere &s) const { } bool Sphere::collision(const Ray &r) const { - /* - // way more complex (i think), maybe usefull to calc the collpoints - const float bsum = r.dir.x + r.dir.y + r.dir.z; - float p = (2.0f*(r.pos*r.dir)-pos*r.dir) / bsum; - float q = (r.pos*r.pos-2.0f*r.pos*pos+pos*pos-radius*radius) / bsum; - return (p*p/4.0f-q >= 0.0f); - */ - return (r.dist(pos)<=radius); + return true; } bool Sphere::collision(const Box & b) const { @@ -36,7 +51,7 @@ bool Sphere::collision(const Box & b) const { } bool Sphere::collision(const Plane &p) const { - return (p.dist(pos)<=radius); + return true; } bool Sphere::inSphere(Punkt3D p) const { @@ -60,12 +75,12 @@ void Ray::set(Punkt3D _pos, Punkt3D _dir) { dir = _dir; } -Punkt3D Ray::get(float x) const { +Punkt3D Ray::get(float x) { return pos + dir*x; } // TODO: Heavy Testing -bool Ray::onRay(Punkt3D p, int rnd) const { +bool Ray::onRay(Punkt3D p, int rnd) { float r1 = 0.0f, r2 = 0.0f, r3 = 0.0f; short fcount = 0; bool g1=true, g2=true, g3=true; @@ -112,14 +127,14 @@ bool Ray::onRay(Punkt3D p, int rnd) const { else if(g3) return (r1 == r2); else - return (r1 == r2 && r1 == r3); + return (r1 == r2 == r3); } -float Ray::dist(Punkt3D p) const { +float Ray::dist(Punkt3D p) { return abs(p - get( getParam(p) )); } -float Ray::getParam(Punkt3D p, bool onray) const { +float Ray::getParam(Punkt3D p, bool onray) { if(onray) { if(!onRay(p)) return 0.0f; @@ -200,7 +215,7 @@ bool Plane::collision(const Plane &p) const { } float Plane::dist(Punkt3D p) const { - + } } // namespace segl diff --git a/geotypes.h b/geotypes.h index 8e9e824..555e028 100644 --- a/geotypes.h +++ b/geotypes.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __GEOTYPES_H #define __GEOTYPES_H @@ -5,7 +27,6 @@ namespace segl { -class Sphere; class Ray; class Box; class Plane; @@ -39,10 +60,10 @@ class Ray { Ray(Punkt3D _pos, Punkt3D _dir); void set(Punkt3D _pos, Punkt3D _dir); - Punkt3D get(float x) const; - bool onRay(Punkt3D p, int rnd=-1) const; - float dist(Punkt3D p) const; - float getParam(Punkt3D p, bool onray=false) const; + Punkt3D get(float x); + bool onRay(Punkt3D p, int rnd=-1); + float dist(Punkt3D p); + float getParam(Punkt3D p, bool onray=false); bool collision(const Sphere &s) const; bool collision(const Ray &r) const; diff --git a/glcamera.cpp b/glcamera.cpp index cd75e8e..e8f3324 100644 --- a/glcamera.cpp +++ b/glcamera.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "glcamera.h" namespace segl { diff --git a/glcamera.h b/glcamera.h index 2547d0b..f08eb14 100644 --- a/glcamera.h +++ b/glcamera.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __GLCAMERA_H #define __GLCAMERA_H diff --git a/gldrawhelper.cpp b/gldrawhelper.cpp index 731bebc..8868389 100644 --- a/gldrawhelper.cpp +++ b/gldrawhelper.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "gldrawhelper.h" namespace segl { diff --git a/gldrawhelper.h b/gldrawhelper.h index 1431f0c..0237b70 100644 --- a/gldrawhelper.h +++ b/gldrawhelper.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __GLDRAWHELPER_H #define __GLDRAWHELPER_H diff --git a/glfontengine.cpp b/glfontengine.cpp index 6d61c5f..bb9851d 100644 --- a/glfontengine.cpp +++ b/glfontengine.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "glfontengine.h" namespace segl { diff --git a/glfontengine.h b/glfontengine.h index 839a7d4..d478073 100644 --- a/glfontengine.h +++ b/glfontengine.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __GLFONTENGINE_H #define __GLFONTENGINE_H diff --git a/glsdlscreen.cpp b/glsdlscreen.cpp index fdec12e..8924dbd 100644 --- a/glsdlscreen.cpp +++ b/glsdlscreen.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "glsdlscreen.h" namespace segl { diff --git a/glsdlscreen.h b/glsdlscreen.h index 4541bb2..95099a8 100644 --- a/glsdlscreen.h +++ b/glsdlscreen.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __GLSDLSCREEN_H #define __GLSDLSCREEN_H diff --git a/gltexture.cpp b/gltexture.cpp index 6310ff8..63b78e6 100644 --- a/gltexture.cpp +++ b/gltexture.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "gltexture.h" namespace segl { diff --git a/gltexture.h b/gltexture.h index e26a915..b2f20d0 100644 --- a/gltexture.h +++ b/gltexture.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __GLTEXTUR_H #define __GLTEXTUR_H diff --git a/matrix.cpp b/matrix.cpp index dcf0bcc..f10550a 100644 --- a/matrix.cpp +++ b/matrix.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "matrix.h" namespace segl { diff --git a/matrix.h b/matrix.h index 3424b74..e909a48 100644 --- a/matrix.h +++ b/matrix.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __MATRIX_H #define __MATRIX_H diff --git a/punkt2d.cpp b/punkt2d.cpp index c426fb6..cf73ebb 100644 --- a/punkt2d.cpp +++ b/punkt2d.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "punkt2d.h" namespace segl { diff --git a/punkt2d.h b/punkt2d.h index 1bb5580..2e19671 100644 --- a/punkt2d.h +++ b/punkt2d.h @@ -1,9 +1,30 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __PUNKT3D_H #define __PUNKT3D_H #include #include -#include #include "emath.h" namespace segl { @@ -54,13 +75,12 @@ class Punkt2D { } // namespace segl -// #ifdef GLAPI void glTexCoord2f(segl::Punkt2D); float abs(segl::Punkt2D); // Fixed Headers void glTexCoordP2D(segl::Punkt2D p); -// #endif /* GLAPI */ + #endif diff --git a/punkt3d.cpp b/punkt3d.cpp index 2c75129..773d322 100644 --- a/punkt3d.cpp +++ b/punkt3d.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "punkt3d.h" namespace segl { diff --git a/punkt3d.h b/punkt3d.h index 139e2ae..38459a4 100644 --- a/punkt3d.h +++ b/punkt3d.h @@ -1,9 +1,30 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __PUNKT3D_h #define __PUNKT3D_h #include #include -#include #include "emath.h" namespace segl { @@ -63,7 +84,7 @@ class Punkt3D { float abs(const segl::Punkt3D&); // OpenGL-Functions for Punkt3D -// #ifdef GLAPI + void glVertex3f(const segl::Punkt3D&); void glTranslatef(const segl::Punkt3D&); void glNormal3f(const segl::Punkt3D&); @@ -77,5 +98,5 @@ void glNormalP3D(const segl::Punkt3D&); void glRotateP3D(const float&, const segl::Punkt3D&); void gluLookAt(const segl::Punkt3D &pos, const segl::Punkt3D &viewport, const segl::Punkt3D &normal); -// #endif /* GLAPI */ + #endif diff --git a/quader.cpp b/quader.cpp index 7678271..8311290 100644 --- a/quader.cpp +++ b/quader.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "quader.h" namespace segl { diff --git a/quader.h b/quader.h index fa0678f..6f740b9 100644 --- a/quader.h +++ b/quader.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __QUADER_H #define __QUADER_H diff --git a/quaternion.cpp b/quaternion.cpp index dd4f7b8..c8c6a17 100644 --- a/quaternion.cpp +++ b/quaternion.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "quaternion.h" namespace segl { diff --git a/quaternion.h b/quaternion.h index a0bbf7b..bbae7fc 100644 --- a/quaternion.h +++ b/quaternion.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __QUATERNION_H #define __QUATERNION_H diff --git a/rect.cpp b/rect.cpp index d476cd1..1010190 100644 --- a/rect.cpp +++ b/rect.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "rect.h" namespace segl { diff --git a/rect.h b/rect.h index 5732a27..af83dcd 100644 --- a/rect.h +++ b/rect.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __RECT_H #define __RECT_H diff --git a/rotationsmatrix.cpp b/rotationsmatrix.cpp index 9dfb658..ee62f7c 100644 --- a/rotationsmatrix.cpp +++ b/rotationsmatrix.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "rotationsmatrix.h" namespace segl { diff --git a/rotationsmatrix.h b/rotationsmatrix.h index fba62aa..8327cb8 100644 --- a/rotationsmatrix.h +++ b/rotationsmatrix.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __ROTATIONSMATRIX_H #define __ROTATIONSMATRIX_H diff --git a/sdlfuncs.cpp b/sdlfuncs.cpp index 782a2c8..86831fb 100644 --- a/sdlfuncs.cpp +++ b/sdlfuncs.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "sdlfuncs.h" namespace segl { diff --git a/sdlfuncs.h b/sdlfuncs.h index a2ba80a..3af5710 100644 --- a/sdlfuncs.h +++ b/sdlfuncs.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __SDLFUNCS_H #define __SDLFUNCS_H diff --git a/segl.cpp b/segl.cpp index c1cc169..5805ca2 100644 --- a/segl.cpp +++ b/segl.cpp @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #include "segl.h" namespace segl { diff --git a/segl.h b/segl.h index e7a340b..0703de0 100644 --- a/segl.h +++ b/segl.h @@ -1,3 +1,25 @@ +/* libsegl - Sebas Extended GL Library + * Collection of Opengl/3D-Math helpers + * + * Copyright (c) 2008 by Sebastian Lohff, seba@seba-geek.de + * http://www.seba-geek.de + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + #ifndef __LIBSEGL_H #define __LIBSEGL_H