Commit f3d0dcfe authored by Jan Möbius's avatar Jan Möbius

Fixed coordsys node which did not initialize the rotation matrix. Now set to...

Fixed coordsys node which did not initialize the rotation matrix. Now set to identity in constructor

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11177 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1918bea3
......@@ -66,6 +66,16 @@ namespace SceneGraph {
//== IMPLEMENTATION ==========================================================
CoordinateSystemNode::CoordinateSystemNode( BaseNode* _parent,
std::string _name)
: BaseNode(_parent, _name),
coordsysSize_(1.0)
{
rotation_.identity();
}
//----------------------------------------------------------------------------
void
CoordinateSystemNode::
boundingBox(Vec3d& _bbMin, Vec3d& _bbMax)
......
......@@ -84,11 +84,7 @@ public:
* @param _parent Define the parent Node this node gets attached to
* @param _name Name of this Node
*/
CoordinateSystemNode( BaseNode* _parent=0,
std::string _name="<TextNode>")
: BaseNode(_parent, _name),
coordsysSize_(1.0)
{};
CoordinateSystemNode( BaseNode* _parent=0, std::string _name="<TextNode>");
/// destructor
~CoordinateSystemNode() {};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment