Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import android.util.Log;

public class Main {
    private static final String TAG = "VRUtil";

    public static void printMatrix(float[] m) {
        Log.d(TAG, "printMatrix");
        Log.d(TAG, String.format("%f, %f, %f, %f", m[0], m[1], m[2], m[3]));
        Log.d(TAG, String.format("%f, %f, %f, %f", m[4], m[5], m[6], m[7]));
        Log.d(TAG, String.format("%f, %f, %f, %f", m[8], m[9], m[10], m[11]));
        Log.d(TAG, String.format("%f, %f, %f, %f", m[12], m[13], m[14], m[15]));
    }
}