comparison glxdragon.cpp @ 22:03b86b9c2f29

Add copyright blurbs and licenses.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 22 Nov 2019 05:29:02 +0200
parents 1404dfcee7b8
children
comparison
equal deleted inserted replaced
21:1404dfcee7b8 22:03b86b9c2f29
1 // 1 //
2 // Copyright (c) 2009, Thomas Trummer 2 // GLDragon - OpenGL PLY model viewer / simple benchmark
3 // All rights reserved. 3 // Programmed and designed by Matti 'ccr' Hämäläinen <ccr@tnsp.org>
4 //
5 // Port to libSDL2 and cleanups by Matti Hämäläinen <ccr@tnsp.org>
6 // (C) Copyright 2019 Tecnic Software productions (TNSP) 4 // (C) Copyright 2019 Tecnic Software productions (TNSP)
7 // 5 //
8 // Redistribution and use in source and binary forms, with or without 6 // See file "COPYING" for license information.
9 // modification, are permitted provided that the following conditions are met:
10 // * Redistributions of source code must retain the above copyright
11 // notice, this list of conditions and the following disclaimer.
12 // * Redistributions in binary form must reproduce the above copyright
13 // notice, this list of conditions and the following disclaimer in the
14 // documentation and/or other materials provided with the distribution.
15 // * Neither the name of the <organization> nor the
16 // names of its contributors may be used to endorse or promote products
17 // derived from this software without specific prior written permission.
18 // 7 //
19 // THIS SOFTWARE IS PROVIDED BY Thomas Trummer ''AS IS'' AND ANY 8 // Originally based on 'glxdragon' Copyright (c) 2009, Thomas Trummer
20 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21 // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22 // DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
23 // DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 // ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 // 9 //
30
31 #include <SDL.h> 10 #include <SDL.h>
32 #include <SDL_opengl.h> 11 #include <SDL_opengl.h>
33 #include <GL/glu.h> 12 #include <GL/glu.h>
34 #include <GL/glext.h> 13 #include <GL/glext.h>
35 14