Dungeon Architect  17.0.0
DungeonArchitect.IntVector Struct Reference

Represent an integer vector More...

Public Member Functions

 IntVector (Vector3 v)
 
 IntVector (int x, int y, int z)
 
void Set (int x, int y, int z)
 
float DistanceSq ()
 
float Distance ()
 
Vector3 ToVector3 ()
 
override bool Equals (System.Object obj)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static IntVector operator+ (IntVector a, IntVector b)
 
static IntVector operator- (IntVector a, IntVector b)
 
static IntVector operator* (IntVector a, IntVector b)
 
static Vector3 operator* (IntVector a, Vector3 b)
 
static IntVector operator/ (IntVector a, IntVector b)
 
static IntVector operator+ (IntVector a, int b)
 
static IntVector operator- (IntVector a, int b)
 
static IntVector operator* (IntVector a, int b)
 
static IntVector operator/ (IntVector a, int b)
 
static bool operator== (IntVector a, IntVector b)
 
static bool operator!= (IntVector a, IntVector b)
 
static Vector3 ToV3 (IntVector iv)
 

Public Attributes

int x
 
int y
 
int z
 

Static Public Attributes

static readonly IntVector Zero = new IntVector(0, 0, 0)
 

Detailed Description

Represent an integer vector

Definition at line 11 of file IntVector.cs.


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