Package com.badlogic.gdx.utils

Examples of com.badlogic.gdx.utils.FloatArray.toArray()


          weights.add(input.readFloat() * scale);
          weights.add(input.readFloat());
        }
      }
      mesh.setBones(bones.toArray());
      mesh.setWeights(weights.toArray());
      mesh.setTriangles(triangles);
      mesh.setRegionUVs(uvs);
      mesh.updateUVs();
      Color.rgba8888ToColor(mesh.getColor(), input.readInt());
      mesh.setHullLength(input.readInt(true) * 2);
 
View Full Code Here


          weights.add(vertices[i + 3]);
          i += 4;
        }
      }
      mesh.setBones(bones.toArray());
      mesh.setWeights(weights.toArray());
      mesh.setTriangles(map.require("triangles").asShortArray());
      mesh.setRegionUVs(uvs);
      mesh.updateUVs();

      String color = map.getString("color", null);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.