当前位置: 首页>>代码示例>>Java>>正文


Java LWJGL类代码示例

本文整理汇总了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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:8,代码来源:ConcaveDemo.java

示例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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:8,代码来源:GenericJointDemo.java

示例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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:8,代码来源:VehicleDemo.java

示例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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:8,代码来源:BspDemo.java

示例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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:8,代码来源:BasicDemo.java

示例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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:8,代码来源:ForkLiftDemo.java

示例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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:8,代码来源:MovingConcaveDemo.java

示例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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:8,代码来源:CharacterDemo.java

示例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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:8,代码来源:ConcaveConvexcastDemo.java

示例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);
}
 
开发者ID:unktomi,项目名称:form-follows-function,代码行数:7,代码来源:DynamicControlDemo.java


注:本文中的com.bulletphysics.demos.opengl.LWJGL类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。