The vertex shader is used to transform the attributes of vertices (points of a triangle) such as color, texture, position and direction from the original color space to the display space.
The length and width of the rectangle are the base and perpendicular height of the triangle, they are at right-angles to each other. The area of the triangle is half of the base multiplied by the ...