Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24b5fa48 authored by Alex Sakhartchouk's avatar Alex Sakhartchouk Committed by Android (Google) Code Review
Browse files

Merge "Fixing a bug in the load function."

parents d07c9d5d b3b89f63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ public class Matrix2f {
    }

    public void load(Matrix2f src) {
        System.arraycopy(mMat, 0, src.getArray(), 0, 4);
        System.arraycopy(src.getArray(), 0, mMat, 0, mMat.length);
    }

    public void loadRotate(float rot) {
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ public class Matrix3f {
    }

    public void load(Matrix3f src) {
        System.arraycopy(mMat, 0, src.getArray(), 0, 9);
        System.arraycopy(src.getArray(), 0, mMat, 0, mMat.length);
    }

    public void loadRotate(float rot, float x, float y, float z) {
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ public class Matrix4f {
    }

    public void load(Matrix4f src) {
        System.arraycopy(mMat, 0, src.getArray(), 0, 16);
        System.arraycopy(src.getArray(), 0, mMat, 0, mMat.length);
    }

    public void loadRotate(float rot, float x, float y, float z) {