diff options
Diffstat (limited to 'Source/Graphics/geometry.h')
-rw-r--r-- | Source/Graphics/geometry.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Source/Graphics/geometry.h b/Source/Graphics/geometry.h index cc89540b..0220c2d6 100644 --- a/Source/Graphics/geometry.h +++ b/Source/Graphics/geometry.h @@ -2,39 +2,39 @@ // Name: geometry.h // Author: Freeglut // License: X-Consortium license -// Description: Data and utility functions for rendering several useful -// geometric shapes. This code is a modified version of the -// code found in "freeglut_teapot.c" and "freeglut_geometry.c", +// Description: Data and utility functions for rendering several useful +// geometric shapes. This code is a modified version of the +// code found in "freeglut_teapot.c" and "freeglut_geometry.c", // which is part of the open source project, Freeglut. // http://freeglut.sourceforge.net/ // -// Modified by Wolfire Games LLC for use in the project +// Modified by Wolfire Games LLC for use in the project // Overgrowth. // // ---------------------------------------------------------------------------- // Freeglut Copyright // ------------------ -// +// // Freeglut code without an explicit copyright is covered by the following // copyright : -// +// // Copyright(c) 1999 - 2000 Pawel W.Olszta.All Rights Reserved. // Permission is hereby granted, free of charge, to any person obtaining a copy // of this softwareand associated documentation files(the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and /or sell // copies or substantial portions of the Software. -// +// // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. -// +// // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL // PAWEL W.OLSZTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// +// // Except as contained in this notice, the name of Pawel W.Olszta shall not be // used in advertising or otherwise to promote the sale, use or other dealings // in this Software without prior written authorization from Pawel W.Olszta. @@ -171,9 +171,9 @@ #include <vector> /* -- INTERFACE FUNCTION PROTOTYPES -------------------------------------------------- */ - + void GetWireCylinderVertArray(GLint slices, std::vector<vec3> &data); void GetWireSphereVertArray(GLdouble radius, GLint slices, GLint stacks, std::vector<float> &data); -void GetWireBoxVertArray( std::vector<vec3> &data ); +void GetWireBoxVertArray(std::vector<vec3> &data); void GetUnitBoxVertArray(std::vector<float> &verts, std::vector<unsigned> &faces); void GetUnitBoxVertArray(std::vector<float> &verts); |