#N canvas 15 61 724 431 10;
#X declare -lib Gem;
#X obj 17 299 cnv 15 430 90 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 28 302 Inlets:;
#X text 28 339 Outlets:;
#X obj 17 264 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 26 263 Arguments:;
#X obj 17 69 cnv 15 430 190 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 46 352 Outlet 1: gemlist;
#X text 52 316 Inlet 1: gemlist;
#X text 466 15 GEM object;
#X obj 459 77 cnv 15 250 300 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 463 60 Example:;
#X obj 460 106 cnv 15 240 90 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 461 84 gemhead 51;
#X obj 461 172 depth;
#X text 60 22 Synopsis: [depth];
#X text 81 41 Class: manips object;
#X text 27 72 Description: Activate / Deactivate depth test;
#X text 26 93 [depth] turns on and off depth test (also known as Z-buffering). This is very useful if you are in single-buffer mode \, because then a painting effect can be achieved. In double-buffered mode \, you probably do not want to turn off the depth test \, unless you have taken control of the rendering order by setting the priority of each gemhead (see the gemhead example for explanation).;
#X obj 496 114 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X text 26 189 By default \, this object will turn OFF depth buffering for the objects "below".;
#X text 72 274 float (0/1) : depth test on/off;
#X text 52 329 Inlet 1: float (0/1) : depth test on/off;
#X obj 461 293 cube;
#X obj 461 260 rotateXYZ 0 30 30;
#X floatatom 560 239 5 0 0 0 - - - 0;
#X floatatom 494 202 5 0 0 0 - - - 0;
#X floatatom 527 218 5 0 0 0 - - - 0;
#X obj 607 210 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X msg 607 229 lighting \$1;
#X text 630 210 lighting;
#X text 516 113 turn depth test on/off;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION Activate / Deactivate depth test;
#X text 10 65 KEYWORDS Gem openGL transformation;
#X text 20 85 INLET_0 gemlist float;
#X text 20 105 OUTLET_0 gemlist;
#X text 10 125 AUTHOR IOhannes m zmölnig;
#X text 10 145 LICENSE GPL-2.0-or-later;
#X restore 608 8 pd META;
#X obj 607 326 _gemwin;
#X obj 622 274 gemhead;
#X obj 622 297 world_light;
#X connect 12 0 13 0;
#X connect 13 0 23 0;
#X connect 18 0 13 0;
#X connect 23 0 22 0;
#X connect 24 0 23 3;
#X connect 25 0 23 1;
#X connect 26 0 23 2;
#X connect 27 0 28 0;
#X connect 28 0 32 0;
#X connect 33 0 34 0;
