mercredi 18 mars 2015

Matrix scaling in place



currently I am working with OpenGl ES 2.0 and I would like to scale a matrix. I am scaling it using Matrix.scaleM(viewMatrix, 0, xAmt, yAmt, 1f) and then multiplying that by the location vector, but every time I call scale the entire matrix gets translated, and I am wondering how I could scale the matrix but keep the matrix in place, not shifting over. Thanks




Aucun commentaire:

Enregistrer un commentaire