Depiction Engine For Unity 2023.0 (Alpha)
Loading...
Searching...
No Matches
DepictionEngine.Vector3Double Struct Reference

A 64 bit double version of the Vector3. More...

Public Member Functions

 Vector3Double (double x, double y, double z)
 
 Vector3Double (double x, double y)
 
void Normalize ()
 
override bool Equals (object value)
 
bool Equals (Vector3Double other)
 
int CompareTo (Vector3Double other)
 
int CompareTo (object other)
 
string ToString (string format)
 
override string ToString ()
 
override int GetHashCode ()
 

Static Public Member Functions

static Vector3Double Reflect (Vector3Double inDirection, Vector3Double inNormal)
 
static Vector3Double Cross (Vector3Double vec1, Vector3Double vec2)
 
static double Dot (Vector3Double vec1, Vector3Double vec2)
 
static Vector3Double Round (Vector3Double vec, int decimals)
 
static double Magnitude (Vector3Double value)
 
static Vector3Double Normalize (Vector3Double value)
 
static double Distance (Vector3Double vec1, Vector3Double vec2)
 
static double Angle (Vector3Double from, Vector3Double to)
 
static double SignedAngle (Vector3Double from, Vector3Double to, Vector3Double axis)
 
static Vector3Double Scale (Vector3Double value1, Vector3Double value2)
 
static Vector3Double Scale (Vector3Double value1, Vector3 value2)
 
static Vector3Double operator* (Quaternion rotation, Vector3Double point)
 
static Vector3Double operator* (Vector3Double value, Matrix4x4Double matrix)
 
static Vector3Double operator* (Matrix4x4Double matrix, Vector3Double value)
 
static Vector3Double operator* (double value1, Vector3Double value2)
 
static Vector3Double operator* (Vector3Double value1, double value2)
 
static Vector3Double operator* (Vector3Double value1, Vector3Double value2)
 
static Vector3Double operator+ (Vector3Double value1, Vector3Double value2)
 
static Vector3Double operator+ (Vector3Double value1, Vector3 value2)
 
static Vector3Double operator+ (Vector3Double value1, Vector2Double value2)
 
static Vector3Double operator- (Vector3Double value1, Vector3Double value2)
 
static Vector3Double operator- (Vector3Double value1, Vector3 value2)
 
static Vector3Double operator- (Vector3Double value1)
 
static Vector3Double operator/ (Vector3Double value1, double value2)
 
static Vector3Double operator/ (Vector3Double value, Vector3Double value2)
 
static Vector3Double operator/ (Vector3Double value, Vector3 value2)
 
static bool operator== (Vector3Double value1, Vector3Double value2)
 
static Vector3Double operator% (Vector3Double value, double mod)
 
static bool operator!= (Vector3Double value1, Vector3Double value2)
 
static bool operator== (Vector3Double value1, Vector3 value2)
 
static bool operator!= (Vector3Double value1, Vector3 value2)
 
static implicit operator Vector3Double (Vector2Double vec)
 
static implicit operator Vector3Double (Vector2 vec)
 
static implicit operator Vector3Double (Vector3 vec)
 
static implicit operator Vector3 (Vector3Double vec)
 
static Vector3Double Lerp (Vector3Double a, Vector3Double b, double t)
 
static Vector3Double Lerp (Vector3Double a, Vector3Double b, float t)
 

Public Attributes

double x
 
double y
 
double z
 

Static Public Attributes

static readonly Vector3Double zero = new()
 
static readonly Vector3Double one = new(1.0d, 1.0d, 1.0d)
 
static readonly Vector3Double up = new(0.0d, 1.0d, 0.0d)
 
static readonly Vector3Double down = new(0.0d, -1.0d, 0.0d)
 
static readonly Vector3Double forward = new(0.0d, 0.0d, 1.0d)
 
static readonly Vector3Double back = new(0.0d, 0.0d, -1.0d)
 
static readonly Vector3Double right = new(1.0d, 0.0d, 0.0d)
 
static readonly Vector3Double left = new(-1.0d, 0.0d, 0.0d)
 
static readonly Vector3Double positiveInfinity = new(double.PositiveInfinity, double.PositiveInfinity, double.PositiveInfinity)
 
static readonly Vector3Double negativeInfinity = new(double.NegativeInfinity, double.NegativeInfinity, double.NegativeInfinity)
 
const double kEpsilonNormalSqrt = 1e-15d
 

Properties

double this[int index] [get, set]
 
Vector3Double normalized [get]
 
double magnitude [get]
 
double sqrMagnitude [get]
 

Detailed Description

A 64 bit double version of the Vector3.


The documentation for this struct was generated from the following file: