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/Environment/Sky/Headers/Sky.h

Diff revisions: vs.
  @@ -47,8 +47,6 @@
47 47 void prepareMaterial(SceneGraphNode* const sgn);
48 48 void releaseMaterial();
49 49
50 - void setInvertPlane(F32 invertPlaneY);
51 - void setInverted(bool state){_invert = state;}
52 50 void setSunVector(const vec3<F32>& sunVect);
53 51
54 52 void addToDrawExclusionMask(I32 stageMask);
  @@ -56,18 +54,17 @@
56 54 ///Draw states are used to test if the current object should be drawn depending on the current render pass
57 55 bool getDrawState(const RenderStage& currentStage) const;
58 56 ///Skies are always visible (for now. Interiors will change that. Windows will reuqire a occlusion querry(?))
59 - bool isInView(const bool distanceCheck,const BoundingBox& boundingBox,const BoundingSphere& sphere) {return true;}
57 + bool isInView(const BoundingBox& boundingBox, const BoundingSphere& sphere, const bool distanceCheck = false) {return true;}
60 58 void postLoad(SceneGraphNode* const sgn);
61 59
62 60 private:
63 61 bool load();
64 62
65 63 private:
66 - bool _init,_invert,_drawSky,_drawSun;
64 + bool _init,_drawSky,_drawSun;
67 65 ShaderProgram* _skyShader;
68 66 TextureCubemap* _skybox;
69 67 vec3<F32> _sunVect;
70 - F32 _invertPlaneY;
71 68 Sphere3D *_sky,*_sun;
72 69 SceneGraphNode *_sunNode, *_skyGeom;
73 70 U8 _exclusionMask;