/// <summary> /// Compute the transpose of this OrthoProjectionMatrix. /// </summary> /// <returns> /// A <see cref="OrthoProjectionMatrix"/> which hold the transpose of this OrthoProjectionMatrix. /// </returns> public new OrthoProjectionMatrix Transpose() { OrthoProjectionMatrix transpose = new OrthoProjectionMatrix(); // Transpose matrix for (uint c = 0; c < 4; c++) { for (uint r = 0; r < 4; r++) { transpose[r, c] = this[c, r]; } } return(transpose); }
/// <summary> /// Compute the transpose of this OrthoProjectionMatrix. /// </summary> /// <returns> /// A <see cref="OrthoProjectionMatrix"/> which hold the transpose of this OrthoProjectionMatrix. /// </returns> public new OrthoProjectionMatrix Transpose() { OrthoProjectionMatrix transpose = new OrthoProjectionMatrix(); // Transpose matrix for (uint c = 0; c < 4; c++) for (uint r = 0; r < 4; r++) transpose[r, c] = this[c, r]; return (transpose); }
/// <summary> /// OrthoProjectionMatrix copy constructor. /// </summary> /// <param name="m"> /// A <see cref="OrthoProjectionMatrix"/> to be copied. /// </param> public OrthoProjectionMatrix(OrthoProjectionMatrix m) : base(m) { }