示例#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)
         );
 }
示例#2
0
文件: Color4b.cs 项目: bblpny/Quad64
 public Color4b(ushort rgba5551)
 {
     TextureFormats.RGBA5551(out this, rgba5551);
 }
示例#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));
 }