Java Code Examples for org.andengine.opengl.util.GLState#lineWidth()

The following examples show how to use org.andengine.opengl.util.GLState#lineWidth() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Line.java    From tilt-game-android with MIT License 5 votes vote down vote up
@Override
protected void preDraw(final GLState pGLState, final Camera pCamera) {
	super.preDraw(pGLState, pCamera);

	pGLState.lineWidth(this.mLineWidth);

	this.mLineVertexBufferObject.bind(pGLState, this.mShaderProgram);
}
 
Example 2
Source File: LineChain.java    From tilt-game-android with MIT License 5 votes vote down vote up
@Override
protected void preDraw(final GLState pGLState, final Camera pCamera) {
	super.preDraw(pGLState, pCamera);

	pGLState.lineWidth(this.mLineWidth);

	this.mLineChainVertexBufferObject.bind(pGLState, this.mShaderProgram);
}
 
Example 3
Source File: Line.java    From 30-android-libraries-in-30-days with Apache License 2.0 5 votes vote down vote up
@Override
protected void preDraw(final GLState pGLState, final Camera pCamera) {
	super.preDraw(pGLState, pCamera);

	pGLState.lineWidth(this.mLineWidth);

	this.mLineVertexBufferObject.bind(pGLState, this.mShaderProgram);
}
 
Example 4
Source File: PolyLine.java    From tilt-game-android with MIT License 3 votes vote down vote up
@Override
protected void preDraw(final GLState pGLState, final Camera pCamera) {
	super.preDraw(pGLState, pCamera);

	pGLState.lineWidth(this.mLineWidth);

}