Пример #1
0
 /// <summary>
 /// Adds two instances.
 /// </summary>
 /// <param name="left">The left operand of the addition.</param>
 /// <param name="right">The right operand of the addition.</param>
 /// <param name="result">A new instance that is the result of the addition.</param>
 public static void Add(ref Matrix3 left, ref Matrix3 right, out Matrix3 result)
 {
     Vector3.Add(ref left.Row0, ref right.Row0, out result.Row0);
     Vector3.Add(ref left.Row1, ref right.Row1, out result.Row1);
     Vector3.Add(ref left.Row2, ref right.Row2, out result.Row2);
 }