aboutsummaryrefslogtreecommitdiff
path: root/Gem/GLdefine-help.pd
blob: 09235e0d30cbfcfd8c99d2d70c36b9af10f15b46 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#N canvas 78 61 701 310 10;
#X declare -lib Gem;
#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 584 234 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 142 68 set create;
#X msg 198 112 destroy;
#X msg 132 112 create \, 1;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 7 0;
#X connect 3 1 5 0;
#X connect 3 1 6 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X restore 589 273 pd gemwin;
#X msg 589 254 create;
#X text 585 233 Create window:;
#X text 525 29 Example:;
#X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 8 216 cnv 15 450 80 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 11 217 Inlets:;
#X obj 8 176 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 452 8 GEM object;
#X text 11 266 Outlets:;
#X obj 522 71 cnv 15 150 140 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 530 192 GEMglBegin;
#X obj 534 77 loadbang;
#X text 54 30 Class: GEMgl object;
#X text 33 14 Synopsis: [GLdefine];
#X text 15 88 Send an OpenGL configuration constant to a GEMglBegin
to set up the OpenGL environment. These constants are defined in GL/gl.h
in the OpenGL C++ code.;
#X floatatom 584 167 5 0 0 0 - - -;
#X text 29 229 Inlet 1: bang;
#X text 23 279 Outlet 1: float;
#X text 14 137 for more \, see: http://www.glprogramming.com/blue/ch04.html
;
#X text 7 69 Description: gets the value of a OpenGL constant;
#X text 29 245 Inlet 1: message - the name of the constant;
#X text 17 175 Arguments:;
#X text 29 189 the name of a OpenGL constant (e.g. GL_LINES or GL_POLYGON)
;
#X msg 542 98 GL_LINES;
#X obj 534 142 GLdefine GL_ADD;
#X msg 553 119 symbol GL_ACCUM;
#X obj 588 8 declare -lib Gem;
#X connect 2 0 3 0;
#X connect 3 0 2 0;
#X connect 14 0 27 0;
#X connect 26 0 27 0;
#X connect 27 0 13 1;
#X connect 27 0 18 0;
#X connect 28 0 27 0;