Class to handle a 2-Dimensional vertex with an index and texture coordinates
More...
List of all members.
Public Member Functions |
| Vertex2 (short index, Vector2 pos, Vector2 coord) |
VertexPositionTexture | ToVertexPositionTexture () |
| create an xna VertexPositionTexture with a Vector2
|
Public Attributes |
short | Index |
Vector2 | Position |
Vector2 | TexCoord |
Detailed Description
Class to handle a 2-Dimensional vertex with an index and texture coordinates
Member Function Documentation
static Vertex2 Clv.Viewer.Math.Vertex2.Interpolate |
( |
Vertex2 |
a, |
|
|
Vertex2 |
b, |
|
|
float |
t, |
|
|
short |
newIndex = -1 |
|
) |
| |
|
static |
Interpolation of two given vectors
- Parameters:
-
a | first interpolation vector |
b | second interpolation vector |
t | interpolant |
newIndex | new Index if changed |
- Returns:
- interpolated vector
VertexPositionTexture Clv.Viewer.Math.Vertex2.ToVertexPositionTexture |
( |
| ) |
|
create an xna VertexPositionTexture with a Vector2
- Returns:
- the created VertexPositionTexture
The documentation for this class was generated from the following file:
- Clv/Clv.Viewer/Clv.Viewer/Math/Math.cs