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

Commit b3b89f63 authored by Alex Sakhartchouk's avatar Alex Sakhartchouk
Browse files

Fixing a bug in the load function.

Change-Id: Ie5e72836dec7f77d42c8cb9afb8c3d5591ff35a7
parent 7f2b6c27
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) {