00001 #pragma once 00002 #pragma warning(disable : 4996) // no complaining about deprecated *printf 00003 00004 #include "resource.h" 00005 #include "stdafx.h" 00006 #include "commdlg.h" 00007 #include "SplitterWnd.h" 00008 #include "RayWnd.h" 00009 #include "OrthoWnd.h" 00010 #include "RayEngine.h" 00011 #include "HistogramWnd.h" 00012 #include "MaterialEditor.h" 00013 #include "Options.h" 00014 #include "util.h" 00015 00016 #include "GL\gl.h" 00017 #include "GL\glu.h" 00018 00019 #include "io.h" 00020 #include "stdio.h" 00021 #include "wchar.h" 00022 #include "Fcntl.h" 00023 #include "Share.h" 00024 #include "commctrl.h" 00025 #include "sys\stat.h" 00026 00027 #define _USE_MATH_DEFINES 00028 #include "math.h" 00029 00030 extern HINSTANCE hInst; 00031 00032 extern HWND wnd_front, wnd_left, wnd_top, wnd_histogram, wnd_3d; 00033 00034 extern float brightness, contrast, gamma; 00035 00036 #define TOOL_HEIGHT 36