Triangle
Struct in Zigurous.Graphics
Implements IEquatable<T>
Declaration
[Serializable]
public struct Triangle
Description
A data structure of a mesh triangle comprised of 3 verticies.
Properties
v1 | The first vertex of the triangle. |
v2 | The second vertex of the triangle. |
v3 | The third vertex of the triangle. |
Item[int] | Gets or sets a vertex of the triangle at the given index. |
Constructors
Triangle | Creates a new triangle with the specified verticies. |
Methods
Equals | Determines if the triangle is equal to another triangle. |
GetHashCode | Returns the hash code of the triangle. |
ToString | Converts the triangle to a string. |
Operators
Equality | Determines if two triangles are equal. |
Inequality | Determines if two triangles are not equal. |