mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-19 09:55:40 +00:00
General: Remove unnecessary inline specifiers and add overrides
This commit is contained in:
@@ -2,29 +2,28 @@
|
||||
#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, uint32 NodeID, CSceneNode *pParent = 0)
|
||||
explicit CRootNode(CScene *pScene, uint32 NodeID, CSceneNode *pParent = nullptr)
|
||||
: CSceneNode(pScene, NodeID, pParent) {}
|
||||
~CRootNode() {}
|
||||
~CRootNode() = default;
|
||||
|
||||
ENodeType NodeType()
|
||||
ENodeType NodeType() override
|
||||
{
|
||||
return ENodeType::Root;
|
||||
}
|
||||
|
||||
inline void RayAABoxIntersectTest(CRayCollisionTester&, const SViewInfo&) {}
|
||||
void RayAABoxIntersectTest(CRayCollisionTester&, const SViewInfo&) override {}
|
||||
|
||||
inline SRayIntersection RayNodeIntersectTest(const CRay &, uint32, const SViewInfo&)
|
||||
SRayIntersection RayNodeIntersectTest(const CRay &, uint32, const SViewInfo&) override
|
||||
{
|
||||
return SRayIntersection();
|
||||
}
|
||||
|
||||
inline void DrawSelection() {}
|
||||
void DrawSelection() override {}
|
||||
};
|
||||
|
||||
#endif // CROOTNODE_H
|
||||
|
||||
Reference in New Issue
Block a user