1
package PDL::Graphics::TriD::Logo;
4
@ISA=qw/PDL::Graphics::TriD::Object/;
7
my ($type,$pos,$size) = @_;
8
$this = bless {},$type;
9
$this->{Points} = PDL->pdl ([
161
[ 4.809, 1.797, -1]]);
162
$this->{Index} = PDL->pdl([
463
$this->{Material} = new PDL::Graphics::TriD::Material(
465
Specular =>[0.753217,0.934416,1],
467
Diffuse =>[0.09855,0.153113,0.191489],
468
Emissive =>[0, 0, 0]);
469
$this->{Pos} = defined($pos) ? $pos : [0,1.2,0];
470
$this->{Size} = defined($size) ? $size : 0.1;
477
# ***add these lines to, e.g. tvrml2.pl
479
# use PDL::Graphics::TriD::Logo;
480
# $win->add_object(new PDL::Graphics::TriD::Logo);