/** * <code>get</code> retrieves the values of this object into * a float array in row-major order. * * @param matrix * the matrix to set the values into. */ public void get(float[] matrix) { get(matrix, true); }
/** * Writes the value to the data buffer. * * @param data the data buffer. * @param value the value. */ protected void write(final ByteBuffer data, final Matrix4f value) { write(data, value.get(0, 0), value.get(1, 0), value.get(2, 0), value.get(3, 0)); write(data, value.get(0, 1), value.get(1, 1), value.get(2, 1), value.get(3, 1)); write(data, value.get(0, 2), value.get(1, 2), value.get(2, 2), value.get(3, 2)); write(data, value.get(0, 3), value.get(1, 3), value.get(2, 3), value.get(3, 3)); }
public Matrix4f transpose() { float[] tmp = new float[16]; get(tmp, true); Matrix4f mat = new Matrix4f(tmp); return mat; }
/** * <code>get</code> retrieves the values of this object into * a float array in row-major order. * * @param matrix * the matrix to set the values into. */ public void get(float[] matrix) { get(matrix, true); }
/** * <code>get</code> retrieves the values of this object into * a float array in row-major order. * * @param matrix * the matrix to set the values into. */ public void get(float[] matrix) { get(matrix, true); }
public Matrix4f transpose() { float[] tmp = new float[16]; get(tmp, true); Matrix4f mat = new Matrix4f(tmp); return mat; }
public Matrix4f transpose() { float[] tmp = new float[16]; get(tmp, true); Matrix4f mat = new Matrix4f(tmp); return mat; }