summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Water.h
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/Water.h')
-rw-r--r--nGenEx/Water.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/nGenEx/Water.h b/nGenEx/Water.h
index 2f88db0..6ef3a6d 100644
--- a/nGenEx/Water.h
+++ b/nGenEx/Water.h
@@ -1,15 +1,15 @@
/* Project nGenEx
- Destroyer Studios LLC
- Copyright © 1997-2006. All Rights Reserved.
+ Destroyer Studios LLC
+ Copyright © 1997-2006. All Rights Reserved.
- SUBSYSTEM: nGen.lib
- FILE: Water.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: nGen.lib
+ FILE: Water.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- Water surface effect w/ reflection and refraction
+ OVERVIEW
+ ========
+ Water surface effect w/ reflection and refraction
*/
#ifndef Water_h
@@ -28,24 +28,24 @@ struct WATER_SURFACE;
class Water
{
public:
- Water();
- virtual ~Water();
+ Water();
+ virtual ~Water();
- virtual void Init(int nVerts, float size, float depth);
- virtual void CalcWaves(double seconds);
- virtual void UpdateSurface(Vec3& eyePos, VertexSet* vset);
+ virtual void Init(int nVerts, float size, float depth);
+ virtual void CalcWaves(double seconds);
+ virtual void UpdateSurface(Vec3& eyePos, VertexSet* vset);
protected:
- float size;
- float depth;
- float scaleTex;
- float avgHeight;
+ float size;
+ float depth;
+ float scaleTex;
+ float avgHeight;
- DWORD nVertices;
+ DWORD nVertices;
- WATER_SURFACE* surface;
- float* waves;
- float offsets[16];
+ WATER_SURFACE* surface;
+ float* waves;
+ float offsets[16];
};
// +--------------------------------------------------------------------+