Project

General

Profile

« Previous | Next » 

Revision 347f6cc1

Added by Leszek Koltunski 12 months ago

correct face shapes (post-new MeshPolygon normal computation)

View differences:

src/main/java/org/distorted/objectlib/objects/TwistySquare0.java
162 162
    {
163 163
    float h1 = isInIconMode() ? 0.001f : 0.04f;
164 164
    float h2 = isInIconMode() ? 0.001f : 0.02f;
165
    float[][] bands = { {h1,35,0.2f,0.8f,5,1,0}, {h2,35,0.5f,1.0f,5,1,0}, {0.001f,35,0.3f,0.8f,5,1,0} };
165
    int angle = 35;
166
    float R = 0.2f;
167
    float S = 0.8f;
168
    float[][] bands = { {h1,angle,R,S,5,1,0}, {h2,angle,R,S,5,1,0}, {0.001f,angle,R,S,5,1,0} };
166 169
    int[] indices;
167 170

  
168 171
         if( variant==0 ) indices= new int[] { 0,0,1,2,2,2 };

Also available in: Unified diff