File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ sub PDL::Graphics::TriD::Object::togl { $_->togl for @{$_[0]->{Objects}} }
5555sub PDL ::Graphics::TriD::Graph::togl {
5656 my ($this ) = @_ ;
5757 $this -> {Axis }{$_ }-> togl($this ) for grep $_ ne " Default" , keys %{$this -> {Axis }};
58- $this -> {Data }{$_ }-> togl_graph($this , $this -> get_points($_ )) for keys %{$this -> {Data }};
58+ $this -> {Data }{$_ }-> togl_graph($this -> get_points($_ )) for keys %{$this -> {Data }};
5959}
6060
6161use PDL;
@@ -143,10 +143,10 @@ sub PDL::Graphics::TriD::GObject::togl {
143143 $_ [0]-> gdraw($_ [0]-> {Points });
144144}
145145
146- # (this,graphs, points)
146+ # (this,points)
147147sub PDL ::Graphics::TriD::GObject::togl_graph {
148148 print " togl_graph $_ [0]\n " if $PDL::Graphics::TriD::verbose ;
149- $_ [0]-> gdraw($_ [2 ]);
149+ $_ [0]-> gdraw($_ [1 ]);
150150}
151151
152152sub PDL ::Graphics::TriD::Points::gdraw {
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ sub PDL::Graphics::TriD::GObject::tovrml {
159159}
160160
161161sub PDL ::Graphics::TriD::GObject::tovrml_graph {
162- return $_ [0]-> vdraw($_ [2 ]);
162+ return $_ [0]-> vdraw($_ [1 ]);
163163}
164164
165165sub PDL ::Graphics::TriD::Points::vdraw {
@@ -287,7 +287,7 @@ sub PDL::Graphics::TriD::Graph::tovrml {
287287 }
288288 for (sort keys %{$this -> {Data }}) {
289289 push @children ,
290- $this -> {Data }{$_ }-> tovrml_graph($this , $this -> get_points($_ ));
290+ $this -> {Data }{$_ }-> tovrml_graph($this -> get_points($_ ));
291291 }
292292 return vrn(' Group' , ' children' => [@children ]);
293293}
You can’t perform that action at this time.
0 commit comments