Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/formationupdate/src/libraries/tools/bsp/Q3Map_Bezier.h @ 9786

Last change on this file since 9786 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
Line 
1/*
2===========================================================================
3Copyright (C) 2008 Daniel Örstadius
4
5This file is part of bsp-renderer source code.
6
7bsp-renderer is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12bsp-renderer is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along 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
29class Bezier
30{
31public:
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.