graph chart引入&骑行结果弹窗

This commit is contained in:
lishuo committed 2021-04-22 19:29:59 +08:00
1 parent 40d118cea3
commit 96f3644b5b
2374 files changed
+485161 -2410

No files matched your search

@@ -0,0 +1,36 @@
#define Graph_And_Chart_PRO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace ChartAndGraph
{
public class DoubleVector4
{
public double x, y, z, w;
public DoubleVector4(double _x,double _y,double _z,double _w)
{
x = _x;
y = _y;
z = _z;
w = _w;
}
public Vector4 ToVector4()
{
return new Vector4((float)x, (float)y, (float)z,(float)w);
}
public Vector3 ToVector3()
{
return new Vector3((float)x, (float)y, (float)z);
}
public DoubleVector3 ToDoubleVector3()
{
return new DoubleVector3(x, y, z);
}
}
}