using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[Serializable]
public class MeshPoint
{
///
/// 坐标点
///
public Vector3 position;
///
/// 控制点 与坐标点形成切线
///
public Vector3 normail;
//相对路线的相对距离
public float currentDistance;
public MeshPoint(Vector3 position, Vector3 normail,float currentDistance)
{
this.position = position;
this.normail = normail;
this.currentDistance = currentDistance;
}
public void SetCurrentDistance(float distance)
{
this.currentDistance = distance;
}
}