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

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

Public Member Functions

 Vector2Double (double x, double y)
 
 Vector2Double (Vector2 vec)
 
override bool Equals (object value)
 
override string ToString ()
 
override int GetHashCode ()
 

Static Public Member Functions

static Vector2Double Round (Vector2Double vec, int decimals)
 
static double Magnitude (Vector2Double value)
 
static double Distance (Vector2Double vec1, Vector2Double vec2)
 
static Vector2Double Scale (Vector2Double vec1, Vector2 vec2)
 
static Vector2Double Scale (Vector2Double vec1, Vector2Double vec2)
 
static Vector2Double operator* (Vector2Double value1, Double value2)
 
static Vector2Double operator* (Vector2Double value1, Vector2Double value2)
 
static Vector2Double operator+ (Vector2Double value1, Vector2Double value2)
 
static Vector2Double operator+ (Vector2Double value1, Vector2 value2)
 
static Vector2Double operator+ (Vector2Double value1, Vector2Int value2)
 
static Vector2Double operator- (Vector2Double value1, Vector2Double value2)
 
static Vector2Double operator- (Vector2Double value1, Vector2 value2)
 
static Vector2Double operator- (Vector2Double value1, Vector2Int value2)
 
static Vector2Double operator- (Vector2Double value1)
 
static Vector2Double operator/ (Vector2Double value1, Double value2)
 
static bool operator== (Vector2Double value1, Vector2Double value2)
 
static Vector2Double operator% (Vector2Double value, double mod)
 
static bool operator!= (Vector2Double value1, Vector2Double value2)
 
static bool operator== (Vector2Double value1, Vector2 value2)
 
static bool operator!= (Vector2Double value1, Vector2 value2)
 
static implicit operator Vector2Double (Vector2 vec)
 
static implicit operator Vector2Double (Vector2Int vec)
 
static implicit operator Vector2Double (Vector3Double vec)
 
static implicit operator Vector2 (Vector2Double vec)
 
static implicit operator Vector2Double (Vector3 vec)
 
static Vector2Double Lerp (Vector2Double a, Vector2Double b, double t)
 
static Vector2Double Lerp (Vector2Double a, Vector2Double b, float t)
 
static Vector2Double Convert (Vector2 vec)
 

Public Attributes

double x
 
double y
 

Static Public Attributes

static Vector2Double zero = new Vector2Double()
 
static Vector2Double one = new Vector2Double(1, 1)
 
static Vector2Double minusOne = new Vector2Double(-1, -1)
 
static Vector2Double positiveInfinity = new Vector2Double(double.PositiveInfinity, double.PositiveInfinity)
 
static Vector2Double negativeInfinity = new Vector2Double(double.NegativeInfinity, double.NegativeInfinity)
 

Properties

Vector2Double normalized [get]
 

Detailed Description

A 64 bit double version of the Vector2.


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