Cory G Watson > Scene-Graph > Scene::Graph::Node::Spatial

Download:
Scene-Graph-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Scene::Graph::Node::Spatial - A Node with an origin point

DESCRIPTION ^

Combines the Scene::Graph::Note::Transforms::Translatable role with a Node for spatial awareness.

SYNOPSIS ^

    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)
    );

AUTHOR ^

Cory G Watson, <gphat at cpan.org>

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

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.

syntax highlighting: