示例#1
0
 public static float AbsDot(Normal3D n1, Vector3D v2)
 {
     return(System.Math.Abs(Dot(n1, v2)));
 }
示例#2
0
 public static float Dot(Normal3D n1, Vector3D v2)
 {
     return((n1.X * v2.X) + (n1.Y * v2.Y) + (n1.Z * v2.Z));
 }
示例#3
0
 public static float AbsDot(Vector3D v1, Normal3D n2)
 {
     return(System.Math.Abs(Dot(v1, n2)));
 }
示例#4
0
 public static Vector3D Cross(Normal3D v1, Vector3D v2)
 {
     return(new Vector3D((v1.Y * v2.Z) - (v1.Z * v2.Y),
                         (v1.Z * v2.X) - (v1.X * v2.Z),
                         (v1.X * v2.Y) - (v1.Y * v2.X)));
 }
示例#5
0
 public static float Dot(Vector3D v1, Normal3D n2)
 {
     return((v1.X * n2.X) + (v1.Y * n2.Y) + (v1.Z * n2.Z));
 }
示例#6
0
文件: Vector3D.cs 项目: tgjones/nexus
 public static float Dot(Vector3D v1, Normal3D n2)
 {
     return (v1.X * n2.X) + (v1.Y * n2.Y) + (v1.Z * n2.Z);
 }
示例#7
0
文件: Vector3D.cs 项目: tgjones/nexus
 public static float Dot(Normal3D n1, Vector3D v2)
 {
     return (n1.X * v2.X) + (n1.Y * v2.Y) + (n1.Z * v2.Z);
 }
示例#8
0
文件: Vector3D.cs 项目: tgjones/nexus
 public static float AbsDot(Normal3D n1, Vector3D v2)
 {
     return System.Math.Abs(Dot(n1, v2));
 }
示例#9
0
文件: Vector3D.cs 项目: tgjones/nexus
 public static Vector3D Cross(Normal3D v1, Vector3D v2)
 {
     return new Vector3D((v1.Y * v2.Z) - (v1.Z * v2.Y),
         (v1.Z * v2.X) - (v1.X * v2.Z),
         (v1.X * v2.Y) - (v1.Y * v2.X));
 }
示例#10
0
文件: Normal3D.cs 项目: tgjones/nexus
 public static Normal3D Normalize(Normal3D v)
 {
     return v / v.Length();
 }
示例#11
0
文件: Vector3D.cs 项目: tgjones/nexus
 public static float AbsDot(Vector3D v1, Normal3D n2)
 {
     return System.Math.Abs(Dot(v1, n2));
 }
示例#12
0
文件: Normal3D.cs 项目: tgjones/nexus
 public static float Dot(Normal3D n1, Normal3D n2)
 {
     return (n1.X * n2.X) + (n1.Y * n2.Y) + (n1.Z * n2.Z);
 }
示例#13
0
文件: Normal3D.cs 项目: tgjones/nexus
 public static float AbsDot(Normal3D n1, Normal3D n2)
 {
     return System.Math.Abs(Dot(n1, n2));
 }
示例#14
0
 public static Normal3D Normalize(Normal3D v)
 {
     return(v / v.Length());
 }
示例#15
0
 public static float AbsDot(Normal3D n1, Normal3D n2)
 {
     return(System.Math.Abs(Dot(n1, n2)));
 }
示例#16
0
 public static float Dot(Normal3D n1, Normal3D n2)
 {
     return((n1.X * n2.X) + (n1.Y * n2.Y) + (n1.Z * n2.Z));
 }