Scene::Graph::Node::Spatial - A Node with an origin point
Combines the Scene::Graph::Note::Transforms::Translatable role with a Node for spatial awareness.
use Scene::Graph::Node::Spatial; use Geometry::Primitive::Point; my $foo = Scene::Graph::Node::Spatial->new( origin => Geometry::Primitive::Point->new(x => 5, y => 5) );
Cory G Watson, <gphat at cpan.org>
<gphat at cpan.org>
Copyright 2010 Cold Hard Code, LLC.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Scene::Graph, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Scene::Graph
CPAN shell
perl -MCPAN -e shell install Scene::Graph
For more information on module installation, please visit the detailed CPAN module installation guide.