Loading files
using UnityEngine;
namespace Leap.Unity.Apps.Paint4.Halfedge {
public class Vertex {
public Vector3 position;
//public string name; // Useful for debugging.
public Vertex(float x, float y, float z) {
this.position = new Vector3(x, y, z);
}
public Vertex(Vector3 position) {
this.position = position;
}
public Halfedge halfedge;
public static Vertex Copy(Vertex v) {
return new Vertex(v.position);
}
}
}36cc7c005This file is pinned to the selected release. Download the original to open it in your design tool.