Last change
on this file since 11462 was
7163,
checked in by dafrick, 14 years ago
|
Merged presentation3 branch into trunk.
|
-
Property svn:eol-style set to
native
|
File size:
1.2 KB
|
Rev | Line | |
---|
[6819] | 1 | /* |
---|
| 2 | =========================================================================== |
---|
| 3 | Copyright (C) 2008 Daniel Örstadius |
---|
| 4 | |
---|
| 5 | This file is part of bsp-renderer source code. |
---|
| 6 | |
---|
| 7 | bsp-renderer is free software: you can redistribute it and/or modify |
---|
| 8 | it under the terms of the GNU General Public License as published by |
---|
| 9 | the Free Software Foundation, either version 3 of the License, or |
---|
| 10 | (at your option) any later version. |
---|
| 11 | |
---|
| 12 | bsp-renderer is distributed in the hope that it will be useful, |
---|
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 15 | GNU General Public License for more details. |
---|
| 16 | |
---|
| 17 | You should have received a copy of the GNU General Public License |
---|
| 18 | along with bsp-renderer. If not, see <http://www.gnu.org/licenses/>. |
---|
| 19 | |
---|
| 20 | */ |
---|
| 21 | |
---|
| 22 | // Bezier.h -- class for the Bezier patches |
---|
| 23 | |
---|
| 24 | #ifndef _BEZIER_H |
---|
| 25 | #define _BEZIER_H |
---|
| 26 | |
---|
| 27 | #include "Q3Map_BspVertex.h" |
---|
| 28 | |
---|
| 29 | class Bezier |
---|
| 30 | { |
---|
| 31 | public: |
---|
| 32 | Bezier(); |
---|
| 33 | ~Bezier(); |
---|
| 34 | |
---|
| 35 | void tessellate(int level); |
---|
| 36 | |
---|
| 37 | BspVertex mControls[9]; |
---|
| 38 | BspVertex *mVertex; |
---|
| 39 | unsigned int *mIndex; |
---|
| 40 | unsigned int *mTrianglesPerRow; |
---|
| 41 | unsigned int *mRowIndex; |
---|
| 42 | unsigned int mNumIndex; |
---|
| 43 | unsigned int mNumVertex; |
---|
| 44 | int mBaseBufferindex; |
---|
| 45 | int mBaseVertexIndex; |
---|
| 46 | }; |
---|
| 47 | |
---|
| 48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.