Exemple #1
0
	/// This should still be called via ProtoApp::onAnimate(dt) if overridden
	virtual void onAnimate(double dt){
		lens().fovy(cnFOV.getValue());
	}
Exemple #2
0
	double gainFactor() const { float v=cnGain.getValue(); return v*v; }
Exemple #3
0
	double scaleFactor() const { return ::pow(2., cnScale.getValue()); }
Exemple #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());
 }