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