[FIXED] dest is not used in Matrix3f.negate(Matrix3f dest)

Started by Jegorex, September 12, 2012, 00:57:59

Previous topic - Next topic

Jegorex

This is the negate method at the moment:
/**
	 * Negate this matrix and place the result in a destination matrix.
	 * @param dest The destination matrix, or null if a new matrix is to be created
	 * @return the negated matrix
	 */
	public Matrix3f negate(Matrix3f dest) {
		return negate(this, this);
	}


It should be
public Matrix3f negate(Matrix3f dest) {
		return negate(this, dest);
	}


Matrix2f and Matrix4f have the same problem.

kappa


Jegorex