Revision ca4b22de
Added by Leszek Koltunski over 5 years ago
| src/main/java/org/distorted/examples/predeform/PredeformRenderer.java | ||
|---|---|---|
| 74 | 74 |
|
| 75 | 75 |
mTexture = act.getTexture(); |
| 76 | 76 |
mMesh1 = act.getMesh(); |
| 77 |
mMesh2 = mMesh1.deepCopy();
|
|
| 77 |
mMesh2 = mMesh1.copy(true);
|
|
| 78 | 78 |
|
| 79 | 79 |
mQuat1 = new Static4D(0,0,0,1); // unity |
| 80 | 80 |
mQuat2 = new Static4D(0,0,0,1); // quaternions |
Also available in: Unified diff
In library: allow a mixture of a deep and shallow copy of a Mesh ( mVertAttribs1 might be copied deeply or shallowly, mVertAttribs2 are always copied deeeply).
Port RubikCube to the new library.