diff options
| author | Ray <[email protected]> | 2017-03-05 15:49:19 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-03-05 15:49:19 +0100 |
| commit | bb7b9adb371f89f3c8677bdca5418013fe73d9c1 (patch) | |
| tree | 99f1dd9b8c42afb190dc30937dfe2ccc3458ff77 /src/raymath.h | |
| parent | b16f11845259205b484c3633b9b9375a69a917ae (diff) | |
| parent | 203d1a154eb5b78fc5f56e9dead04c3a89bcd39e (diff) | |
| download | raylib-bb7b9adb371f89f3c8677bdca5418013fe73d9c1.tar.gz raylib-bb7b9adb371f89f3c8677bdca5418013fe73d9c1.zip | |
Merge pull request #236 from raysan5/develop
Integrate Develop branch
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) * |
