×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: ActionScript
Posted by: jthort th
Added: Apr 21, 2015 2:51 AM
Views: 2
Tags: no tags
  1. /* float[] vertices = mesh.getVertexData(); //done
  2.         int[] indices = mesh.getIndices();
  3.         float[] normals = mesh.getNormalsData();
  4.         float[] textureCoordinates = mesh.getTextureCoordsData();
  5.  
  6.         TexturedModel model = new TexturedModel(vertices, textureCoordinates, indices, normals, image, gameEngine);
  7.         model.prepare();
  8.         model.addEntity(new Vector3f(0, 0, 0), image);
  9.          
  10.         return model;*/