Implemented notification system needed for occlusion culling and transparency sorting
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4072
This commit is contained in:
@@ -50,13 +50,13 @@ using std::vector;
|
||||
|
||||
class KRScene : public KRResource {
|
||||
public:
|
||||
KRScene(std::string name);
|
||||
KRScene(KRContext &context, std::string name);
|
||||
~KRScene();
|
||||
|
||||
virtual std::string getExtension();
|
||||
virtual bool save(const std::string& path);
|
||||
|
||||
static KRScene *LoadXML(const std::string& path);
|
||||
static KRScene *LoadXML(KRContext &context, const std::string& path);
|
||||
|
||||
KRNode *getRootNode();
|
||||
KRDirectionalLight *getFirstDirectionalLight();
|
||||
@@ -70,6 +70,7 @@ public:
|
||||
KRBoundingVolume getExtents(KRContext *pContext);
|
||||
double sun_pitch, sun_yaw;
|
||||
private:
|
||||
KRContext *m_pContext;
|
||||
KRDirectionalLight *findFirstDirectionalLight(KRNode &node);
|
||||
|
||||
KRNode *m_pRootNode;
|
||||
|
||||
Reference in New Issue
Block a user