Project

General

Profile

« Previous | Next » 

Revision a6aa9a47

Added by Leszek Koltunski 12 months ago

Improve the 'rot axis parallel to face axis' touch control mode:
support case when the rot axis is parallel and agrees in direction with the face axis, and the one when they disagreee in direction.

View differences:

src/main/java/org/distorted/objectlib/touchcontrol/TouchControlBall.java
350 350
      output[1] = 0;
351 351
      }
352 352
    }
353

  
354
///////////////////////////////////////////////////////////////////////////////////////////////////
355

  
356
  public boolean axisAndFaceAgree(int axisIndex)
357
    {
358
    return false;
359
    }
353 360
}

Also available in: Unified diff