Source

gltut / framework / Scene.cpp

Diff from to

File framework/Scene.cpp

 			m_nodeTm.m_orient = orient;
 		}
 
+		glm::fquat NodeGetOrient() const {return m_nodeTm.m_orient;}
+
 		void SetNodeOrient(const glm::fquat &nodeOrient)
 		{
 			m_nodeTm.m_orient = glm::normalize(nodeOrient);
 		m_pNode->NodeSetOrient(orient);
 	}
 
+	glm::fquat NodeRef::NodeGetOrient() const
+	{
+		return m_pNode->NodeGetOrient();
+	}
+
 	void NodeRef::NodeOffset( const glm::vec3 &offset )
 	{
 		m_pNode->NodeOffset(offset);