示例#1
0
文件: LDPoint.cs 项目: johndpope/math
 public bool isNull()
 {
     return(MathFunctions.uIsNull((float)xp) && MathFunctions.uIsNull((float)yp));
 }
示例#2
0
 public bool isNull()
 {
     return(MathFunctions.uIsNull(xp) && MathFunctions.uIsNull(yp));
 }
示例#3
0
文件: LDPoint.cs 项目: johndpope/math
 public static bool operator ==(LDPoint a, LDPoint b)
 {
     return((MathFunctions.uFuzzyIsNull(a.xp - b.xp)) && (a.yp == b.yp));
 }
示例#4
0
 public bool uFuzzyCompare(LDVector2 v1, LDVector2 v2)
 {
     return(MathFunctions.uFuzzyCompare(v1.xp, v2.xp) && MathFunctions.uFuzzyCompare(v1.yp, v2.yp));
 }