Method | Description | |
---|---|---|
AddTriangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void |
The add triangle.
|
|
Draw ( Vector2 transform ) : void |
Draws the specified transform.
|
|
Triangle ( PrimitiveBatch primitiveBatch ) : System.Collections.Generic |
Initializes a new instance of the Triangle class.
|
public AddTriangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void | ||
x1 | float | The x 1. |
y1 | float | The y 1. |
x2 | float | The x 2. |
y2 | float | The y 2. |
x3 | float | The x 3. |
y3 | float | The y 3. |
return | void |
public Draw ( Vector2 transform ) : void | ||
transform | Vector2 | The transform. |
return | void |
public Triangle ( PrimitiveBatch primitiveBatch ) : System.Collections.Generic | ||
primitiveBatch | PrimitiveBatch | The primitive batch. |
return | System.Collections.Generic |