mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-30 08:55:39 +00:00
31 lines
699 B
C++
31 lines
699 B
C++
#ifndef CROOTNODE_H
|
|
#define CROOTNODE_H
|
|
|
|
#include "CSceneNode.h"
|
|
#include <iostream>
|
|
|
|
// CRootNode's main purpose is to manage groups of other nodes as its children.
|
|
class CRootNode : public CSceneNode
|
|
{
|
|
public:
|
|
explicit CRootNode(CScene *pScene, u32 NodeID, CSceneNode *pParent = 0)
|
|
: CSceneNode(pScene, NodeID, pParent) {}
|
|
~CRootNode() {}
|
|
|
|
ENodeType NodeType()
|
|
{
|
|
return eRootNode;
|
|
}
|
|
|
|
inline void RayAABoxIntersectTest(CRayCollisionTester&, const SViewInfo&) {}
|
|
|
|
inline SRayIntersection RayNodeIntersectTest(const CRay &, u32, const SViewInfo&)
|
|
{
|
|
return SRayIntersection();
|
|
}
|
|
|
|
inline void DrawSelection() {}
|
|
};
|
|
|
|
#endif // CROOTNODE_H
|