Skip to content

Instantly share code, notes, and snippets.

Index: src/jbullet/com/jme3/bullet/joints/ConeJoint.java
===================================================================
--- src/jbullet/com/jme3/bullet/joints/ConeJoint.java (revision 8953)
+++ src/jbullet/com/jme3/bullet/joints/ConeJoint.java (working copy)
@@ -44,10 +44,19 @@
import java.io.IOException;
/**
- * <i>From bullet manual:</i><br>
- * To create ragdolls, the conve twist constraint is very useful for limbs like the upper arm.
Index: src/desktop/com/jme3/system/Natives.java
===================================================================
--- src/desktop/com/jme3/system/Natives.java (revision 8731)
+++ src/desktop/com/jme3/system/Natives.java (working copy)
@@ -45,7 +45,6 @@
/**
* Helper class for extracting the natives (dll, so) from the jars.
- * This class should only be used internally.
*/
// Special device which allows simulation of multiple listeners
// hearing the same set of sources. Provides access to the rendered
// data for each listener. Designed to work with LWJGL.
// first, the mainContext is the only context that is controlled by
// LWJGL.
// One context will be created for each listener that we want.
# GET AUDIO
gst-launch-0.10 \
alsasrc device="plughw:1,0" ! audio/x-raw-int ! queue ! \
audioconvert ! queue ! vorbisenc ! queue ! mux. \
oggmux name=mux ! filesink location=whatever.ogg
# works
# GET VIDEO
(defn box
[impenterable-map]
STUFF)
(defn box
[& {name :name material :material color :color mass :mass friction :friction
texture :texture [l w h] :size [x y z] :position
:as user
:or
{:name "box" :material "Common/MatDefs/Misc/Unshaded.j3md"
:color ColorRGBA/Blue :texture false :size [1 1 1]
:position [0 0 0] :mass 5 :friction 0.1}}]

Setup

First, I checked out the source to jMonkeyEngine using the following command:

;;(debug t nil)
'(1 2 3)
@rlm
rlm / classpath_utils.clj
Created January 12, 2011 03:03
export_files.clj
(ns rlm.classpath-utils
(:require [clojure.contrib [duck-streams :as ds]])
(:use [clojure.contrib java-utils]))
(defn classpath []
(get-system-property "java.class.path"))
(defn add-to-classpath [file-name]
(import '(java.io File BufferedReader ByteArrayOutputStream InputStreamReader))
(def println-repl (bound-fn* println))
(defn sh-seq