All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.uwsoft.editor.renderer.data.ShapeVO Maven / Gradle / Ivy

Go to download

overlap2d-runtime-libgdx provides functionality to load, manipulate and render scenes generated by Overlap2D.

The newest version!
package com.uwsoft.editor.renderer.data;

import com.badlogic.gdx.math.Circle;
import com.badlogic.gdx.math.Vector2;

public class ShapeVO {
	public Vector2 [][] polygons;
    public Circle[] circles;

    public ShapeVO clone() {
        ShapeVO newVo = new ShapeVO();
        Vector2 [][] target = new Vector2[polygons.length][];

        for (int i = 0; i < polygons.length; i++) {
            target[i] = new Vector2[polygons[i].length];
            for(int j=0;j




© 2015 - 2024 Weber Informatics LLC | Privacy Policy