Last active
June 14, 2018 13:12
-
-
Save BALUSANGEM/1544e2e3135d7e603aa64feb01be257d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void update(float[] modelMatrix) { | |
float[] scaleMatrix = new float[16]; | |
Matrix.setIdentityM(scaleMatrix, 0); | |
float SCALE_FACTOR = 1f; | |
scaleMatrix[0] = SCALE_FACTOR; | |
scaleMatrix[5] = SCALE_FACTOR; | |
scaleMatrix[10] = SCALE_FACTOR; | |
Matrix.multiplyMM(this.mModelMatrix, 0, modelMatrix, 0, scaleMatrix, 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment