Project

General

Profile

« Previous | Next » 

Revision c741467f

Added by Leszek Koltunski about 1 year ago

Coin tetrahedron: mesh, jsons.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyCoinTetrahedron.java
506 506
      {
507 507
      float h1 = isInIconMode() ? 0.001f : 0.03f;
508 508
      float h2 = isInIconMode() ? 0.001f : 0.01f;
509
      float[][] bands = { {h1,35,0.2f,0.4f,5,1,0}, {h2,35,0.2f,0.4f,2,0,0} };
509
      float[][] bands = { {h1,35,0.2f,0.4f,5,2,1}, {h2,35,0.2f,0.4f,2,0,0} };
510 510
      int num = 9+3*N+3;
511 511
      int[] indices   = new int[num];
512 512
      for(int i=3; i<num; i++) indices[i] = 1;
......
542 542
    {
543 543
    if( variant==0 )
544 544
      {
545
      float[][] corners = { {0.04f,0.10f} };
545
      float[][] corners = { {0.05f,0.20f} };
546 546
      int num = 5 + 3*(N+1) + 3;
547 547
      int[] indices     = new int[num];
548 548
      for(int i=4; i<num; i++) indices[i] = -1;
......
592 592

  
593 593
  public float getStickerStroke()
594 594
    {
595
    return isInIconMode() ? 0.20f : 0.12f;
595
    return isInIconMode() ? 0.15f : 0.12f;
596 596
    }
597 597

  
598 598
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff