Beispiel #1
0
 private static double dot(Grad g, double x, double y, double z)
 {
     return(g.x * x + g.y * y + g.z * z);
 }
Beispiel #2
0
 private static double dot(Grad g, double x, double y, double z, double w)
 {
     return(g.x * x + g.y * y + g.z * z + g.w * w);
 }
Beispiel #3
0
 private static double dot(Grad g, double x, double y)
 {
     return(g.x * x + g.y * y);
 }