Revision 33bfd7c9
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/bandaged/BandagedCubit.java | ||
---|---|---|
44 | 44 |
import static org.distorted.objectlib.main.TwistyObject.COLOR_RED; |
45 | 45 |
import static org.distorted.objectlib.main.TwistyObject.COLOR_WHITE; |
46 | 46 |
import static org.distorted.objectlib.main.TwistyObject.COLOR_YELLOW; |
47 |
import static org.distorted.objectlib.main.TwistyObject.COLOR_INTERNAL; |
|
47 | 48 |
|
48 | 49 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
49 | 50 |
|
... | ... | |
73 | 74 |
{ |
74 | 75 |
COLOR_YELLOW, COLOR_WHITE, |
75 | 76 |
COLOR_BLUE , COLOR_GREEN, |
76 |
COLOR_RED , COLOR_ORANGE |
|
77 |
COLOR_RED , COLOR_ORANGE, |
|
78 |
COLOR_INTERNAL |
|
77 | 79 |
}; |
78 | 80 |
final int NUM = FACE_COLORS.length; |
79 | 81 |
final int SIZE= 32; |
... | ... | |
235 | 237 |
|
236 | 238 |
FactoryBandaged3x3Cubit factory = FactoryBandaged3x3Cubit.getInstance(); |
237 | 239 |
MeshBase mesh = factory.createMesh(mPosition,false,mRoundCorners); |
240 |
resetTextureMaps(mesh); |
|
238 | 241 |
mNode.setMesh(mesh); |
239 | 242 |
mMove.set( scale*mUnscaledX, scale*mUnscaledY, scale*mUnscaledZ); |
240 | 243 |
} |
Also available in: Unified diff
Bugfix