Skip to content

Commit c1c2d8e

Browse files
committed
rename Control3D.pm to actual contained package name
1 parent 19b5145 commit c1c2d8e

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

MANIFEST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ lib/PDL/Graphics/TriD.pm
1515
lib/PDL/Graphics/TriD/ArcBall.pm
1616
lib/PDL/Graphics/TriD/ButtonControl.pm
1717
lib/PDL/Graphics/TriD/Contours.pm
18-
lib/PDL/Graphics/TriD/Control3D.pm
1918
lib/PDL/Graphics/TriD/GL.pm
2019
lib/PDL/Graphics/TriD/Graph.pm
2120
lib/PDL/Graphics/TriD/Image.pm
@@ -31,6 +30,7 @@ lib/PDL/Graphics/TriD/Polygonize.pm
3130
lib/PDL/Graphics/TriD/Quaternion.pm
3231
lib/PDL/Graphics/TriD/Rout.pd
3332
lib/PDL/Graphics/TriD/ScrollButtonScaler.pm
33+
lib/PDL/Graphics/TriD/SimpleController.pm
3434
lib/PDL/Graphics/TriD/SimpleScaler.pm
3535
lib/PDL/Graphics/TriD/Surface.pm
3636
lib/PDL/Graphics/TriD/TextObjects.pm
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
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-
159
package PDL::Graphics::TriD::SimpleController;
1610
use strict;
1711
use warnings;

lib/PDL/Graphics/TriD/VRML.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ sub tovrml {
592592
#package PDL::Graphics::TriD::VRML::Window;
593593
package PDL::Graphics::TriD::Window;
594594

595-
use PDL::Graphics::TriD::Control3D;
595+
use PDL::Graphics::TriD::SimpleController;
596596
PDL::Graphics::VRMLNode->import();
597597
PDL::Graphics::VRMLProto->import();
598598
use PDL::Core ''; # barf

lib/PDL/Graphics/TriD/Window.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)