diff options
| author | Ray <[email protected]> | 2017-02-16 00:50:02 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-02-16 00:50:02 +0100 |
| commit | 05cff44d0a9af5bcb41ddd0baa6b7693f6ac116b (patch) | |
| tree | df03c0caa9179c4026dd0b8e66d718f8ca9b4d61 /src/raymath.h | |
| parent | 1c364cc5074fe8abb482ed9985705eeb249b93ae (diff) | |
| download | raylib-05cff44d0a9af5bcb41ddd0baa6b7693f6ac116b.tar.gz raylib-05cff44d0a9af5bcb41ddd0baa6b7693f6ac116b.zip | |
Improved modules description -IN PROGRESS-
Working in modules configuration flags...
Diffstat (limited to 'src/raymath.h')
| -rw-r--r-- | src/raymath.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/raymath.h b/src/raymath.h index c073b72d..a2263f19 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -1,22 +1,23 @@ /********************************************************************************************** * -* raymath (header only file) +* raymath v1.0 - Some useful functions to work with Vector3, Matrix and Quaternions * -* Some useful functions to work with Vector3, Matrix and Quaternions +* CONFIGURATION: * -* You must: -* #define RAYMATH_IMPLEMENTATION -* before you include this file in *only one* C or C++ file to create the implementation. +* #define RAYMATH_IMPLEMENTATION +* Generates the implementation of the library into the included file. +* If not defined, the library is in header only mode and can be included in other headers +* or source files without problems. But only ONE file should hold the implementation. * -* Example: -* #define RAYMATH_IMPLEMENTATION -* #include "raymath.h" +* #define RAYMATH_EXTERN_INLINE +* Inlines all functions code, so it runs faster. This requires lots of memory on system. +* +* #define RAYMATH_STANDALONE +* Avoid raylib.h header inclusion in this file. +* Vector3 and Matrix data types are defined internally in raymath module. * -* You can also use: -* #define RAYMATH_EXTERN_INLINE // Inlines all functions code, so it runs faster. -* // This requires lots of memory on system. -* #define RAYMATH_STANDALONE // Not dependent on raylib.h structs: Vector3, Matrix. * +* LICENSE: zlib/libpng * * Copyright (c) 2015 Ramon Santamaria (@raysan5) * |
