projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed Mesh.java, made it really fast
[org.ibex.core.git]
/
src
/
org
/
ibex
/
core
/
Box.java
diff --git
a/src/org/ibex/core/Box.java
b/src/org/ibex/core/Box.java
index
b68480f
..
8c312de
100644
(file)
--- a/
src/org/ibex/core/Box.java
+++ b/
src/org/ibex/core/Box.java
@@
-244,7
+244,11
@@
public final class Box extends JS.Obj implements Callable {
}
// FIXME: texture
} else {
}
// FIXME: texture
} else {
- if (mesh == null) mesh = new Mesh(new Polygon(path, Affine.identity()));
+ if (mesh == null) {
+ Log.warn(this, "generating mesh...");
+ mesh = new Mesh(new Polygon(path, Affine.identity()));
+ Log.warn(this, " done generating mesh.");
+ }
mesh.fill(buf, a, fillcolor, true, false);
mesh.stroke(buf, a, strokecolor);
//mesh.fill(buf, a, fillcolor, true, true);
mesh.fill(buf, a, fillcolor, true, false);
mesh.stroke(buf, a, strokecolor);
//mesh.fill(buf, a, fillcolor, true, true);