From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_water_8h_source.html | 171 +++++++++++++++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 Doc/doxygen/html/_water_8h_source.html (limited to 'Doc/doxygen/html/_water_8h_source.html') diff --git a/Doc/doxygen/html/_water_8h_source.html b/Doc/doxygen/html/_water_8h_source.html new file mode 100644 index 0000000..812259d --- /dev/null +++ b/Doc/doxygen/html/_water_8h_source.html @@ -0,0 +1,171 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/Water.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Water.h
+
+
+Go to the documentation of this file.
1 /* Project nGenEx
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2006. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: nGen.lib
+
6  FILE: Water.h
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  Water surface effect w/ reflection and refraction
+
13 */
+
14 
+
15 #ifndef Water_h
+
16 #define Water_h
+
17 
+
18 #include "Geometry.h"
+
19 #include "Polygon.h"
+
20 #include "Color.h"
+
21 
+
22 // +--------------------------------------------------------------------+
+
23 
+
24 struct WATER_SURFACE;
+
25 
+
26 // +--------------------------------------------------------------------+
+
27 
+
28 class Water
+
29 {
+
30 public:
+
31  Water();
+
32  virtual ~Water();
+
33 
+
34  virtual void Init(int nVerts, float size, float depth);
+
35  virtual void CalcWaves(double seconds);
+
36  virtual void UpdateSurface(Vec3& eyePos, VertexSet* vset);
+
37 
+
38 protected:
+
39  float size;
+
40  float depth;
+
41  float scaleTex;
+
42  float avgHeight;
+
43 
+
44  DWORD nVertices;
+
45 
+ +
47  float* waves;
+
48  float offsets[16];
+
49 };
+
50 
+
51 // +--------------------------------------------------------------------+
+
52 
+
53 #endif Water_h
+
54 
+
+
+ + + + -- cgit v1.1