|
@@ -276,6 +276,11 @@ public final class Renderer
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public float round(float f)
|
|
|
|
+ {
|
|
|
|
+ return ((int) (f * scale)) / scale;
|
|
|
|
+ }
|
|
|
|
+
|
|
// -------------------------------------------------------------------------
|
|
// -------------------------------------------------------------------------
|
|
// general stuff
|
|
// general stuff
|
|
// -------------------------------------------------------------------------
|
|
// -------------------------------------------------------------------------
|