コード例 #1
0
ファイル: FixVector4.cs プロジェクト: mengtest/FrameAlignment
 /// <summary>
 /// Calculates the dot product of two vectors.
 /// </summary>
 /// <param name="value1">The first vector.</param>
 /// <param name="value2">The second vector.</param>
 /// <returns>Returns the dot product of both.</returns>
 #region public static Fix64 operator *(JVector value1, JVector value2)
 public static Fix64 operator *(FixVector4 value1, FixVector4 value2)
 {
     return(FixVector4.Dot(ref value1, ref value2));
 }
コード例 #2
0
ファイル: FixVector4.cs プロジェクト: mengtest/FrameAlignment
 /// <summary>
 /// Calculates the dot product of two vectors.
 /// </summary>
 /// <param name="vector1">The first vector.</param>
 /// <param name="vector2">The second vector.</param>
 /// <returns>Returns the dot product of both vectors.</returns>
 #region public static Fix64 Dot(JVector vector1, JVector vector2)
 public static Fix64 Dot(FixVector4 vector1, FixVector4 vector2)
 {
     return(FixVector4.Dot(ref vector1, ref vector2));
 }