Revision 3e129d0b
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java | ||
---|---|---|
59 | 59 |
import static org.distorted.examples.meshfile.MeshFileActivity.POLYGON; |
60 | 60 |
import static org.distorted.examples.meshfile.MeshFileActivity.PROCEDURAL; |
61 | 61 |
import static org.distorted.objectlib.main.TwistyObject.MESH_NICE; |
62 |
import static org.distorted.objectlib.main.TwistyObject.MODE_NORM; |
|
62 | 63 |
|
63 | 64 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
64 | 65 |
|
... | ... | |
295 | 296 |
int variant = 1; |
296 | 297 |
|
297 | 298 |
int[] numLayers = new int[] {2,3,2}; |
298 |
TwistyObject puzzle = new TwistyCuboid(numLayers,MESH_NICE,quat,move,scale,null); |
|
299 |
TwistyObject puzzle = new TwistyCuboid(numLayers,MESH_NICE,MODE_NORM,quat,move,scale,null);
|
|
299 | 300 |
|
300 | 301 |
ObjectShape shape = puzzle.getObjectShape(variant); |
301 | 302 |
ObjectFaceShape face= puzzle.getObjectFaceShape(variant); |
Also available in: Unified diff
Create the bandaged 3x3 icon: something works, the shape is drawn, but it's entirely black. Investigate.