This commit is contained in:
2025-05-13 03:19:28 +03:00
parent e2847b060d
commit 762dcf4524
784 changed files with 542617 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
using UnityEngine;
using System.Collections;
using System;
public struct Double3
{
public double x;
public double y;
public double z;
public Double3(double x, double y, double z)
{
this.x = x;
this.y = y;
this.z = z;
}
public double magnitude
{
get { return Math.Sqrt(x*x + y*y + z*z); }
}
public static Double3 zero
{
get { return new Double3(0, 0, 0); }
}
}