// Path: gltoolkit/src/main/java/com/quan404/gltoolkit/Constants.java
// public class Constants {
//     public static final int BYTES_PER_FLOAT = 4;
// }


import android.opengl.GLES20;
import com.quan404.gltoolkit.Constants;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
package com.quan404.gltoolkit.data;



/**
 * Created by quanhua on 05/01/2016.
 */
public class VertexArray {
    private final FloatBuffer floatBuffer;


    public VertexArray(float[] vertexData){
// Path: gltoolkit/src/main/java/com/quan404/gltoolkit/Constants.java
// public class Constants {
//     public static final int BYTES_PER_FLOAT = 4;
// }


// Path: gltoolkit/src/main/java/com/quan404/gltoolkit/data/VertexArray.java
import android.opengl.GLES20;
import com.quan404.gltoolkit.Constants;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;

package com.quan404.gltoolkit.data;



/**
 * Created by quanhua on 05/01/2016.
 */
public class VertexArray {
    private final FloatBuffer floatBuffer;


    public VertexArray(float[] vertexData){
        floatBuffer =ByteBuffer.allocateDirect(vertexData.length * Constants.BYTES_PER_FLOAT)