public void populateVertices(NodeList nList, Vector3f[] vertices, Vector3f[] normals){
		for (int temp = 0; temp < nList.getLength(); temp++) {
			Node oNode = nList.item(temp);

			if (oNode.getNodeType() == Node.ELEMENT_NODE) {

				NodeList oList = oNode.getChildNodes();

				int oLength = oList.getLength();

				float xVal=0,yVal=0,zVal=0;
                                float nxVal=0,nyVal=0,nzVal=0;

				for(int i=0;i<oLength;i++){
					Node pNode = oList.item(i);
					String pName = pNode.getNodeName();
					if(pName == "coordinates"){
						Element eElement = (Element) pNode;
						xVal = Float.parseFloat(getTagValue("x", eElement));
						yVal = Float.parseFloat(getTagValue("y", eElement));
						zVal = Float.parseFloat(getTagValue("z", eElement));
						vertices[temp] = new Vector3f(xVal, yVal, zVal);
					}
					if(pName == "normal"){
						Element eElement = (Element) pNode;
						nxVal = Float.parseFloat(getTagValue("nx", eElement));
						nyVal = Float.parseFloat(getTagValue("ny", eElement));
						nzVal = Float.parseFloat(getTagValue("nz", eElement));
                                                normals[temp] = new Vector3f(xVal, yVal, zVal);
					}                                        
				}
			}
		}

	}