removed LWJGL library

This commit is contained in:
codeanticode
2015-02-20 16:44:16 -05:00
parent f4e0f23466
commit a8bb95b5dc
16 changed files with 0 additions and 2923 deletions
-9
View File
@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="library/lwjgl_util.jar"/>
<classpathentry kind="lib" path="library/lwjgl.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/processing-core"/>
<classpathentry kind="output" path="bin"/>
</classpath>
-1
View File
@@ -1 +0,0 @@
bin
-17
View File
@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>processing-lwjgl</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
-32
View File
@@ -1,32 +0,0 @@
<?xml version="1.0"?>
<project name="Processing OpenGL LWJGL Library" default="build">
<target name="clean" description="Clean the build directories">
<delete dir="bin" />
<delete file="library/opengl-lwjgl.jar" />
</target>
<target name="compile" description="Compile sources">
<condition property="core-built">
<available file="../../../core/library/core.jar" />
</condition>
<fail unless="core-built" message="Please build the core library first and make sure it sits in ../../../core/library/core.jar" />
<mkdir dir="bin" />
<javac source="1.7"
target="1.7"
srcdir="src" destdir="bin"
encoding="UTF-8"
includeAntRuntime="false"
classpath="../../../core/library/core.jar; library/lwjgl.jar; library/lwjgl_util.jar"
nowarn="true"
compiler="org.eclipse.jdt.core.JDTCompilerAdapter">
<compilerclasspath path="../../mode/org.eclipse.jdt.core.jar;
../../mode/jdtCompilerAdapter.jar" />
</javac>
</target>
<target name="build" depends="compile" description="Build OpenGL LWJGL library">
<jar basedir="bin" destfile="library/opengl-lwjgl.jar" />
</target>
</project>
@@ -1,13 +0,0 @@
import processing.lwjgl.*;
void setup() {
size(4000, 2000, LWJGL.P3D);
}
void draw() {
background(255, 0, 0);
line(0, 0, width, height);
line(0, height, width, 0);
println(mouseX, mouseY);
ellipse(mouseX, mouseY, 50, 50);
}
@@ -1,31 +0,0 @@
import processing.lwjgl.*;
PGraphics pg;
void setup() {
size(400, 400, LWJGL.P2D);
pg = createGraphics(400, 400, LWJGL.P2D);
pg.smooth(4);
}
void draw() {
background(0);
pg.beginDraw();
pg.background(255, 0, 0);
pg.ellipse(mouseX, mouseY, 100, 100);
pg.endDraw();
image(pg, 0, 0, 400, 400);
}
void keyPressed() {
if (key == '1') pg.smooth(1);
else if (key == '2') pg.smooth(2);
else if (key == '3') pg.smooth(4);
else if (key == '4') pg.smooth(8);
else if (key == '5') pg.smooth(16);
else if (key == '6') pg.smooth(32);
}
@@ -1,28 +0,0 @@
import processing.lwjgl.*;
PShape cube;
void setup() {
size(400, 400, LWJGL.P3D);
smooth();
cube = createShape(BOX, 100);
}
void draw() {
background(120);
lights();
translate(mouseX, mouseY);
rotateX(frameCount * 0.01f);
rotateY(frameCount * 0.01f);
shape(cube);
}
void keyPressed() {
// Changing the smooth configuration restarts the OpenGL surface.
// Automatically recreates all the current GL resources.
noSmooth();
}
-1
View File
@@ -1 +0,0 @@
/opengl-lwjgl.jar
@@ -1,8 +0,0 @@
package processing.lwjgl;
public interface LWJGL {
static final String P2D = "processing.lwjgl.PGraphics2D";
static final String P3D = "processing.lwjgl.PGraphics3D";
static final String P2D_2X = "processing.lwjgl.PGraphics2D2X";
static final String P3D_2X = "processing.lwjgl.PGraphics3D2X";
}
@@ -1,15 +0,0 @@
package processing.lwjgl;
import processing.core.PSurface;
import processing.opengl.PGL;
import processing.opengl.PGraphicsOpenGL;
public class PGraphics2D extends processing.opengl.PGraphics2D {
protected PGL createPGL(PGraphicsOpenGL pg) {
return new PLWJGL(pg);
}
@Override
public PSurface createSurface() { // ignore
return new PSurfaceLWJGL(this);
}
}
@@ -1,15 +0,0 @@
package processing.lwjgl;
import processing.core.PSurface;
import processing.opengl.PGL;
import processing.opengl.PGraphicsOpenGL;
public class PGraphics2D2X extends processing.opengl.PGraphics2D2X {
protected PGL createPGL(PGraphicsOpenGL pg) {
return new PLWJGL(pg);
}
@Override
public PSurface createSurface() { // ignore
return new PSurfaceLWJGL(this);
}
}
@@ -1,15 +0,0 @@
package processing.lwjgl;
import processing.core.PSurface;
import processing.opengl.PGL;
import processing.opengl.PGraphicsOpenGL;
public class PGraphics3D extends processing.opengl.PGraphics3D {
protected PGL createPGL(PGraphicsOpenGL pg) {
return new PLWJGL(pg);
}
@Override
public PSurface createSurface() { // ignore
return new PSurfaceLWJGL(this);
}
}
@@ -1,15 +0,0 @@
package processing.lwjgl;
import processing.core.PSurface;
import processing.opengl.PGL;
import processing.opengl.PGraphicsOpenGL;
public class PGraphics3D2X extends processing.opengl.PGraphics3D2X {
protected PGL createPGL(PGraphicsOpenGL pg) {
return new PLWJGL(pg);
}
@Override
public PSurface createSurface() { // ignore
return new PSurfaceLWJGL(this);
}
}
@@ -1,43 +0,0 @@
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Part of the Processing project - http://processing.org
Copyright (c) 2004-12 Ben Fry and Casey Reas
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 2.1 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General
Public License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
*/
package processing.lwjgl;
import processing.core.PSurface;
import processing.opengl.PGL;
import processing.opengl.PGraphicsOpenGL;
/**
* LWJGL renderer.
*
*/
public class PGraphicsLWJGL extends PGraphicsOpenGL {
protected PGL createPGL(PGraphicsOpenGL pg) {
return new PLWJGL(pg);
}
@Override
public PSurface createSurface() { // ignore
return new PSurfaceLWJGL(this);
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff