-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.h
More file actions
35 lines (23 loc) · 833 Bytes
/
common.h
File metadata and controls
35 lines (23 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//------------------------------- PROJECT SETTINGS --------------------------------------------
#ifndef _common_h
#define _common_h
#define IS_WIN32 1
#define PROJECT_NAME "lab9"
#define INITIAL_WIDTH 800
#define INITIAL_HEIGHT 600
#define PI 3.14159265
// disable warnings concerning deprecation of string operations (Visual Studio)
#define _CRT_SECURE_NO_WARNINGS
//------------------------------- DEPENDENCIES -----------------------------------------------
#include <windows.h>
#include "glew.h"
#pragma comment(lib,"glew32.lib")
#pragma comment(lib,"glu32.lib")
#pragma comment(lib,"opengl32.lib")
#include <stdio.h>
#include <string.h>
#include <math.h>
//------------------------------- ROUTINES -----------------------------------------------
void PrintLog(char *message);
void ThrowException(char *msg);
#endif