checkpoint 3d all apps entrance / exit animations
diff --git a/res/drawable-land/trash.png b/res/drawable-land/trash.png
new file mode 100644
index 0000000..dccf891
--- /dev/null
+++ b/res/drawable-land/trash.png
Binary files differ
diff --git a/res/raw/rollo.c b/res/raw/rollo.c
index dc1199e..98f1e3e 100644
--- a/res/raw/rollo.c
+++ b/res/raw/rollo.c
@@ -39,6 +39,16 @@
// Drawing constants, should be parameters ======
#define VIEW_ANGLE 1.28700222f
+int g_lastFrameTime = 0;
+void print_frame_rate()
+{
+ int now = uptimeMillis();
+ if (g_lastFrameTime != 0) {
+ debugI32("frame_rate", 1000/(now-g_lastFrameTime));
+ }
+ g_lastFrameTime = now;
+}
+
int
count_pages(int iconCount)
{
@@ -138,7 +148,7 @@
iconLeftX, iconTextureBottom, iconLeftZ, 0.0f, 1.0f);
// label
- if (scale <= 1.04f) {
+ if (scale <= 0.1f) {
float labelLeftX = centerX - farLabelWidth * 0.5f;
float labelRightX = centerX + farLabelWidth * 0.5f;
@@ -343,6 +353,8 @@
drawRect(handleLeft, handleTop, handleLeft+handleWidth, handleTop+handleHeight, 0.0f);
*/
+ print_frame_rate();
+
return !done;
}