Parent Directory
|
Revision Log
Revision 299 - (view) (download) (as text)
| 1 : | eile | 229 | |
| 2 : | /* Copyright (c) 2006, Stefan Eilemann <[email protected]> | ||
| 3 : | All rights reserved. | ||
| 4 : | Adapted code for Equalizer usage. | ||
| 5 : | */ | ||
| 6 : | |||
| 7 : | /****************************************************************************** | ||
| 8 : | * * | ||
| 9 : | * Copyright (c) 2002 Silicon Graphics, Inc. All Rights Reserved. * | ||
| 10 : | * * | ||
| 11 : | * The recipient ("Recipient") of this software, including as modified * | ||
| 12 : | * ("Software") may reproduce, redistribute, use, and derive works from the * | ||
| 13 : | * Software without restriction, subject to the following conditions: * | ||
| 14 : | * * | ||
| 15 : | * - Redistribution of the Software in any form must reproduce this entire * | ||
| 16 : | * notice, including as modified in accordance with these provisions * | ||
| 17 : | * ("Notice"); * | ||
| 18 : | * - Any Recipient who modifies and subsequently redistributes the Software * | ||
| 19 : | * shall add information to this Notice to sufficiently identify the * | ||
| 20 : | * Recipient's modifications; * | ||
| 21 : | * - Recipient may not use the name(s) of any previous Recipient to endorse * | ||
| 22 : | * or promote any products derived from the Software without prior express * | ||
| 23 : | * written permission from such previous Recipient. * | ||
| 24 : | * * | ||
| 25 : | * THE SOFTWARE IS PROVIDED "AS IS," WITHOUT ANY EXPRESS OR IMPLIED WARRANTY * | ||
| 26 : | * OR CONDITION, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OR CONDITIONS OF * | ||
| 27 : | * MERCHANTABILITY, SECURITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR * | ||
| 28 : | * PURPOSE, AND NONINFRINGEMENT. PATENT LICENSES, IF ANY, PROVIDED HEREIN * | ||
| 29 : | * DO NOT APPLY TO COMBINATIONS OF THIS PROGRAM WITH OTHER SOFTWARE, OR ANY * | ||
| 30 : | * OTHER PRODUCT WHATSOEVER. IN NO EVENT WILL THE ORIGINATOR OR SUBSEQUENT * | ||
| 31 : | * RECIPIENT OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * | ||
| 32 : | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING IN RELATION TO THE * | ||
| 33 : | * SOFTWARE, ITS USE, OR THESE PROVISIONS, HOWEVER CAUSED AND ON ANY THEORY * | ||
| 34 : | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR NEGLIGENCE OR * | ||
| 35 : | * OTHER TORT, EVEN IF PRE-ADVISED OF THE PROSPECT OF SUCH DAMAGES. * | ||
| 36 : | * * | ||
| 37 : | * This Software was developed at private expense; if acquired under an * | ||
| 38 : | * agreement with the USA government or any contractor thereto, it is * | ||
| 39 : | * acquired as "commercial computer software" subject to the provisions of * | ||
| 40 : | * this license agreement, as specified in (a) 48 CFR 12.212 of the FAR; or, * | ||
| 41 : | * if acquired for Department of Defense units, (b) 48 CFR 227-7202 of the * | ||
| 42 : | * DoD FAR Supplement; or sections succeeding thereto. * | ||
| 43 : | * * | ||
| 44 : | * * | ||
| 45 : | * Originator: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy, * | ||
| 46 : | * Mountain View, CA 94043. http://www.sgi.com * | ||
| 47 : | * * | ||
| 48 : | ******************************************************************************/ | ||
| 49 : | |||
| 50 : | #ifndef _NORMAL_FACE_H_ | ||
| 51 : | #define _NORMAL_FACE_H_ | ||
| 52 : | |||
| 53 : | template<class VertexType> | ||
| 54 : | struct NormalFace | ||
| 55 : | { | ||
| 56 : | float normal[3]; | ||
| 57 : | VertexType vertices[3]; | ||
| 58 : | }; | ||
| 59 : | |||
| 60 : | #endif // _NORMAL_FACE_H_ | ||
| 61 : |
| Back to Equalizer website | ViewVC Help |
| Powered by ViewVC 1.0.3 |