public static void FillOval <TVertexParameters>(this IShapeDrawer2 <TVertexParameters> drawer, float x, float y, float z, float w, float h, TVertexParameters parameters, int edges = 32) { w *= 0.5f; h *= 0.5f; drawer.FillOval(x + w, y + h, z, w, h, parameters, edges); }
public static void FillOval <TVertexParameters>(this IShapeDrawer2 <TVertexParameters> drawer, Vector3 xyz, Vector2 wh, TVertexParameters parameters, int edges = 32) { wh *= 0.5f; drawer.FillOval(xyz.X + wh.X, xyz.Y + wh.Y, xyz.Z, wh.X, wh.Y, parameters, edges); }
public static void FillCircle <TVertexParameters>(this IShapeDrawer2 <TVertexParameters> drawer, Vector3 xyz, float r, TVertexParameters parameters, int edges = 32) { drawer.FillOval(xyz.X, xyz.Y, xyz.Z, r, r, parameters, edges); }
public static void FillCircle <TVertexParameters>(this IShapeDrawer2 <TVertexParameters> drawer, float x, float y, float z, float r, TVertexParameters parameters, int edges = 32) { drawer.FillOval(x, y, z, r, r, parameters, edges); }