com.uwsoft.editor.renderer.data.MeshVO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of overlap2d-runtime-libgdx Show documentation
Show all versions of overlap2d-runtime-libgdx Show documentation
overlap2d-runtime-libgdx provides functionality to load, manipulate and render scenes generated by Overlap2D.
package com.uwsoft.editor.renderer.data;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.scenes.scene2d.Actor;
public class MeshVO {
public Vector2 [][] minPolygonData;
public PhysicsBodyDataVO initialProperties;
public MeshVO clone() {
MeshVO newVo = new MeshVO();
Vector2 [][] target = new Vector2[minPolygonData.length][];
for (int i = 0; i < minPolygonData.length; i++) {
target[i] = new Vector2[minPolygonData[i].length];
for(int j=0;j