File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ sub PDL::Graphics::TriD::EuclidAxes::togl {
110110 glDisable(GL_LIGHTING);
111111 my $ndiv = 4;
112112 my $line_coord = zeroes(3,3)-> append(my $id3 = identity(3));
113- my $starts = zeroes($ndiv +1)-> xlinvals (0,1)-> transpose -> append(zeroes(2,$ndiv +1));
113+ my $starts = zeroes(1, $ndiv +1)-> ylinvals (0,1)-> append(zeroes(2,$ndiv +1));
114114 my $ends = $starts + append(0, ones 2) * -0.1;
115- my $dupseq = sequence(3) -> dummy(0, $ndiv +1)-> flat;
115+ my $dupseq = yvals( $ndiv +1,3 )-> flat;
116116 $_ = $_ -> dup(1,3)-> rotate($dupseq ) for $starts , $ends ;
117117 $line_coord = $line_coord -> glue(1, $starts -> append($ends ));
118118 my $axisvals = zeroes(3,$ndiv +1)-> ylinvals($this -> {Scale }-> dog)-> transpose-> flat-> transpose;
You can’t perform that action at this time.
0 commit comments