The Vec3 type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Cross |
Calculates the cross product of two Vec3
| |
| dist |
Returns the length of the difference vector
| |
| dist2 |
Returns the Norm of the difference vector
| |
| Dot |
Calculates the dot product
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Length |
Returns the length of the Vec3
| |
| Length2 |
Calculates the length of the vector projected to the XY-Plane
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Norm |
Returns the norm of the Vec3
| |
| Normalize |
Normalizes the Vec3
| |
Prints the Vec3 to the console
| ||
| ToString | (Overrides Object..::..ToString()()()().) |