File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ sub PDL::Graphics::TriD::BoundingBox::togl {
7171
7272sub 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
7878use 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;
Original file line number Diff line number Diff 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' ,
You can’t perform that action at this time.
0 commit comments