package com.haxademic.core.render;

import com.haxademic.core.app.P;

public class AnimationLoop {

	protected float frames;
	protected float progress;
	protected float progressRads;
	
	public AnimationLoop(float frames) {
		this.frames = frames;
	}
	
	public float frames() {
		return frames;
	}
	
	public float progress() {
		return progress;
	}
	
	public float progressRads() {
		return progressRads;
	}
	
	public void update() {
		float loopFrames = (float) P.p.frameCount % frames;
		progress = loopFrames / frames;
		progressRads = progress * P.TWO_PI;
		P.p.debugView.setValue("AnimationLoop.progress()", progress);
	}
	
}

@@ -554,16 +554,42 @@
 O_PI;%0A%09%09
+if(P.p.debugView != null) 
 P.p.debu

Fix for PDF rendering mode