JunkBox_Lib++ (for Windows)
1.10.1
Loading...
Searching...
No Matches
GlutTool.h
Go to the documentation of this file.
1
#ifndef __JBXL_CPP_OPENGL_TOOL_H_
2
#define __JBXL_CPP_OPENGL_TOOL_H_
3
11
//#define ENABLE_OPENGL 1
12
13
14
15
16
#ifdef ENABLE_OPENGL
17
18
19
#include <GL/gl.h>
20
#include <GL/glut.h>
21
22
23
24
25
//
26
namespace
jbxl
{
27
28
29
30
typedef
struct
_JBXL_GLUT_MOUSESTATE
31
{
32
long
int
lX;
33
long
int
lY;
34
long
int
lZ;
35
unsigned
char
rgbButtons[4];
36
} JBXL_GLUT_MOUSESTATE;
37
38
39
40
//extern JBXL_GLUT_MOUSESTATE GlutMouseState;
41
//extern long int GlutMouseXPos;
42
//extern long int GlutMouseYPos;
43
//extern long int GlutMouseZPos;
44
45
46
47
void
JbxlGlutInit(
int
argc=0,
char
** argv=NULL);
48
49
void
_jbxlGlutMouseProc(
int
button,
int
state,
int
x,
int
y);
50
51
void
JbxlGlutInitMouse(
void
);
52
53
54
55
56
}
// namespace
57
58
59
60
61
62
#endif
// ENABLE_OPENGL
63
64
#endif
// __JBXL_CPP_OPENGL_TOOL_H_
65
66
67
68
69
70
71
jbxl
Definition
Brep.h:29
GlutLib
GlutTool.h
Generated on Sat Oct 12 2024 19:42:08 for JunkBox_Lib++ (for Windows) by
1.11.0