From 9b302bd87174ccaa8a9d1209dcb5f0d6793b08a3 Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Sat, 12 Nov 2016 18:46:17 -0500 Subject: [PATCH] More proofreading --- manual.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/manual.md b/manual.md index 7c1f5ab9..39b738e1 100644 --- a/manual.md +++ b/manual.md @@ -140,7 +140,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ## 1. Getting started ### 1.1. Setup -GLM is a header-only library, and thus does not need to be compiled. To use GLM, merely include the `` header, which provides GLSL's mathematics functionality. +GLM is a header-only library, and thus does not need to be compiled. We can use GLM's implementation of GLSL's mathematics functionality by including the `` header. The library can also be installed with CMake, though the details of doing so will differ depending on the target build system. Features can also be included individually to shorten compilation times. @@ -176,10 +176,13 @@ To reduce compilation time, we can include ``, which forward-declar // Header file (forward declarations only) #include -// Source file (actual implementation) -#include +// At this point, we don't care what exactly makes up a vec2; that won't matter +// until we write this function's implementation. +glm::vec2 functionDeclaration(const glm::vec2& input); ``` +Precompiled headers will also be helpful, though are not covered by this manual. + ### 1.3. Example usage