public PositionTexture ( Vector3 vertex, System.Vector2 texture ) : System | ||
vertex | Vector3 | |
texture | System.Vector2 | |
Результат | System |
public PositionTexture(Vector3 vertex, Vector2 texture)
{
this.x = vertex.X;
this.y = vertex.Y;
this.z = vertex.Z;
this.s = texture.X;
this.t = texture.Y;
}
PositionTexture::PositionTexture ( float x, float y, float z, float s, float t ) : System |