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); }
}
}
+12
View File
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: ecb0fd455ffe87248b534063aeee87db
timeCreated: 1453113989
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+9
View File
@@ -0,0 +1,9 @@
using UnityEngine;
using System.Collections;
public static class Vector3Ex {
public static string ToStringEx(this Vector3 vector) {
return string.Format("X: {0} Y: {1} Z: {2}", vector.x, vector.y, vector.z);
}
}
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: c8ec0133cc1a7334fa456f8f0c671b40
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName: