@@ -8,7 +8,8 @@ use OpenGL::Modern qw/
88/ ;
99use PDL::Core qw( barf) ;
1010
11- { package PDL::Graphics::TriD::Material;
11+ { package # hide from PAUSE
12+ PDL::Graphics::TriD::Material;
1213use OpenGL::Modern qw(
1314 glMaterialfv_p
1415 GL_FRONT_AND_BACK GL_SHININESS GL_SPECULAR GL_AMBIENT GL_DIFFUSE
@@ -24,7 +25,8 @@ sub togl {
2425
2526$PDL::Graphics::TriD::verbose //= 0;
2627
27- { package PDL::Graphics::TriD::Object;
28+ { package # hide from PAUSE
29+ PDL::Graphics::TriD::Object;
2830sub togl_setup {
2931 print " togl_setup $_ [0]\n " if $PDL::Graphics::TriD::verbose ;
3032 $_ -> togl_setup for $_ [0]-> contained_objects;
@@ -64,7 +66,8 @@ sub PDL::Graphics::TriD::Quaternion::togl {
6466# #################################
6567# Graph Objects
6668
67- { package PDL::Graphics::TriD::Labels;
69+ { package # hide from PAUSE
70+ PDL::Graphics::TriD::Labels;
6871use OpenGL::Modern qw(
6972 glEnable glBlendFunc
7073 glDrawElements_c
@@ -147,7 +150,8 @@ my %mode2enum = (
147150 lineloop => GL_LINE_LOOP,
148151);
149152
150- { package PDL::Graphics::TriD::GObject;
153+ { package # hide from PAUSE
154+ PDL::Graphics::TriD::GObject;
151155use OpenGL::Modern qw(
152156 glPushAttrib glPopAttrib
153157 glLineWidth glPointSize
@@ -283,7 +287,8 @@ sub DESTROY {
283287}
284288}
285289
286- { package PDL::Graphics::TriD::GL::Primitive;
290+ { package # hide from PAUSE
291+ PDL::Graphics::TriD::GL::Primitive;
287292use OpenGL::Modern qw( glDrawArrays) ;
288293sub togl_setup {
289294 my ($this ,$points ) = @_ ;
@@ -306,7 +311,8 @@ sub PDL::Graphics::TriD::Points::primitive {OpenGL::Modern::GL_POINTS}
306311unshift @PDL::Graphics::TriD::Lines::ISA , qw( PDL::Graphics::TriD::GL::Primitive) ;
307312sub PDL ::Graphics::TriD::Lines::primitive {OpenGL::Modern::GL_LINES}
308313
309- { package PDL::Graphics::TriD::Spheres;
314+ { package # hide from PAUSE
315+ PDL::Graphics::TriD::Spheres;
310316use OpenGL::Modern qw( glShadeModel GL_SMOOTH) ;
311317use PDL::Graphics::OpenGLQ;
312318my %SPHERE ;
@@ -332,7 +338,8 @@ sub gdraw {
332338}
333339}
334340
335- { package PDL::Graphics::TriD::Triangles;
341+ { package # hide from PAUSE
342+ PDL::Graphics::TriD::Triangles;
336343use OpenGL::Modern qw(
337344 glShadeModel glColorMaterial glEnable glDisable
338345 glDrawElements_c
@@ -371,7 +378,8 @@ sub gdraw {
371378}
372379}
373380
374- { package PDL::Graphics::TriD::DrawMulti;
381+ { package # hide from PAUSE
382+ PDL::Graphics::TriD::DrawMulti;
375383use OpenGL::Modern qw( glMultiDrawElements_c GL_UNSIGNED_INT) ;
376384sub togl_setup {
377385 my ($this ,$points ) = @_ ;
@@ -394,7 +402,8 @@ sub gdraw {
394402}
395403
396404# has a mode to face the display and take the entire window
397- { package PDL::Graphics::TriD::Image;
405+ { package # hide from PAUSE
406+ PDL::Graphics::TriD::Image;
398407use OpenGL::Modern qw(
399408 glMatrixMode glLoadIdentity glOrtho
400409 glDrawArrays
@@ -760,7 +769,8 @@ sub do_perspective {
760769 glLoadIdentity ();
761770}
762771
763- package PDL::Graphics::TriD::GL ;
772+ package # hide from PAUSE
773+ PDL::Graphics::TriD::GL;
764774
765775use strict;
766776use warnings;
0 commit comments