Alternative usage to `typedef` in C

Variable length array(in runtime) and Typedef array type GNU C's variable array declaration is very convenient, instead of int *a; then use malloc(sizeof(int) * size) then copy data with memcpy(3 steps required), you can directly code with int...

View Matrix for projection

The MVP Matrix \(\text{Model} * \text{View} * \text{Projection}\) is the first lesson to render (the so called render is the process so that people can see it on a 2D screen )objects in Computer Graphics, which transfer a 3D object in object...

The CMake ExternalProject module

When you need a external project Everyone knows not to write everything your own. But there are those you can install by apt-get, those you cannot. messing up with your /usr/local/ directory is not a long term solution, especially when you just...