Created
February 16, 2013 01:07
-
-
Save Neurogami/4964947 to your computer and use it in GitHub Desktop.
code for article about Leap Motion and JRuby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "java" | |
$:.unshift "#{ENV['LEAP_SDK_HOME']}/lib/" | |
require 'LeapJava.jar' | |
import java.io.IOException | |
import java.lang.Math | |
module LeapMotion | |
include_package 'com.leapmotion.leap' | |
end | |
include LeapMotion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment