raylib/examples
Ahmad Fatoum 6ffc8cb799
raymath.h: Use C99 inline semantics
RAYMATH_EXTERN_INLINE was renamed to RAYMATH_HEADER_ONLY, which user code
may define if they want to use it as header-only library. If multiple
files in the same project define RAYMATH_HEADER_ONLY, they might each
have duplicate out-of-line definitions of the same functions.

By default, raymath.h exposes inline definitions, which instructs the
compiler _not_ to generate out-of-line definitons, if out-of-line
definitions are required, those of the file defined with
RAYLIB_IMPLEMENTATION are used instead. There may be only one such file.

In C++ mode, the compiler will select only one out-of-line definition
automatically, so no need to define a RAYLIB_IMPLEMENTATION.

Unfortunately, we have to remove raymath function declaration from
raylib.h as those declarations would lead to duplicate out-of-line
definitions which would yield linker errors. This problem didn't
exist with GNU89 or C++, because there multiple defintions are ok,
but in C99 they aren't.
2018-02-24 15:37:37 +01:00
..
audio Working on examples... 2017-04-08 23:31:58 +02:00
core Update example 2017-10-20 13:59:08 +02:00
models raymath.h: Use C99 inline semantics 2018-02-24 15:37:37 +01:00
others Build examples and games on Travis CI 2017-11-25 21:45:31 +01:00
physac Added physac examples to web 2017-04-17 17:25:27 +02:00
shaders Review default shaders usage on loading 2017-11-12 10:33:44 +01:00
shapes Corrected issues on examples 2017-10-14 00:11:37 +02:00
text Reviewed text input 2017-12-31 23:50:22 +01:00
textures Reviewed function GenImagePerlinNoise() 2018-01-17 00:43:30 +01:00
CMakeLists.txt CMake: build shape and texture examples (#432) 2018-01-17 20:14:14 +01:00
Makefile Removed flag -fgnu89-inline 2018-02-21 23:28:34 +01:00