diff options
author | Sven Gothel <[email protected]> | 2012-04-24 13:40:22 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-24 13:40:22 +0200 |
commit | 5854705968e73c222724be24eecd21c488a7e977 (patch) | |
tree | e296adcd6014a57820e49ebe93f3839bc835bd89 /src/test/com/jogamp | |
parent | 9d522e77a9ac1f85c57236f00d5432e671f9169c (diff) |
Test (Applets): Add MovieCube to jogl-test-applets page.
Diffstat (limited to 'src/test/com/jogamp')
-rwxr-xr-x | src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java index 090b947d9..557cf28d7 100755 --- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java @@ -69,7 +69,12 @@ public class MovieCube implements GLEventListener, GLMediaEventListener { TexCubeES2 cube=null; GLMediaPlayer mPlayer=null; URLConnection stream = null; - + + public MovieCube() throws IOException { + this(new URL("http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4").openConnection(), + -2.3f, 0f, 0f); + } + public MovieCube(URLConnection stream, float zoom0, float rotx, float roty) throws IOException { this.stream = stream; mPlayer = GLMediaPlayerFactory.create(); |