Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/unity_build/src/libraries/tools/bsp/Q3Map_BspVertex.h @ 8740

Last change on this file since 8740 was 7163, checked in by dafrick, 14 years ago

Merged presentation3 branch into trunk.

  • Property svn:eol-style set to native
File size: 1.1 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// BspVertex.h -- used in the tessellation of the Bezier patches
23
24#ifndef _BSPVERTEX_H
25#define _BSPVERTEX_H
26
27class BspVertex
28{
29public:
30  BspVertex();
31  BspVertex(float p[3], float texcoord[2][2], float n[3]);
32
33  float mPosition[3];
34  float mTexcoord[2][2];
35  float mNormal[3];
36
37  BspVertex operator+(BspVertex a);
38  BspVertex operator*(float a);
39
40  void normalise(void);
41
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.