mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-05-25 16:51:38 +00:00
22 lines
710 B
C++
22 lines
710 B
C++
#ifndef CSTATICNODE_H
|
|
#define CSTATICNODE_H
|
|
|
|
#include "CSceneNode.h"
|
|
#include "Core/Resource/Model/CStaticModel.h"
|
|
|
|
class CStaticNode : public CSceneNode
|
|
{
|
|
CStaticModel *mpModel;
|
|
|
|
public:
|
|
CStaticNode(CSceneManager *pScene, CSceneNode *pParent = 0, CStaticModel *pModel = 0);
|
|
ENodeType NodeType();
|
|
void AddToRenderer(CRenderer *pRenderer, const SViewInfo& ViewInfo);
|
|
void Draw(FRenderOptions Options, int ComponentIndex, const SViewInfo& ViewInfo);
|
|
void DrawSelection();
|
|
void RayAABoxIntersectTest(CRayCollisionTester& Tester, const SViewInfo& ViewInfo);
|
|
SRayIntersection RayNodeIntersectTest(const CRay &Ray, u32 AssetID, const SViewInfo& ViewInfo);
|
|
};
|
|
|
|
#endif // CSTATICNODE_H
|