Skip to content

Commit 40b1ec5

Browse files
committed
axes just get togl method not special name
1 parent 06ac08e commit 40b1ec5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/PDL/Graphics/TriD/GL.pm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ sub PDL::Graphics::TriD::BoundingBox::togl {
7171

7272
sub PDL::Graphics::TriD::Graph::togl {
7373
my($this) = @_;
74-
$this->{Axis}{$_}->togl_axis($this) for grep $_ ne "Default", keys %{$this->{Axis}};
74+
$this->{Axis}{$_}->togl($this) for grep $_ ne "Default", keys %{$this->{Axis}};
7575
$this->{Data}{$_}->togl_graph($this,$this->get_points($_)) for keys %{$this->{Data}};
7676
}
7777

7878
use PDL;
79-
sub PDL::Graphics::TriD::CylindricalEquidistantAxes::togl_axis {
79+
sub PDL::Graphics::TriD::CylindricalEquidistantAxes::togl {
8080
my($this,$graph) = @_;
8181
my (@nadd,@nc,@ns);
8282
for my $dim (0..1) {
@@ -121,9 +121,9 @@ sub PDL::Graphics::TriD::CylindricalEquidistantAxes::togl_axis {
121121
glEnable(GL_LIGHTING);
122122
}
123123

124-
sub PDL::Graphics::TriD::EuclidAxes::togl_axis {
124+
sub PDL::Graphics::TriD::EuclidAxes::togl {
125125
my($this,$graph) = @_;
126-
print "togl_axis: got object type " . ref($this) . "\n" if $PDL::Graphics::TriD::verbose;
126+
print "togl: got object type " . ref($this) . "\n" if $PDL::Graphics::TriD::verbose;
127127
glLineWidth(1); # ought to be user defined
128128
glDisable(GL_LIGHTING);
129129
my $ndiv = 4;

lib/PDL/Graphics/TriD/VRML.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ sub PDL::Graphics::TriD::Graph::tovrml {
304304
my @children = ();
305305
for(sort keys %{$this->{Axis}}) {
306306
if($_ eq "Default") {next}
307-
push @children, @{$this->{Axis}{$_}->tovrml_axis($this)};
307+
push @children, @{$this->{Axis}{$_}->tovrml($this)};
308308
}
309309
for(sort keys %{$this->{Data}}) {
310310
push @children,
@@ -314,7 +314,7 @@ sub PDL::Graphics::TriD::Graph::tovrml {
314314
}
315315

316316

317-
sub PDL::Graphics::TriD::EuclidAxes::tovrml_axis {
317+
sub PDL::Graphics::TriD::EuclidAxes::tovrml {
318318
my($this,$graph) = @_;
319319
my $vrml = $PDL::Graphics::VRML::current_window;
320320
my $lset = vrn('Shape',

0 commit comments

Comments
 (0)