Skip to content

Instantly share code, notes, and snippets.

@Neurogami
Created February 16, 2013 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Neurogami/4964947 to your computer and use it in GitHub Desktop.
Save Neurogami/4964947 to your computer and use it in GitHub Desktop.
code for article about Leap Motion and JRuby
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