# Learning the basics of 3D graphics

We want to save our world in 5000 AD, and we have very little time. So, let's quickly jump into the code and understand the basics along with it.

## Understanding mesh, polygon, and vertices

A model in a 3D game is called a
**mesh**. Each facet in a mesh is called a **polygon**. A polygon is made up of three or more corners, and each corner is called a **vertex**. The objective of the code provided in this chapter is to render a basic primitive quad. The code creates a mesh with a single polygon and the polygon has four vertices. A polygon with four vertices will form a quad. Each vertex is denoted by a location on the screen. A location on the screen can be represented by using 2 or 3 axes. Each location is defined by using ...