Skip to content

Commit

Permalink
partial update to 07.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
schwittlick committed Apr 16, 2013
1 parent 3d6c4a5 commit 8e528df
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 74 deletions.
Binary file modified library/LeapJava.jar
Binary file not shown.
Binary file modified library/windows/Leap.dll
Binary file not shown.
Binary file modified library/windows/LeapJava.dll
Binary file not shown.
Binary file modified library/windows64/Leap.dll
Binary file not shown.
Binary file modified library/windows64/LeapJava.dll
Binary file not shown.
14 changes: 7 additions & 7 deletions src/com/onformative/leap/LeapMotionListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ class LeapMotionListener extends Listener {
*/
public LeapMotionListener(LeapMotionP5 leap) {
this.leap = leap;
leap.currentFrame = new Frame();
leap.lastFrames = new LinkedList<Frame>();
leap.lastFramesInclProperTimestamps = new ConcurrentSkipListMap<Date, Frame>();
leap.oldFrames = new CopyOnWriteArrayList<Frame>();
leap.oldControllers = new LinkedList<Controller>();
this.leap.currentFrame = new Frame();
this.leap.lastFrames = new LinkedList<Frame>();
this.leap.lastFramesInclProperTimestamps = new ConcurrentSkipListMap<Date, Frame>();
this.leap.oldFrames = new CopyOnWriteArrayList<Frame>();
this.leap.oldControllers = new LinkedList<Controller>();

this.callbackMethodNameCircle = "circleGestureRecognized";
this.callbackMethodNameSwipe = "swipeGestureRecognized";
Expand All @@ -95,7 +95,7 @@ public void onExit(Controller controller) {
}

private void invokeCallback(Gesture gesture) {
PApplet parent = leap.getParent();
PApplet parent = this.leap.getParent();

if (parent != null) {
switch (gesture.type()) {
Expand Down Expand Up @@ -217,7 +217,7 @@ private void processGestures(Controller controller) {
*/
public void onFrame(Controller controller) {
Frame frame = controller.frame();
leap.currentFrame = frame;
this.leap.currentFrame = frame;

processGestures(controller);

Expand Down
Loading

0 comments on commit 8e528df

Please sign in to comment.