Revision acad428e
Added by Leszek Koltunski over 5 years ago
| src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java | ||
|---|---|---|
| 124 | 124 |
|
| 125 | 125 |
void open(int resourceID) |
| 126 | 126 |
{
|
| 127 |
long t1 = System.currentTimeMillis(); |
|
| 127 | 128 |
mMesh = createMesh(resourceID); |
| 129 |
long t2 = System.currentTimeMillis(); |
|
| 130 |
|
|
| 131 |
android.util.Log.e("file", "time: "+(t2-t1));
|
|
| 128 | 132 |
|
| 129 | 133 |
mScreen.detachAll(); |
| 130 | 134 |
mScreen.attach(mTexture,mEffects,mMesh); |
Also available in: Unified diff
Reading a mesh from the .dmesh file works now.