Exemple #1
0
 public Vect4 ExteriorProduct(Vect4 v)
 {
     throw new NotImplementedException();
 }
Exemple #2
0
 public Vect4 Lerp(Vect4 end, double t)
 {
     return((1 - t) * this + t * end);
 }
Exemple #3
0
 public double DotProduct(Vect4 v)
 {
     return(X * v.X + Y * v.Y + Z * v.Z + W * v.W);
 }
Exemple #4
0
 protected bool Equals(Vect4 other)
 {
     return(X.NearlyEquals(other.X) && Y.NearlyEquals(other.Y) && Z.NearlyEquals(other.Z) && W.NearlyEquals(other.W));
 }