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>
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.