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[] initViewMatrix() {
        float[] matrix = new float[16];
        Matrix.setLookAtM(matrix, 0, 0f, 0f, 200f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f);
        return matrix;
    }
}