summary refs log tree commit diff
path: root/src/Fog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fog.h')
-rw-r--r--src/Fog.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/Fog.h b/src/Fog.h
new file mode 100644
index 0000000..a7e0c25
--- /dev/null
+++ b/src/Fog.h
@@ -0,0 +1,28 @@
+#ifndef _FOG_H_
+#define _FOG_H_
+
+
+/**> HEADER FILES <**/
+#ifdef OS9 
+#include <gl.h>
+#else
+#include <GL/gl.h>
+#endif
+#include "Quaternions.h"
+
+
+class Fog{
+	public:
+		GLfloat fogColor[4];
+		GLint fogMode;
+		GLfloat fogDensity;
+		GLfloat fogStart;
+		GLfloat fogEnd;
+		
+		void SetFog(float colorR, float colorG, float colorB, float fStart, float fEnd, float fogDensity);
+		void TempFog(float colorR, float colorG, float colorB);
+		void ResetFog();
+};
+
+#endif
+