/** * Constructor instantiates a new <code>Matrix</code> that is set to the * provided matrix. This constructor copies a given Matrix. If the provided * matrix is null, the constructor sets the matrix to the identity. * * @param mat * the matrix to copy. */ public Matrix4f(Matrix4f mat) { copy(mat); }
this.value = new Matrix4f(m4); } else { ((Matrix4f)this.value).copy(m4);
/** * Constructor instantiates a new <code>Matrix</code> that is set to the * provided matrix. This constructor copies a given Matrix. If the provided * matrix is null, the constructor sets the matrix to the identity. * * @param mat * the matrix to copy. */ public Matrix4f(Matrix4f mat) { copy(mat); }
/** * Constructor instantiates a new <code>Matrix</code> that is set to the * provided matrix. This constructor copies a given Matrix. If the provided * matrix is null, the constructor sets the matrix to the identity. * * @param mat * the matrix to copy. */ public Matrix4f(Matrix4f mat) { copy(mat); }
this.value = new Matrix4f(m4); } else { ((Matrix4f)this.value).copy(m4);