Ejemplo n.º 1
0
	void AttachSkySphere(SkySpherePtr p){
		if (mSkySphere)
			mSkySphere->OnDetachedFromScene(mSelfPtr.lock());
		mSkySphere = p;
		if (mSkySphere){			
			mSkySphere->OnAttachedToScene(mSelfPtr.lock());
		}
	}
Ejemplo n.º 2
0
	void DetachSkySphere(){
		if (mSkySphere){
			mSkySphere->OnDetachedFromScene(mSelfPtr.lock());
			mSkySphere = 0;
		}
	}