Пример #1
0
 /// <summary>
 /// Constructs a new instance from the given Vector4d.
 /// </summary>
 /// <param name="v">The Vector4d to copy components from.</param>
 public Vector3d(Vector4d v)
 {
     X = v.X;
     Y = v.Y;
     Z = v.Z;
 }
Пример #2
0
 /// <summary>
 /// Constructs a new instance.
 /// </summary>
 /// <param name="row0">Top row of the matrix</param>
 /// <param name="row1">Second row of the matrix</param>
 /// <param name="row2">Bottom row of the matrix</param>
 public Matrix3x4d(Vector4d row0, Vector4d row1, Vector4d row2)
 {
     Row0 = row0;
     Row1 = row1;
     Row2 = row2;
 }