Project

General

Profile

« Previous | Next » 

Revision 3ece88b8

Added by Leszek Koltunski about 2 years ago

Bandaged 3x3: Improve joining cubits

View differences:

src/main/java/org/distorted/objectlib/helpers/FactoryBandaged3x3Cubit.java
1158 1158

  
1159 1159
  public ObjectFaceShape createIrregularFaceShape(int variant, boolean iconMode, boolean roundCorners)
1160 1160
    {
1161
    float height   = iconMode ? 0.001f : 0.05f;
1161
    float height   = iconMode ? 0.001f : 0.06f;
1162 1162
    int angle      = 60;
1163 1163
    float R        = 0.2f;
1164
    float S        = 0.7f;
1164
    float S        = 0.5f;
1165 1165
    int numVertices= 5;
1166
    int extraI     = 1;
1167
    int extraV     = 1;
1166
    int extraI     = 0;
1167
    int extraV     = 0;
1168 1168

  
1169 1169
    float[][] corners   = { {0.02f,0.12f} };
1170 1170
    float[][] bands     = { {  0.001f,angle,R,S,numVertices,extraV,extraI},

Also available in: Unified diff