示例#1
0
 public static Point4 ToVector4(this Point3 vector3, float w = 1.0f)
 {
     return(new Point4(vector3, w));
 }
示例#2
0
 public static Point XY(this Point3 point)
 {
     return(new Vector2(point.X, point.Y));
 }