Project

General

Profile

« Previous | Next » 

Revision 594bbce0

Added by Leszek Koltunski over 2 years ago

Progress with PuzzleTester app.

View differences:

src/main/java/org/distorted/objectlib/main/ObjectControl.java
81 81
    private static final Static4D mQuat= new Static4D(-0.25189602f,0.3546389f,0.009657208f,0.90038127f);
82 82
    private static final Static4D mTemp= new Static4D(0,0,0,1);
83 83

  
84
    private static boolean mForcedIconMode = false, mForcedCreateMesh = false;
84
    private static boolean mForcedIconMode = false;
85
    private static boolean mForcedDmeshMode= false;
86
    private static boolean mForcedJsonMode = false;
85 87

  
86 88
///////////////////////////////////////////////////////////////////////////////////////////////////
87 89
// cast the 3D axis we are currently rotating along (which is already casted to the surface of the
......
522 524

  
523 525
///////////////////////////////////////////////////////////////////////////////////////////////////
524 526

  
525
    public static void setForcedMesh(boolean mode)
527
    public static void setDmeshMode(boolean mode)
526 528
      {
527
      mForcedCreateMesh = mode;
529
      mForcedDmeshMode = mode;
530
      }
531

  
532
///////////////////////////////////////////////////////////////////////////////////////////////////
533

  
534
    public static void setJsonMode(boolean mode)
535
      {
536
      mForcedJsonMode = mode;
528 537
      }
529 538

  
530 539
///////////////////////////////////////////////////////////////////////////////////////////////////
......
536 545

  
537 546
///////////////////////////////////////////////////////////////////////////////////////////////////
538 547

  
539
    public static boolean isInCreateMesh()
548
    public static boolean isInDmeshMode()
549
      {
550
      return mForcedDmeshMode;
551
      }
552

  
553
///////////////////////////////////////////////////////////////////////////////////////////////////
554

  
555
    public static boolean isInJsonMode()
540 556
      {
541
      return mForcedCreateMesh;
557
      return mForcedJsonMode;
542 558
      }
543 559

  
544 560
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff