Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/Graphs/SceneGraph.cpp

Diff revisions: vs.
  @@ -5,13 +5,13 @@
5 5
6 6 SceneGraph::SceneGraph(){
7 7 _root = New SceneGraphNode(New SceneRoot);
8 - _root->setBBExclusionMask(TYPE_SKY | TYPE_LIGHT);
8 + _root->setBBExclusionMask(TYPE_SKY | TYPE_LIGHT | TYPE_TRIGGER |TYPE_PARTICLE_EMITTER);
9 9 _root->setSceneGraph(this);
10 10 _updateRunning = false;
11 11 }
12 12
13 13 void SceneGraph::update(){
14 - _root->getBoundingBox().reset();//<reset world box
14 + //_root->getBoundingBox().reset();//<reset world box
15 15 _root->checkBoundingBoxes();
16 16 _root->updateTransforms();
17 17 _root->updateVisualInformation();
  @@ -37,8 +37,8 @@
37 37 void SceneGraph::startUpdateThread(){
38 38 }
39 39
40 - void SceneGraph::sceneUpdate(const U32 sceneTime){
41 - _root->sceneUpdate(sceneTime);
40 + void SceneGraph::sceneUpdate(const U32 sceneTime, SceneState& sceneState){
41 + _root->sceneUpdate(sceneTime, sceneState);
42 42 }
43 43
44 44 SceneGraphNode* SceneGraph::Intersect(const Ray& ray, F32 start, F32 end){