mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-18 17:35:43 +00:00
Mass refactoring part 1/2: establishing multiple subprojects, moving source files to their new location, adding resources/templates to version control
This commit is contained in:
27
src/Core/Scene/CRootNode.h
Normal file
27
src/Core/Scene/CRootNode.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#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(CSceneManager *pScene, CSceneNode *pParent = 0) : CSceneNode(pScene, pParent) {}
|
||||
~CRootNode() {}
|
||||
|
||||
inline ENodeType NodeType() {
|
||||
return eRootNode;
|
||||
}
|
||||
|
||||
inline void RayAABoxIntersectTest(CRayCollisionTester&, const SViewInfo&) {}
|
||||
|
||||
inline SRayIntersection RayNodeIntersectTest(const CRay &, u32, const SViewInfo&) {
|
||||
return SRayIntersection(false, 0.f, nullptr, 0);
|
||||
}
|
||||
|
||||
inline void DrawSelection() {}
|
||||
};
|
||||
|
||||
#endif // CROOTNODE_H
|
||||
Reference in New Issue
Block a user