Skip to content

Commit 6530f98

Browse files
committed
zap "Lighting" from options
1 parent 30e4edd commit 6530f98

4 files changed

Lines changed: 0 additions & 10 deletions

File tree

lib/PDL/Graphics/TriD/Contours.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ sub get_valid_options { +{
170170
ContourMax => undef,
171171
ContourVals => pdl->null,
172172
Labels => undef,
173-
Lighting => 0,
174173
}}
175174

176175
=head2 set_colortable($table)

lib/PDL/Graphics/TriD/Graph.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ sub get_valid_options { +{
134134
NDiv => 4,
135135
Names => [qw(X Y Z)],
136136
LineWidth => 1,
137-
Lighting => 0,
138137
}}
139138

140139
sub new {

lib/PDL/Graphics/TriD/Image.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ my $defaultvert = PDL->pdl([
2121
]);
2222
sub get_valid_options { +{
2323
UseDefcols => 0,
24-
Lighting => 0,
2524
FullScreen => 0,
2625
Points => $defaultvert,
2726
}}

lib/PDL/Graphics/TriD/Objects.pm

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ sub set_colors {
7373

7474
sub get_valid_options { +{
7575
UseDefcols => 0,
76-
Lighting => 1,
7776
}}
7877
sub get_points { $_[0]{Points} }
7978
sub cdummies { $_[1] }
@@ -87,7 +86,6 @@ sub cdummies { $_[1]->slice(":," . join ',', map "*$_", grep defined, ($_[2]->di
8786
sub get_valid_options { +{
8887
UseDefcols => 0,
8988
PointSize => 1,
90-
Lighting => 0,
9189
}}
9290

9391
package # hide from PAUSE
@@ -96,7 +94,6 @@ use base qw/PDL::Graphics::TriD::GObject/;
9694
# need to add radius
9795
sub get_valid_options { +{
9896
UseDefcols => 0,
99-
Lighting => 1,
10097
}}
10198

10299
package # hide from PAUSE
@@ -107,7 +104,6 @@ sub r_type { return "SURF2D";}
107104
sub get_valid_options { +{
108105
UseDefcols => 0,
109106
LineWidth => 1,
110-
Lighting => 0,
111107
}}
112108

113109
package # hide from PAUSE
@@ -118,7 +114,6 @@ sub r_type { return "SURF2D";}
118114
sub get_valid_options { +{
119115
UseDefcols => 0,
120116
LineWidth => 1,
121-
Lighting => 0,
122117
}}
123118
sub new {
124119
my $options = ref($_[-1]) eq 'HASH' ? pop : {};
@@ -291,7 +286,6 @@ sub cdummies { $_[1]->dummy(1, $_[2]->dim(1)) }
291286
sub r_type {""}
292287
sub get_valid_options { +{
293288
UseDefcols => 0,
294-
Lighting => 0,
295289
}}
296290
sub new {
297291
my $options = ref($_[-1]) eq 'HASH' ? pop : {};
@@ -310,7 +304,6 @@ use base qw/PDL::Graphics::TriD::GObject/;
310304
use fields qw/Strings/;
311305
sub get_valid_options { +{
312306
UseDefcols => 0,
313-
Lighting => 0,
314307
}}
315308
sub new {
316309
my $options = ref($_[-1]) eq 'HASH' ? pop : {};

0 commit comments

Comments
 (0)