Exemple #1
0
 public static int GetColor(this InspectableSplicedVectorPoint point, int x0, int x1, int y1)
 {
     return(point.GetPointyTriPoint().GetColor(x0, x1, y1));
 }
Exemple #2
0
 public static TPoint VectorPointToGridPoint <TPoint, TBasePoint>(InspectableSplicedVectorPoint p)
     where TPoint : ISplicedPoint <TPoint, TBasePoint>
     where TBasePoint : IVectorPoint <TBasePoint>, IGridPoint <TBasePoint>
 {
     return(MakePoint <TPoint, TBasePoint>(p.x, p.y, p.index));
 }
Exemple #3
0
 public static string ToGizmoString(this InspectableSplicedVectorPoint point)
 {
     return("(" + point.x + " " + point.y + " | " + point.index + ")");
 }