code: public void render() {
  		if ((engine.usePoints() && (usePoints == INHERIT_POINTS))
  				|| (usePoints == USE_POINTS)) {
  			TextureImpl.bindNone();
  			GL.glEnable(SGL.GL_POINT_SMOOTH);
  			GL.glPointSize(size / 2);
  			color.bind();
  			GL.glBegin(SGL.GL_POINTS);
  			GL.glVertex2f(x, y);
  			GL.glEnd();
  		} else if (oriented || scaleY != 1.0f) {
  			GL.glPushMatrix();
  
  			GL.glTranslatef(x, y, 0f);
  
  			if (oriented) {
  				float angle = (float) (Math.atan2(y, x) * 180 / Math.PI);
  				GL.glRotatef(angle, 0f, 0f, 1.0f);
  			}
  
  			// scale
  			GL.glScalef(1.0f, scaleY, 1.0f);
  
  			image.draw((int) (-(size / 2)), (int) (-(size / 2)), (int) size,
  					(int) size, color);
  			GL.glPopMatrix();
  		} else {
  			color.bind();
  			image.drawEmbedded((int) (x - (size / 2)), (int) (y - (size / 2)),
  					(int) size, (int) size);
  		}
  	}
docs: Render this particle