LayerProcGen v0.1.0
Layer-based infinite procedural generation
Loading...
Searching...
No Matches
DPoint

Inherits IEquatable< DPoint >.

Public Member Functions

 DPoint (DFloat x, DFloat y)
 
bool Equals (DPoint other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static float Distance (DPoint a, DPoint b)
 
static DPoint Max (DPoint a, DPoint b)
 
static DPoint Min (DPoint a, DPoint b)
 
static implicit operator DPoint (Point p)
 
static operator Point (DPoint p)
 
static bool operator!= (DPoint a, DPoint b)
 
static DPoint operator* (DPoint a, int f)
 
static DPoint operator* (DPoint a, Point b)
 
static DPoint operator* (Point a, DPoint b)
 
static DPoint operator+ (DPoint a, DPoint b)
 
static DPoint operator- (DPoint a)
 
static DPoint operator- (DPoint a, DPoint b)
 
static DPoint operator/ (DPoint a, int f)
 
static bool operator== (DPoint a, DPoint b)
 

Public Attributes

DFloat x
 
DFloat y
 

Static Public Attributes

static DPoint one = new DPoint(1f, 1f)
 
static DPoint right = new DPoint(1f, 0f)
 
static DPoint up = new DPoint(0f, 1f)
 
static DPoint zero = new DPoint(0f, 0f)
 

Properties

DFloat[] array [get]
 
float magnitude [get]
 
DPoint3 oxy [get]
 
DFloat sqrMagnitude [get]
 
DFloat this[int index] [get, set]
 
DPoint3 xoy [get]
 
DPoint3 xyo [get]