Revision f8c52090
Added by Leszek Koltunski 12 months ago
src/main/java/org/distorted/bandaged/BandagedCubit.java | ||
---|---|---|
129 | 129 |
|
130 | 130 |
computeMove(mPosition); |
131 | 131 |
mMove = new Static3D(0,0,0); |
132 |
MeshBase mesh = mObject.createMesh(mVariant,mPosition,mRoundCorners); |
|
132 |
|
|
133 |
MeshBase mesh = mObject.createMesh(mPosition,mRoundCorners); |
|
133 | 134 |
|
134 | 135 |
mTexture = new DistortedTexture(); |
135 | 136 |
if( mBitmap==null ) createBitmap(mObject.getColors()); |
... | ... | |
163 | 164 |
mPosition = tmpPosition; |
164 | 165 |
|
165 | 166 |
computeMove(mPosition); |
166 |
MeshBase mesh = mObject.createMesh(mVariant,mPosition,mRoundCorners);
|
|
167 |
MeshBase mesh = mObject.createMesh(mPosition,mRoundCorners); |
|
167 | 168 |
resetTextureMaps(mesh); |
168 | 169 |
mNode.setMesh(mesh); |
169 | 170 |
mMove.set( scale*mUnscaledX, scale*mUnscaledY, scale*mUnscaledZ); |
... | ... | |
183 | 184 |
mPosition[2] = z; |
184 | 185 |
|
185 | 186 |
computeMove(mPosition); |
186 |
MeshBase mesh = mObject.createMesh(mVariant,mPosition,mRoundCorners);
|
|
187 |
MeshBase mesh = mObject.createMesh(mPosition,mRoundCorners); |
|
187 | 188 |
resetTextureMaps(mesh); |
188 | 189 |
mNode.setMesh(mesh); |
189 | 190 |
mMove.set( scale*mUnscaledX, scale*mUnscaledY, scale*mUnscaledZ); |
Also available in: Unified diff
generalize FactoryBandagedCuboid: start removing 'cuboidal' assumptions from it.