コード例 #1
0
 public static int GetColor(this InspectableVectorPoint point, int x0, int x1, int y1)
 {
     return(point.GetRectPoint().GetColor(x0, x1, y1));
 }
コード例 #2
0
 public static TPoint VectorPointToGridPoint <TPoint>(InspectableVectorPoint p)
     where TPoint : IVectorPoint <TPoint>
 {
     return(MakePoint <TPoint>(p.x, p.y));
 }
コード例 #3
0
 public static string ToGizmoString(this InspectableVectorPoint point)
 {
     return("(" + point.x + " " + point.y + ")");
 }