Beispiel #1
0
	/// This should still be called via ProtoApp::onAnimate(dt) if overridden
	virtual void onAnimate(double dt){
		lens().fovy(cnFOV.getValue());
	}
Beispiel #2
0
	double gainFactor() const { float v=cnGain.getValue(); return v*v; }
Beispiel #3
0
	double scaleFactor() const { return ::pow(2., cnScale.getValue()); }
Beispiel #4
0
 /// This should still be called via ProtoApp::onAnimate(dt) if overridden
 virtual void onAnimate(double dt) {
     lens()
     .near(cnNear.getValue())
     .far(cnFar.getValue())
     .fovy(cnFOV.getValue());
 }