I am home and can post the promised topics from my book.
Note #1: I will not take a lot of time fixing the formatting, and images (and figures) will of course be missing. I don’t think you need them for your first attempt at an engine anyway.
Note #2: I want a clear separation between the topics I am posting from my book, including from this text as well. Each following post is a section of the book, and the separation between the posts makes the separation between the topics clear. It is not double-posting or spamming a topic, even though I will end up having 4 posts in a row in the same topic. I could have 1 gargantuan topic that no one would fully read, or, like with any long text, I can break it into multiple digestable parts.
Note #3: This was written for iOS, so the OS functions I use to get time will not work on Windows, but it is fairly straight-forward how to convert the code to have the same functionality.