http://jsperf.com/single-rects
~
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
# A list of available STUN server. | |
stun.l.google.com:19302 | |
stun1.l.google.com:19302 | |
stun2.l.google.com:19302 | |
stun3.l.google.com:19302 | |
stun4.l.google.com:19302 | |
stun01.sipphone.com | |
stun.ekiga.net |
public class CustomTextureTest extends GdxTest { | |
public static class BgTextureUnitAttribute extends IntAttribute{ | |
public static final String Alias = "bgTtextureUnit"; | |
public final static long Type = register(Alias); | |
public BgTextureUnitAttribute(long type, int textureNum) { | |
super(type, textureNum); | |
} | |
} | |
public static class BgTextureShader extends DefaultShader { |
#ifdef GL_ES | |
#define LOWP lowp | |
#define MED mediump | |
#define HIGH highp | |
precision mediump float; | |
#else | |
#define MED | |
#define LOWP | |
#define HIGH | |
#endif |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.