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)); }
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); }
// 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)); }