• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java GLES11类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中android.opengl.GLES11的典型用法代码示例。如果您正苦于以下问题:Java GLES11类的具体用法?Java GLES11怎么用?Java GLES11使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



GLES11类属于android.opengl包,在下文中一共展示了GLES11类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getGlDetails

import android.opengl.GLES11; //导入依赖的package包/类
public static String getGlDetails() {
	String vendor = GLES11.glGetString(GLES11.GL_VENDOR);
	String renderer = GLES11.glGetString(GLES11.GL_RENDERER);
	String version = GLES11.glGetString(GLES11.GL_VERSION);
	String extensions = GLES11.glGetString(GLES11.GL_EXTENSIONS);
	StringBuffer result = new StringBuffer();
	result.append("OpenGL Vendor:   " + vendor + "\n");
	result.append("OpenGL Renderer: " + renderer + "\n");
	result.append("OpenGL Version:  " + version + "\n");
	if (extensions != null) {
		result.append("Extensions:\n");
		for (String e: extensions.split(" ")) {
			result.append("  " + e + "\n");
		}
	} else {
		result.append("No Extensions.\n");
	}
	return result.toString();
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:20,代码来源:AliteLog.java


示例2: performIntergalacticJump

import android.opengl.GLES11; //导入依赖的package包/类
public boolean performIntergalacticJump() {
	InGameManager.safeZoneViolated = false;
	if (player.getActiveMissions().size() == 0) {
		player.increaseIntergalacticJumpCounter();
		if (player.getIntergalacticJumpCounter() == 1) {
			// Mimic Amiga behavior: Mission starts after 1 intergal hyperjump
			// and 63 other jumps (intergal or intragal).
			player.resetJumpCounter();
		}
	}
	int nextGal = generator.getCurrentGalaxy() + 1;
	if (nextGal > 8 || nextGal < 1) {
		nextGal = 1;
	}
	generator.buildGalaxy(nextGal);
	player.setCurrentSystem(generator.getSystem(player.getCurrentSystem().getIndex()));
	player.setHyperspaceSystem(player.getCurrentSystem());
	player.getCobra().removeEquipment(EquipmentStore.galacticHyperdrive);
	setIntergalActive(false);
	setScreen(new FlightScreen(this, false));
   	GLES11.glMatrixMode(GLES11.GL_TEXTURE);
   	GLES11.glLoadIdentity();
	navigationBar.setActiveIndex(2);
	return true;
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:26,代码来源:Alite.java


示例3: drawText

import android.opengl.GLES11; //导入依赖的package包/类
@Override
public void drawText(String text, int x, int y, long color, GLText font) {
	if (font == null) {
		return;
	}
	float alpha = (float) ((((long) color) & (long) 0xFF000000) >> 24) / 255.0f;
	float red   = ((color & 0x00FF0000) >> 16) / 255.0f;
	float green = ((color & 0x0000FF00) >>  8) / 255.0f;
	float blue  =  (color & 0x000000FF)        / 255.0f;
    GLES11.glEnable(GLES11.GL_BLEND);
    GLES11.glBlendFunc(GLES11.GL_ONE, GLES11.GL_ONE);
	font.begin(red, green, blue, alpha);
	y -= (int) (font.getSize());
	font.draw(text, transX(x), transY(y));
	font.end();
	GLES11.glDisable(GLES11.GL_BLEND);
	textureManager.setTexture(null);
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:19,代码来源:AndroidGraphics.java


示例4: present

import android.opengl.GLES11; //导入依赖的package包/类
@Override
public void present(float deltaTime) {
	if (isGl) {
		Rect visibleArea = ((AndroidGraphics) game.getGraphics()).getVisibleArea();
		renderGlPart(deltaTime, visibleArea);
		setUpForDisplay(visibleArea);
	}
	if (currentLine != null) {
		currentLine.prePresent(deltaTime);
	}
	doPresent(deltaTime);
	GLES11.glBlendFunc(GLES11.GL_ONE, GLES11.GL_ONE_MINUS_SRC_ALPHA);
	GLES11.glEnable(GLES11.GL_BLEND);
	if (!hideCloseButton) {
		closeButton.render(alite.getGraphics());
	}
	GLES11.glDisable(GLES11.GL_BLEND);
	if (currentLine != null) {
		currentLine.postPresent(deltaTime);
	}
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:22,代码来源:TutorialScreen.java


示例5: displayShip

import android.opengl.GLES11; //导入依赖的package包/类
public void displayShip() {
	Rect visibleArea = ((AndroidGraphics) game.getGraphics()).getVisibleArea();

	initDisplay(visibleArea);

	if (SHOW_DOCKING && coriolis != null) {
		GLES11.glPushMatrix();
		  GLES11.glMultMatrixf(coriolis.getMatrix(), 0);
		  coriolis.render();
		GLES11.glPopMatrix();
	}
	GLES11.glPushMatrix();
	  GLES11.glMultMatrixf(currentShip.getMatrix(), 0);
	  ((Geometry) currentShip).render();
	GLES11.glPopMatrix();
	
	endDisplay(visibleArea);
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:19,代码来源:ShipIntroScreen.java


示例6: renderMissiles

import android.opengl.GLES11; //导入依赖的package包/类
public void renderMissiles() {
	int installedMissiles = alite.getCobra().getMissiles();
	GLES11.glColor4f(Settings.alpha, Settings.alpha, Settings.alpha, 0.2f * Settings.alpha);
	missile.justRender();
	for (int i = 0; i < 4; i++) {
		if (i < installedMissiles) {
			if (i == installedMissiles - 1 && alite.getCobra().isMissileLocked()) {
				lockedSlot.setPosition(ct.getTextureCoordX(165 + i * 80), ct.getTextureCoordY(990),
						   ct.getTextureCoordX(165 + i * 80 + 80), ct.getTextureCoordY(1027));
				lockedSlot.justRender();					
			} else if (i == installedMissiles - 1 && alite.getCobra().isMissileTargetting()) {
				targettingSlot.setPosition(ct.getTextureCoordX(165 + i * 80), ct.getTextureCoordY(990),
						   ct.getTextureCoordX(165 + i * 80 + 80), ct.getTextureCoordY(1027));
				targettingSlot.justRender();										
			} else {
				filledSlot.setPosition(ct.getTextureCoordX(165 + i * 80), ct.getTextureCoordY(990),
 										   ct.getTextureCoordX(165 + i * 80 + 80), ct.getTextureCoordY(1027));
				filledSlot.justRender();
			}
		} else {
			emptySlot.setPosition(ct.getTextureCoordX(165 + i * 80), ct.getTextureCoordY(990),
		               ct.getTextureCoordX(165 + i * 80 + 80), ct.getTextureCoordY(1027));
			emptySlot.justRender();				
		}
	}
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:27,代码来源:InfoGaugeRenderer.java


示例7: initializeGl

import android.opengl.GLES11; //导入依赖的package包/类
public void initializeGl(Rect visibleArea) {				
	float ratio = (float) windowWidth / (float) windowHeight;
     
	GlUtils.setViewport(visibleArea);
       GLES11.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
       GLES11.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
       GLES11.glPointSize(2.0f);

       GLES11.glTexEnvf(GLES11.GL_TEXTURE_ENV, GLES11.GL_TEXTURE_ENV_MODE, GLES11.GL_MODULATE);
       
    GLES11.glBlendFunc(GLES11.GL_SRC_ALPHA, GLES11.GL_ONE_MINUS_SRC_ALPHA);
       GLES11.glDisable(GLES11.GL_BLEND);

       GLES11.glMatrixMode(GLES11.GL_PROJECTION);
       GLES11.glLoadIdentity();
       GlUtils.gluPerspective(game, 120f, ratio, 0.01f, 100f);
       GLES11.glMatrixMode(GLES11.GL_MODELVIEW);
       GLES11.glLoadIdentity();        
       GLES11.glEnableClientState(GLES11.GL_VERTEX_ARRAY);
       GLES11.glEnableClientState(GLES11.GL_TEXTURE_COORD_ARRAY);
       
       GLES11.glEnable(GLES11.GL_TEXTURE_2D);
       GLES11.glEnable(GLES11.GL_DEPTH_TEST);        
       ((Alite) game).getTextureManager().setTexture(textureFilename);
       GLES11.glDisable(GLES11.GL_LIGHTING);
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:27,代码来源:HyperspaceScreen.java


示例8: drawDashedCircle

import android.opengl.GLES11; //导入依赖的package包/类
@Override
public void drawDashedCircle(int cx, int cy, int r, long color, int segments) {
	if (segments > 64) {
		segments = 64;
	}
	cx = transX(cx);
	cy = transY(cy);
	r = (int) (r * scaleFactor);

	circleBuffer.clear();
	float step = 360.0f / segments;
	for (float i = 0; i < 360.0f; i += step) {
		float ang = (float) Math.toRadians(i);
		circleBuffer.put((float) (cx + Math.cos(ang) * r));
		circleBuffer.put((float) (cy + Math.sin(ang) * r));
	}
	circleBuffer.position(0);
	setGlColor(color);
	GLES11.glVertexPointer(2, GLES11.GL_FLOAT, 0, circleBuffer);
	GLES11.glDrawArrays(GLES11.GL_LINES, 0, segments);
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:22,代码来源:AndroidGraphics.java


示例9: drawCircle

import android.opengl.GLES11; //导入依赖的package包/类
@Override
public void drawCircle(int cx, int cy, int r, long color, int segments) {
	if (segments > 64) {
		segments = 64;
	}
	cx = transX(cx);
	cy = transY(cy);
	r = (int) (r * scaleFactor);

	circleBuffer.clear();
	float step = 360.0f / segments;
	for (float i = 0; i < 360.0f; i += step) {
		float ang = (float) Math.toRadians(i);
		circleBuffer.put((float) (cx + Math.cos(ang) * r));
		circleBuffer.put((float) (cy + Math.sin(ang) * r));
	}
	circleBuffer.position(0);
	setGlColor(color);
	GLES11.glVertexPointer(2, GLES11.GL_FLOAT, 0, circleBuffer);
	GLES11.glDrawArrays(GLES11.GL_LINE_LOOP, 0, segments);
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:22,代码来源:AndroidGraphics.java


示例10: fillRect

import android.opengl.GLES11; //导入依赖的package包/类
@Override
public void fillRect(int x, int y, int width, int height, long color) {
	int x2 = transX(x + width - 1);
	int ty2 = transY(y + height - 1);
	x = transX(x);
	y = transY(y);
	int ty = y < 0 ? 0 : y;
	if (ty2 < 0) {
		return;
	}
	
	setGlColor(color);
	rectBuffer.clear();
	rectBuffer.put(x);
	rectBuffer.put(ty);
	rectBuffer.put(x2);
	rectBuffer.put(ty);
	rectBuffer.put(x2);
	rectBuffer.put(ty2);
	rectBuffer.put(x);
	rectBuffer.put(ty2);
	rectBuffer.position(0);
	GLES11.glVertexPointer(2, GLES11.GL_FLOAT, 0, rectBuffer);
	GLES11.glDrawArrays(GLES11.GL_TRIANGLE_FAN, 0, 4);
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:26,代码来源:AndroidGraphics.java


示例11: Disk

import android.opengl.GLES11; //导入依赖的package包/类
public Disk(final Alite alite, final float innerRadius, final float outerRadius, final float beginAngle, final float endAngle, final float beginAngleOuter, final float endAngleOuter, final int sections, final String textureFilename) {
	numberOfVertices = 2 * (sections + 1);
	this.alite       = alite;
	this.innerRadius = innerRadius;
	this.outerRadius = outerRadius;
	this.beginAngle  = beginAngle;
	this.endAngle    = endAngle;
	this.beginAngleOuter = beginAngleOuter;
	this.endAngleOuter = endAngleOuter;
	this.sections    = sections;
	vertexBuffer     = GlUtils.allocateFloatBuffer(4 * 3 * numberOfVertices);
	texCoordBuffer   = GlUtils.allocateFloatBuffer(4 * 2 * numberOfVertices);
	normalBuffer     = GlUtils.allocateFloatBuffer(4 * 3 * numberOfVertices);
	allNormals       = new float[3 * numberOfVertices];
	
	plotDiskPoints(innerRadius, outerRadius, (float) Math.toRadians(beginAngle), 
			                                 (float) Math.toRadians(endAngle),
			                                 (float) Math.toRadians(beginAngleOuter),
			                                 (float) Math.toRadians(endAngleOuter),
			                                 sections);
	this.textureFilename = textureFilename;
	if (textureFilename != null) {
		alite.getTextureManager().addTexture(textureFilename);
	}
	glDrawMode = GLES11.GL_TRIANGLE_STRIP;
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:27,代码来源:Disk.java


示例12: init

import android.opengl.GLES11; //导入依赖的package包/类
@Override
protected void init() {
    GLES11.glLightfv(GLES11.GL_LIGHT3, GLES11.GL_AMBIENT, lightAmbient, 0);
    GLES11.glLightfv(GLES11.GL_LIGHT3, GLES11.GL_DIFFUSE, lightAmbient, 0);
    GLES11.glLightfv(GLES11.GL_LIGHT3, GLES11.GL_SPECULAR, lightSpecular, 0);
    GLES11.glLightfv(GLES11.GL_LIGHT3, GLES11.GL_POSITION, lightPosition, 0);
    
    GLES11.glLightf(GLES11.GL_LIGHT3, GLES11.GL_SPOT_CUTOFF, 35.0f);
    GLES11.glLightf(GLES11.GL_LIGHT3, GLES11.GL_SPOT_EXPONENT, 100.0f);
    vertexBuffer = createFaces(VERTEX_DATA, NORMAL_DATA,
            1,   0,   8,   2,   0,   1,   3,   1,   9,   4,   2,   1,   4,   1,   3, 
            4,   7,   6,   5,   0,   2,   5,   2,   6,   6,   2,   4,   7,   5,   6, 
            8,   0,  11,   8,  11,   5,   8,   5,   7,   8,   7,   4,   8,   4,   3, 
            8,   3,  10,   9,   1,   8,   9,   8,  10,   9,  10,   3,  11,   0,   5);
    texCoordBuffer = GlUtils.toFloatBufferPositionZero(TEXTURE_COORDINATE_DATA);
    alite.getTextureManager().addTexture(textureFilename);    
    if (Settings.engineExhaust) {
    	addExhaust(new EngineExhaust(this, 13, 13, 300, -50, 0, 0));
    	addExhaust(new EngineExhaust(this, 13, 13, 300,  50, 0, 0));
    	addExhaust(new EngineExhaust(this,  5,  5, 180, -115, 0, 0, 1.0f, 0.5f, 0.0f, 0.7f));
    	addExhaust(new EngineExhaust(this,  5,  5, 180,  115, 0, 0, 1.0f, 0.5f, 0.0f, 0.7f));
    }
    initTargetBox();
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:25,代码来源:CobraMkIII.java


示例13: setTexture

import android.opengl.GLES11; //导入依赖的package包/类
public void setTexture(String fileName) {
	if (fileName == null) {
		GLES11.glBindTexture(GLES11.GL_TEXTURE_2D, 0);			
		return;
	}
	Texture texture = textures.get(fileName);
	if (texture == null || !texture.isValid()) {		
		addTexture(fileName);
		texture = textures.get(fileName);
	}
	if (texture != null) {
		if (!texture.isValid()) {
			texture.index[0] = addTexture(fileName);
		}
		
		if (texture.index[0] != 0) {
			GLES11.glBindTexture(GLES11.GL_TEXTURE_2D, texture.index[0]);
		} 
	} 
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:21,代码来源:TextureManager.java


示例14: freeAllTextures

import android.opengl.GLES11; //导入依赖的package包/类
public synchronized void freeAllTextures() {
	Iterator <String> iterator = Collections.synchronizedSet(textures.keySet()).iterator();
	ArrayList <String> toBeRemoved = new ArrayList<String>();
	while (iterator.hasNext()) {
		String fileName = iterator.next();
		Texture texture = textures.get(fileName);
		if (texture != null) {				
			GLES11.glDeleteTextures(1, texture.index, 0);					
			texturePool.free(texture);
			toBeRemoved.add(fileName);
		}						
	}
	for (String s: toBeRemoved) {
		textures.put(s, null);
	}
	sprites.clear();
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:18,代码来源:TextureManager.java


示例15: fillCircle

import android.opengl.GLES11; //导入依赖的package包/类
@Override
public void fillCircle(int cx, int cy, int r, long color, int segments) {
	if (segments > 64) {
		segments = 64;
	}
	cx = transX(cx);
	cy = transY(cy);
	r = (int) (r * scaleFactor);

	circleBuffer.clear();
	float step = 360.0f / segments;
	for (float i = 0; i < 360.0f; i += step) {
		float ang = (float) Math.toRadians(i);
		circleBuffer.put((float) (cx + Math.cos(ang) * r));
		circleBuffer.put((float) (cy + Math.sin(ang) * r));
	}
	circleBuffer.position(0);
	setGlColor(color);
	GLES11.glVertexPointer(2, GLES11.GL_FLOAT, 0, circleBuffer);
	GLES11.glDrawArrays(GLES11.GL_TRIANGLE_FAN, 0, segments);
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:22,代码来源:AndroidGraphics.java


示例16: render

import android.opengl.GLES11; //导入依赖的package包/类
public void render() {
	if (hasNormals) {
		GLES11.glEnableClientState(GLES11.GL_NORMAL_ARRAY);
		GLES11.glNormalPointer(GLES11.GL_FLOAT, 0, normalBuffer);
	} else {
		GLES11.glDisableClientState(GLES11.GL_NORMAL_ARRAY);
	}
	GLES11.glVertexPointer(3, GLES11.GL_FLOAT, 0, vertexBuffer);
	if (textureFilename != null) {
		GLES11.glTexCoordPointer(2, GLES11.GL_FLOAT, 0, texCoordBuffer);
	} else {
		GLES11.glDisableClientState(GLES11.GL_TEXTURE_COORD_ARRAY);
		GLES11.glDisable(GLES11.GL_LIGHTING);
		GLES11.glColor4f(r, g, b, a);
	}
	alite.getTextureManager().setTexture(textureFilename);
	GLES11.glDrawArrays(glDrawMode, 0, numberOfVertices);
	if (!hasNormals) {
		GLES11.glEnableClientState(GLES11.GL_NORMAL_ARRAY);
	}
	if (textureFilename == null) {
		GLES11.glEnableClientState(GLES11.GL_TEXTURE_COORD_ARRAY);
		GLES11.glEnable(GLES11.GL_LIGHTING);
		GLES11.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);			
	}
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:27,代码来源:Sphere.java


示例17: performViewTransformation

import android.opengl.GLES11; //导入依赖的package包/类
private void performViewTransformation(float deltaTime) {
	// Kudos to Quelo!! 
	// Thanks for getting me started on OpenGL -- from simply
	// looking at this method, one cannot immediately grasp the
	// complexities of the ideas behind it. 
	// And without Quelo, I certainly would not have understood!
	GLES11.glMatrixMode(GLES11.GL_MODELVIEW);
	GLES11.glLoadIdentity();		
	
	GLES11.glLightfv(GLES11.GL_LIGHT1, GLES11.GL_POSITION, lightPosition, 0); 
	
	if (!paused) {
		ship.applyDeltaRotation((float) Math.toDegrees(deltaYawRollPitch.z * deltaTime),
								(float) Math.toDegrees(deltaYawRollPitch.x * deltaTime),
								(float) Math.toDegrees(deltaYawRollPitch.y * deltaTime));
	}

	ship.orthoNormalize();		
	Matrix.invertM(viewMatrix, 0, ship.getMatrix(), 0);
	GLES11.glLoadMatrixf(viewMatrix, 0);		
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:22,代码来源:InGameManager.java


示例18: renderHud

import android.opengl.GLES11; //导入依赖的package包/类
private void renderHud() {
	if (hud == null) {
		return;
	}
	GLES11.glMatrixMode(GLES11.GL_PROJECTION);
	GLES11.glPushMatrix();		
	GLES11.glLoadIdentity();
	Rect visibleArea = ((AndroidGraphics) alite.getGraphics()).getVisibleArea();
	GlUtils.ortho(alite, visibleArea);		
	
	GLES11.glMatrixMode(GLES11.GL_MODELVIEW);
	GLES11.glLoadIdentity();
	if (playerControl) {
		alite.getCobra().setRotation(deltaYawRollPitch.z, deltaYawRollPitch.y);
	}
	alite.getCobra().setSpeed(ship.getSpeed());
	hud.render();	
	hud.clear();
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:20,代码来源:InGameManager.java


示例19: renderScroller

import android.opengl.GLES11; //导入依赖的package包/类
public void renderScroller(final float deltaTime) {
	GLES11.glColor4f(0.0f, 0.0f, 0.0f, 1.0f);
	GLES11.glClear(GLES11.GL_COLOR_BUFFER_BIT);
GLES11.glMatrixMode(GLES11.GL_PROJECTION);
GLES11.glPushMatrix();		
GLES11.glLoadIdentity();
Rect visibleArea = ((AndroidGraphics) alite.getGraphics()).getVisibleArea();
GlUtils.ortho(alite, visibleArea);		

GLES11.glMatrixMode(GLES11.GL_MODELVIEW);
GLES11.glLoadIdentity();
GLES11.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
message.render(alite);
if (scrollingText != null) {
	scrollingText.render(deltaTime);
}
GLES11.glMatrixMode(GLES11.GL_PROJECTION);
GLES11.glPopMatrix();
GLES11.glMatrixMode(GLES11.GL_MODELVIEW);
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:21,代码来源:InGameManager.java


示例20: init

import android.opengl.GLES11; //导入依赖的package包/类
private void init() {
	inGame.setPlayerControl(false);
	inGame.setViewport(0);
	inGame.getShip().setSpeed(0);
	inGame.getShip().getForwardVector().copy(movementVector);		
	startTime = System.nanoTime();
	Alite.get().getTextureManager().addTexture(textureFilename);
	cylinder = new CylinderSpaceObject(Alite.get(), "HyperspaceTunnel", 12500.0f, 100.0f, 16, false, false, textureFilename);
	red   = 0.2f + (float) Math.random() * 0.5f;
	green = 0.2f + (float) Math.random() * 0.5f;
	blue  = 0.2f + (float) Math.random() * 0.5f;
	SoundManager.stop(Assets.hyperspace);
	SoundManager.play(Assets.hyperspace);		
	progress = 0.0f;		
	cylinder.setMatrix(inGame.getShip().getMatrix());		
	cylinder.setColor(red, green, blue, 1.0f);
	cylinder.setSpeed(-400.0f);
	cylinder.moveForward(17.0f, movementVector);
	GLES11.glTexEnvf(GLES11.GL_TEXTURE_ENV, GLES11.GL_TEXTURE_ENV_MODE, GLES11.GL_MODULATE);
	movementVector.negate();
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:22,代码来源:HyperspaceRenderer.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java FragmentChangeManager类代码示例发布时间:2022-05-22
下一篇:
Java Sasl类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap