Example #1
0
 public CollisionTriangleList(int ID)
 {
     id      = ID;
     texture = TextureFormats.ColorTexture(
         Color4b.HSV(60 + ID * 39, (14 - (3 + ((ID >> 3) & 7))) / 14.0, (4 - ((ID >> 6) & 3)) / 4.0)
         );
 }
Example #2
0
 public Color4b(ushort rgba5551)
 {
     TextureFormats.RGBA5551(out this, rgba5551);
 }
Example #3
0
 public unsafe static Texture2D LoadTexture(Bitmap bitmap, int s, int t, object tag = null)
 {
     return(null == (object)bitmap ? null : LoadTexture(
                TextureFormats.FromBitmap(bitmap, tag),
                s, t));
 }