本文整理汇总了Java中com.bulletphysics.demos.opengl.LWJGL类的典型用法代码示例。如果您正苦于以下问题:Java LWJGL类的具体用法?Java LWJGL怎么用?Java LWJGL使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
LWJGL类属于com.bulletphysics.demos.opengl包,在下文中一共展示了LWJGL类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws LWJGLException {
ConcaveDemo concaveDemo = new ConcaveDemo(LWJGL.getGL());
concaveDemo.initPhysics();
concaveDemo.setCameraDistance(30f);
LWJGL.main(args, 800, 600, "Static Concave Mesh Demo", concaveDemo);
}
示例2: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws LWJGLException {
GenericJointDemo demoApp = new GenericJointDemo(LWJGL.getGL());
demoApp.initPhysics();
demoApp.setCameraDistance(10f);
LWJGL.main(args, 800, 600, "Joint 6DOF - Sequencial Impulse Solver", demoApp);
}
示例3: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws LWJGLException {
VehicleDemo vehicleDemo = new VehicleDemo(LWJGL.getGL());
vehicleDemo.initPhysics();
vehicleDemo.getDynamicsWorld().setDebugDrawer(new GLDebugDrawer(LWJGL.getGL()));
LWJGL.main(args, 800, 600, "Bullet Vehicle Demo", vehicleDemo);
}
示例4: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws Exception {
BspDemo demo = new BspDemo(LWJGL.getGL());
demo.initPhysics();
demo.getDynamicsWorld().setDebugDrawer(new GLDebugDrawer(LWJGL.getGL()));
LWJGL.main(args, 800, 600, "Bullet Physics Demo. http://bullet.sf.net", demo);
}
示例5: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws LWJGLException {
BasicDemo ccdDemo = new BasicDemo(LWJGL.getGL());
ccdDemo.initPhysics();
ccdDemo.getDynamicsWorld().setDebugDrawer(new GLDebugDrawer(LWJGL.getGL()));
LWJGL.main(args, 800, 600, "Bullet Physics Demo. http://bullet.sf.net", ccdDemo);
}
示例6: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws LWJGLException {
ForkLiftDemo forkLiftDemo = new ForkLiftDemo(LWJGL.getGL());
forkLiftDemo.initPhysics();
forkLiftDemo.getDynamicsWorld().setDebugDrawer(new GLDebugDrawer(LWJGL.getGL()));
LWJGL.main(args, 800, 600, "Bullet ForkLift Demo", forkLiftDemo);
}
示例7: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws LWJGLException {
MovingConcaveDemo concaveDemo = new MovingConcaveDemo(LWJGL.getGL());
concaveDemo.initPhysics();
concaveDemo.getDynamicsWorld().setDebugDrawer(new GLDebugDrawer(LWJGL.getGL()));
LWJGL.main(args, 800, 600, "Moving Concave Mesh Demo", concaveDemo);
}
示例8: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws Exception {
CharacterDemo demo = new CharacterDemo(LWJGL.getGL());
demo.initPhysics();
demo.getDynamicsWorld().setDebugDrawer(new GLDebugDrawer(LWJGL.getGL()));
LWJGL.main(args, 800, 600, "Bullet Character Demo. http://bullet.sf.net", demo);
}
示例9: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws LWJGLException {
ConcaveConvexcastDemo concaveConvexcastDemo = new ConcaveConvexcastDemo(LWJGL.getGL());
concaveConvexcastDemo.initPhysics();
concaveConvexcastDemo.setCameraDistance(30f);
LWJGL.main(args, 800, 600, "Concave Convexcast Demo", concaveConvexcastDemo);
}
示例10: main
import com.bulletphysics.demos.opengl.LWJGL; //导入依赖的package包/类
public static void main(String[] args) throws LWJGLException {
DynamicControlDemo demoApp = new DynamicControlDemo(LWJGL.getGL());
demoApp.initPhysics();
LWJGL.main(args, 800, 600, "Bullet Physics Demo. http://bullet.sf.net", demoApp);
}