mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-21 02:39:17 +00:00
Initial commit of current work on Prime World Editor
This commit is contained in:
21
Scene/CCollisionNode.h
Normal file
21
Scene/CCollisionNode.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef CCOLLISIONNODE_H
|
||||
#define CCOLLISIONNODE_H
|
||||
|
||||
#include "CSceneNode.h"
|
||||
#include <Resource/CCollisionMesh.h>
|
||||
|
||||
class CCollisionNode : public CSceneNode
|
||||
{
|
||||
CCollisionMesh *mpMesh;
|
||||
CToken mMeshToken;
|
||||
|
||||
public:
|
||||
CCollisionNode(CSceneManager *pScene, CSceneNode *pParent = 0, CCollisionMesh *pMesh = 0);
|
||||
ENodeType NodeType();
|
||||
void AddToRenderer(CRenderer *pRenderer);
|
||||
void Draw(ERenderOptions Options);
|
||||
void DrawAsset(ERenderOptions Options, u32 asset);
|
||||
SRayIntersection RayNodeIntersectTest(const CRay &Ray, u32 AssetID);
|
||||
};
|
||||
|
||||
#endif // CCOLLISIONNODE_H
|
||||
Reference in New Issue
Block a user