We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fbc910 commit 06ac08eCopy full SHA for 06ac08e
2 files changed
lib/PDL/Graphics/TriD/GL.pm
@@ -424,11 +424,7 @@ sub PDL::Graphics::TriD::Image::togl {
424
glMatrixMode(GL_PROJECTION);
425
glLoadIdentity();
426
glOrtho(0,1,0,1,-1,1);
427
- &PDL::Graphics::TriD::Image::togl_graph;
428
-}
429
-
430
-sub PDL::Graphics::TriD::Image::togl_graph {
431
- $_[0]->gdraw();
+ goto &PDL::Graphics::TriD::GObject::togl;
432
}
433
434
# The quick method is to use texturing for the good effect.
lib/PDL/Graphics/TriD/Image.pm
@@ -9,7 +9,7 @@
9
package PDL::Graphics::TriD::Image;
10
use strict;
11
use warnings;
12
-our @ISA=qw/PDL::Graphics::TriD::Object/;
+our @ISA=qw/PDL::Graphics::TriD::GObject/;
13
use PDL::Lite;
14
15
my $defaultvert = PDL->pdl([
0 commit comments