diff --git a/manual.md b/manual.md index 1434df92..7c1f5ab9 100644 --- a/manual.md +++ b/manual.md @@ -142,8 +142,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 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. - -Core GLM features can be included using individual headers to allow faster user program compilations. +Features can also be included individually to shorten compilation times. ```cpp #include // vec2, bvec2, dvec2, ivec2 and uvec2 @@ -169,9 +168,9 @@ Core GLM features can be included using individual headers to allow faster user ``` ### 1.2. Faster compilation -GLM makes heavy use of C++ templates, which may significantly increase the compile time for projects that use GLM. Hence, source files should only include the GLM headers they actually use. +GLM uses C++ templates heavily, and may significantly increase compilation times for projects that use it. Hence, source files should only include the headers they actually use. -To further reduce compilation time, include ``, which provides forward declarations of all types should their full definitions not be needed. +To reduce compilation time, we can include ``, which forward-declares all types should their definitions not be needed. ```cpp // Header file (forward declarations only) @@ -207,7 +206,7 @@ glm::mat4 transform(glm::vec2 const& Orientation, glm::vec3 const& Translate, gl ### 1.4. Dependencies -GLM does not depend on external libraries or external headers such as ``, [``](http://www.opengl.org/registry/api/GL/glcorearb.h), ``, ``, or ``. However, if `` is included, then [`Boost.StaticAssert`](http://www.boost.org/doc/libs/release/libs/static_assert) will be used to provide compile-time errors. Otherwise, if using a C++11 compiler, the standard `static_assert` will be used instead. If neither is available, GLM will use its own implementation of `static_assert`. +GLM does not depend on external libraries or headers such as ``, [``](http://www.opengl.org/registry/api/GL/glcorearb.h), ``, ``, or ``. However, if we include ``, then [`Boost.StaticAssert`](http://www.boost.org/doc/libs/release/libs/static_assert) will be used to provide compile-time errors. Otherwise, if using a C++11 compiler, the standard `static_assert` will be used instead. If neither is available, GLM will use its own implementation of `static_assert`. --- ## 2. Swizzle operators