Skip to content

Commit fbeab95

Browse files
committed
capture current incorrect Cylinder with non-square domain
1 parent 23f1719 commit fbeab95

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

t/graph.t

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ is_pdl $cyl->transform($points2->zeroes, $points2, $inds), float('
2727
0.413176 0 0.101756; 0.586824 1 0.050878
2828
');
2929

30+
$cyl->init_scale;
31+
$cyl->add_scale(my $points3 = float('-80 -80 800; 80 50 900'), $inds);
32+
$cyl->finish_scale;
33+
is_pdl $cyl->transform($points2->zeroes, $points3, $inds), float('
34+
0.413176 -0.388889 0.101756; 0.821394 1.055555 0.050878
35+
');
36+
3037
my $pol = PDL::Graphics::TriD::PolarStereoAxes->new;
3138
$pol->init_scale;
3239
$pol->add_scale($points2, $inds);

0 commit comments

Comments
 (0)