Back to project page model-explorer.
The source code is released under:
Apache License
If you think the Android project model-explorer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.etaoin.myopengltest.util.geometry; // ww w . ja v a 2 s.c om import java.util.ArrayList; import java.util.List; /** * Class representing a single face of a model. */ public class Face { protected List<Integer> vertexIndices = new ArrayList<Integer>(); protected List<Integer> normalIndices = new ArrayList<Integer>(); protected List<Integer> textureCoordinateIndices = new ArrayList<Integer>(); public void addVertex(int vertexIndex, int normalIndex, int textureCoordinateIndex) { vertexIndices.add(vertexIndex); normalIndices.add(normalIndex); textureCoordinateIndices.add(textureCoordinateIndex); } public List<Integer> getVertexIndices() { return vertexIndices; } }