Skip to content

Instantly share code, notes, and snippets.

(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}}]
(defn box
[impenterable-map]
STUFF)
# 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
// 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.
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.
*/
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.