Skip to content

Commit 2950d7d

Browse files
committed
zap Axes $graph arg for togl
1 parent 04ce960 commit 2950d7d

File tree

1 file changed

+3
-3
lines changed
  • lib/PDL/Graphics/TriD

1 file changed

+3
-3
lines changed

lib/PDL/Graphics/TriD/GL.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ sub PDL::Graphics::TriD::Object::togl { $_->togl for @{$_[0]->{Objects}} }
5353

5454
sub PDL::Graphics::TriD::Graph::togl {
5555
my($this) = @_;
56-
$this->{Axis}{$_}->togl($this) for grep $_ ne "Default", keys %{$this->{Axis}};
56+
$this->{Axis}{$_}->togl for grep $_ ne "Default", keys %{$this->{Axis}};
5757
$this->{Data}{$_}->togl($this->get_points($_)) for keys %{$this->{Data}};
5858
}
5959

6060
use PDL;
6161
sub PDL::Graphics::TriD::CylindricalEquidistantAxes::togl {
62-
my($this,$graph) = @_;
62+
my($this) = @_;
6363
my (@nadd,@nc,@ns);
6464
for my $dim (0..1) {
6565
my $width = $this->{Scale}[$dim][1]-$this->{Scale}[$dim][0];
@@ -104,7 +104,7 @@ sub PDL::Graphics::TriD::CylindricalEquidistantAxes::togl {
104104
}
105105

106106
sub PDL::Graphics::TriD::EuclidAxes::togl {
107-
my($this,$graph) = @_;
107+
my($this) = @_;
108108
print "togl: got object type " . ref($this) . "\n" if $PDL::Graphics::TriD::verbose;
109109
glLineWidth(1); # ought to be user defined
110110
glDisable(GL_LIGHTING);

0 commit comments

Comments
 (0)