Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.opengl.Matrix;

public class Main {
    public static float[] multMatrixVector(float[] m1, float[] m2) {
        // TODO
        float[] m3 = new float[4];
        float[] m1i = new float[16];
        Matrix.transposeM(m1i, 0, m1, 0);

        Matrix.multiplyMV(m3, 0, m1i, 0, m2, 0);

        return m3;
    }
}