-
Notifications
You must be signed in to change notification settings - Fork 0
/
texture.h
38 lines (30 loc) · 905 Bytes
/
texture.h
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
36
37
38
/*
* ---------------- www.spacesimulator.net --------------
* ---- Space simulators and 3d engine tutorials ----
*
* Author: Damiano Vitulli
*
* This program is released under the BSD licence
* By using this program you agree to licence terms on spacesimulator.net copyright page
*
*
* Tutorial 4: 3d engine - 3ds models loader
*
* File header: texture.h
*
*/
/**********************************************************
*
* VARIABLES DECLARATION
*
*********************************************************/
// Counter to keep track of the last loaded texture
extern int num_texture;
/**********************************************************
*
* FUNCTION LoadBitmap(char *)
*
* This function loads a bitmap file and return the OpenGL reference ID to use that texture
*
*********************************************************/
extern int LoadBitmap(char *filename);