File tree Expand file tree Collapse file tree 4 files changed +3
-9
lines changed
Expand file tree Collapse file tree 4 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ lib/PDL/Graphics/TriD.pm
1515lib/PDL/Graphics/TriD/ArcBall.pm
1616lib/PDL/Graphics/TriD/ButtonControl.pm
1717lib/PDL/Graphics/TriD/Contours.pm
18- lib/PDL/Graphics/TriD/Control3D.pm
1918lib/PDL/Graphics/TriD/GL.pm
2019lib/PDL/Graphics/TriD/Graph.pm
2120lib/PDL/Graphics/TriD/Image.pm
@@ -31,6 +30,7 @@ lib/PDL/Graphics/TriD/Polygonize.pm
3130lib/PDL/Graphics/TriD/Quaternion.pm
3231lib/PDL/Graphics/TriD/Rout.pd
3332lib/PDL/Graphics/TriD/ScrollButtonScaler.pm
33+ lib/PDL/Graphics/TriD/SimpleController.pm
3434lib/PDL/Graphics/TriD/SimpleScaler.pm
3535lib/PDL/Graphics/TriD/Surface.pm
3636lib/PDL/Graphics/TriD/TextObjects.pm
Original file line number Diff line number Diff line change 1- package PDL::Graphics::TriD::Control3D ;
2-
3- # Mustn't have empty package in some perl versions.
4-
51# #############################################
6- #
72# A quaternion-based controller framework with the following transformations:
83# 1. world "origin". This is what the world revolves around
94# 2. world "rotation" at origin.
105# 3. camera "distance" along z axis after that (camera looks
116# at negative z axis).
127# 4. camera "rotation" after that (not always usable).
138
14-
159package PDL::Graphics::TriD::SimpleController ;
1610use strict;
1711use warnings;
Original file line number Diff line number Diff line change @@ -592,7 +592,7 @@ sub tovrml {
592592# package PDL::Graphics::TriD::VRML::Window;
593593package PDL::Graphics::TriD::Window ;
594594
595- use PDL::Graphics::TriD::Control3D ;
595+ use PDL::Graphics::TriD::SimpleController ;
596596PDL::Graphics::VRMLNode-> import ();
597597PDL::Graphics::VRMLProto-> import ();
598598use PDL::Core ' ' ; # barf
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ sub new_viewport {
5757 use PDL::Graphics::TriD::ArcBall;
5858 use PDL::Graphics::TriD::SimpleScaler;
5959 use PDL::Graphics::TriD::ScrollButtonScaler;
60- use PDL::Graphics::TriD::Control3D ;
60+ use PDL::Graphics::TriD::SimpleController ;
6161 if (defined ($PDL::Graphics::TriD::offline ) and $PDL::Graphics::TriD::offline ==1 ) {
6262 eval " use PDL::Graphics::TriD::VRML" ;
6363 } else {
You can’t perform that action at this time.
0 commit comments