All code samples, unless explicitly stated otherwise, are licensed under the terms of the CC BY-NC 4.0 license as published by Creative Commons, either version 4 of the License, or (at your option) any later version.
See https://learnopengl.com/ about for more information.
Did some modification on the contents in the header files and the source files. The original contents can be found in here.