Exemplo n.º 1
0
 public static TexturedQuadData FromBaseTexture(TexturedQuadData basetex, PointData centre, Vector3 rotationdeg, float width, float height, float hoffset = 0, float voffset = 0)
 {
     return(FromBaseTexture(basetex, centre.Pos, rotationdeg, width, height, hoffset, voffset));
 }
Exemplo n.º 2
0
 public void UpdateVertices(PointData centre, Vector3 rotationdeg, float width, float height, float hoffset = 0, float voffset = 0)
 {
     Vector3[] vertices = GetVertices(centre.Pos, rotationdeg, width, height, hoffset, voffset);
     UpdateVertices(vertices);
 }
Exemplo n.º 3
0
 // whole versions
 public static TexturedQuadData FromBitmap(Bitmap bmp, PointData centre, Vector3 rotationdeg, float width, float height, float hoffset = 0, float voffset = 0)
 {
     return(FromBitmap(bmp, centre.Pos, rotationdeg, width, height, hoffset, voffset));
 }