package com.example.gatest41;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import com.threed.jpct.Camera;
import com.threed.jpct.FrameBuffer;
import com.threed.jpct.Light;
import com.threed.jpct.Logger;
import com.threed.jpct.Object3D;
import com.threed.jpct.Primitives;
import com.threed.jpct.RGBColor;
import com.threed.jpct.SimpleVector;
import com.threed.jpct.Texture;
import com.threed.jpct.TextureManager;
import com.threed.jpct.World;
import com.threed.jpct.util.BitmapHelper;
import com.threed.jpct.util.MemoryHelper;
import android.content.Context;
import android.opengl.GLSurfaceView;
public class MyRenderer implements GLSurfaceView.Renderer
{
private long time = System.currentTimeMillis();
private Camera cam;
private FrameBuffer fb = null;
private World world = null;
private Light sun = null;
private Object3D cube = null;
private RGBColor back = new RGB
jpct基本使用框架
最新推荐文章于 2021-06-04 02:07:58 发布