"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Example/TriD/3dtest.pl" between
PDL-2.076.tar.gz and PDL-2.077.tar.gz

About: PDL (Perl Data Language) aims to turn perl into an efficient numerical language for scientific computing (similar to IDL and MatLab).

3dtest.pl  (PDL-2.076):3dtest.pl  (PDL-2.077)
#!/usr/bin/perl #!/usr/bin/perl
# #
# This program is a simple diagnostic example to # This program is a simple diagnostic example to
# check if TriD imagrgb is working # check if TriD imagrgb is working
# #
use PDL; use PDL;
use PDL::NiceSlice; use PDL::NiceSlice;
use PDL::Graphics::TriD; use PDL::Graphics::TriD;
# $PDL::debug_trid=1;
$PDL::Graphics::TriD::verbose //= 0; $PDL::Graphics::TriD::verbose //= 0;
$im = sequence(640,480)/640.0/480.0; $im = sequence(640,480)/640.0/480.0;
$im3 = $im->dummy(0,3); $im3 = $im->dummy(0,3);
# print "\$im3 has dims of @{[$im3->dims()]}\n"; # print "\$im3 has dims of @{[$im3->dims()]}\n";
imagrgb $im3; imagrgb $im3;
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)