Sha256: 3c9707e131ad70f262d9407b307267afb3b380027f8f8d8b0db4354369b4a602
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
require 'rbconfig' VERBOSE = true unless defined? K9_ROOT $LOAD_PATH << File.expand_path(File.dirname(__FILE__)) K9_ROOT = File.expand_path(File.dirname(__FILE__) + '/../') end # guard prevents issues with mri ruby when using creator if RUBY_PLATFORM == 'java' working_directory = File.join(File.dirname(__FILE__)) $LOAD_PATH << working_directory unless $LOAD_PATH.include?(working_directory) Dir[File.join(working_directory, '*.jar')].each do |jar| # require_relative jar unless jar =~ /native/ (breaks netbeans) require jar unless jar =~ /native/ end Java::ProcessingFastmath::DeglutLibrary.new.load(JRuby.runtime, false) Java::ProcessingVecmathVec2::Vec2Library.new.load(JRuby.runtime, false) Java::ProcessingVecmathVec3::Vec3Library.new.load(JRuby.runtime, false) AppRender = Java::ProcessingVecmath::AppRender ShapeRender = Java::ProcessingVecmath::ShapeRender require 'jruby_art/app' require 'jruby_art/helper_methods' end require 'jruby_art/version' require 'jruby_art/helpers/numeric' require 'jruby_art/helpers/range' require 'jruby_art/runner'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jruby_art-0.2.6.pre | lib/jruby_art.rb |