登录
首页 » Java » vortex-part-vi

vortex-part-vi

于 2012-01-24 发布 文件大小:51KB
0 64
下载积分: 1 下载次数: 11

代码说明:

  OpenGL Rotating triangle

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Drawable_ConstantStateTest
    Call Log Provider extends Content Provider for Andriod.
    2013-11-26 15:34:46下载
    积分:1
  • android 高仿网易新闻客户端主界面UI效果 示例源码(侧滑SlidingMenu+ViewPager+Fragment)
    android 高仿网易新闻客户端主界面UI效果 示例源码(侧滑SlidingMenu+ViewPager+Fragment)
    2013-10-23下载
    积分:1
  • ISO7816d4Padding
    A padder that adds the padding according to the scheme referenced in ISO 7814-4 - scheme 2 from ISO 9797-1. The first byte is 0x80, rest is 0x00.
    2013-12-03 09:38:06下载
    积分:1
  • libfreenect实例
    libfreenect控制kinect的例子,包括kinect电机的运动等功能。
    2022-03-21 21:14:01下载
    积分:1
  • AngularJS
    此书介绍前端的js用法,比如语法,经验,很喜欢的一本书,良心推荐!!(This explains the front of js usage, such as grammar, experience, like a book, conscience recommend! !)
    2016-02-29 14:31:30下载
    积分:1
  • shoppingCenter
    网络购物中心web系统,简单实用,是Java新手研究的好实例(Web system, network shopping center is simple and practical, is a good example of beginner Java study)
    2014-04-08 21:52:22下载
    积分:1
  • java Http 客户端服务器端代码可直接使用
    资源描述http的客户端的完整jar,可直接用于连接远程http服务器进行收发报文。java语言实现,支持多线程
    2022-03-14 08:48:07下载
    积分:1
  • android open gl 示例代码下载
    [实例简介]Open GL 入门级示例 [实例截图] [核心代码]package com.china.gltry;import javax.microedition.khronos.egl.EGL10;import javax.microedition.khronos.egl.EGL11;import javax.microedition.khronos.egl.EGLConfig;import javax.microedition.khronos.egl.EGLContext;import javax.microedition.khronos.egl.EGLDisplay;import javax.microedition.khronos.egl.EGLSurface;import javax.microedition.khronos.opengles.GL;import android.view.SurfaceHolder;/** * An EGL helper class. */public class EGLHelper{ public EGLHelper() { } /** * Initialize EGL for a given configuration spec. * @param configSpec */ public void start(int[] configSpec){ /* * Get an EGL instance */ mEgl = (EGL10) EGLContext.getEGL(); /* * Get to the default display. */ mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); /* * We can now initialize EGL for that display */ int[] version = new int[2]; mEgl.eglInitialize(mEglDisplay, version); EGLConfig[] configs = new EGLConfig[1]; int[] num_config = new int[1]; mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, num_config); mEglConfig = configs[0]; /* * Create an OpenGL ES context. This must be done only once, an * OpenGL context is a somewhat heavy object. */ mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT, null); mEglSurface = null; } /* * Create and return an OpenGL surface */ public GL createSurface(SurfaceHolder holder) { /* * The window size has changed, so we need to create a new * surface. */ if (mEglSurface != null) { /* * Unbind and destroy the old EGL surface, if * there is one. */ mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); } /* * Create an EGL surface we can render into. */ mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, holder, null); /* * Before we can issue GL commands, we need to make sure * the context is current and bound to a surface. */ mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); GL gl = mEglContext.getGL(); return gl; } /** * Display the current render surface. * @return false if the context has been lost. */ public boolean swap() { mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); /* * Always check for EGL_CONTEXT_LOST, which means the context * and all associated data were lost (For instance because * the device went to sleep). We need to sleep until we * get a new surface. */ return mEgl.eglGetError() != EGL11.EGL_CONTEXT_LOST; } public void finish() { if (mEglSurface != null) { mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); mEgl.eglDestroySurface(mEglDisplay, mEglSurface); mEglSurface = null; } if (mEglContext != null) { mEgl.eglDestroyContext(mEglDisplay, mEglContext); mEglContext = null; } if (mEglDisplay != null) { mEgl.eglTerminate(mEglDisplay); mEglDisplay = null; } } EGL10 mEgl; EGLDisplay mEglDisplay; EGLSurface mEglSurface; EGLConfig mEglConfig; EGLContext mEglContext;}
    2015-04-06下载
    积分:1
  • java 项目
    资源描述javaweb项目, [下周工作]   11 20150403 [本周工作] 1.湖北分行531远程更新,查找“发卡机摄像头第一次调用flash player时必须点击记住站点”的问题以及解决方案 2.票据机虚拟SERVER,P端交易改造 3.发卡机工单处理以及整理发卡机问题跟踪 [下周工作]   12 20150410 [本周工作] 1.学习交通银行发卡机开发测试 2.发卡机工单处理和跟踪工单记录 3.票据机脱机版P端C端整合,票据机上搭配环境 [下周工作]   13 20150417 [本周工作] 1.票据机脱机版本在机具上测试,然后修改并添加没有的交易 2.交接交行同事郭中华的工作,学习IMT后屏模块开发,前屏双利理财,风险评估,个人贷款申请,借记卡刷卡金模块 3.学习并发布P端531,常规UAT环境版本,以及P端531,常规投产版本 4.参与发卡机531投产工作 [下周工作]   14 20150424 [本周工作] 1.编写P端打版本流程文档 2.调试修改531ITM刷卡金明细查询模块(C端P端) 3.P端UAT环境版本更新 4.处理TRL1环境下,清钞交易失败缺陷
    2022-03-20 11:35:05下载
    积分:1
  • java 三角形面积计算(文件读取)
    java 三角形面积计算(文件读取)
    2014-07-15下载
    积分:1
  • 696524资源总数
  • 103945会员总数
  • 46今日下载