2015-07-26 21:39:49 +00:00
|
|
|
#ifndef CSTATICNODE_H
|
|
|
|
#define CSTATICNODE_H
|
|
|
|
|
|
|
|
#include "CSceneNode.h"
|
|
|
|
#include <Resource/model/CStaticModel.h>
|
|
|
|
|
|
|
|
class CStaticNode : public CSceneNode
|
|
|
|
{
|
|
|
|
CStaticModel *mpModel;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CStaticNode(CSceneManager *pScene, CSceneNode *pParent = 0, CStaticModel *pModel = 0);
|
|
|
|
ENodeType NodeType();
|
2015-09-27 22:02:53 +00:00
|
|
|
void AddToRenderer(CRenderer *pRenderer, const CFrustumPlanes& frustum);
|
2015-07-26 21:39:49 +00:00
|
|
|
void Draw(ERenderOptions Options);
|
|
|
|
void DrawAsset(ERenderOptions Options, u32 asset);
|
|
|
|
void RayAABoxIntersectTest(CRayCollisionTester &Tester);
|
2015-09-26 22:55:14 +00:00
|
|
|
SRayIntersection RayNodeIntersectTest(const CRay &Ray, u32 AssetID, ERenderOptions options);
|
2015-07-26 21:39:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CSTATICNODE_H
|