diff options
| author | victorfisac <[email protected]> | 2017-03-06 22:57:33 +0100 |
|---|---|---|
| committer | victorfisac <[email protected]> | 2017-03-06 22:57:33 +0100 |
| commit | c964559bc966292a7d70f00559ea80c224aab96d (patch) | |
| tree | cf4ab9db7dc77f30bba3f3f2280c774fce4bdd7e /src/physac.h | |
| parent | f88a94341891b1969ba58dd7ab88e6b3c69cabf2 (diff) | |
| download | raylib-c964559bc966292a7d70f00559ea80c224aab96d.tar.gz raylib-c964559bc966292a7d70f00559ea80c224aab96d.zip | |
Update physac source and examples with new changes
Diffstat (limited to 'src/physac.h')
| -rw-r--r-- | src/physac.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/physac.h b/src/physac.h index a6b529bc..ff56615d 100644 --- a/src/physac.h +++ b/src/physac.h @@ -38,13 +38,20 @@ * You can define your own malloc/free implementation replacing stdlib.h malloc()/free() functions. * Otherwise it will include stdlib.h and use the C standard library malloc()/free() function. * +* +* NOTE: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations. +* +* Use the following code to compile (-static -lpthread): +* gcc -o $(NAME_PART).exe $(FILE_NAME) -s $(RAYLIB_DIR)\raylib\raylib_icon -static -lraylib -lpthread +* -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm -std=c99 -Wl,--subsystem,windows -Wl,-allow-multiple-definition +* * VERY THANKS TO: * Ramón Santamaria (@raysan5) * * * LICENSE: zlib/libpng * -* Copyright (c) 2016 Victor Fisac +* Copyright (c) 2017 Victor Fisac * * This software is provided "as-is", without any express or implied warranty. In no event * will the authors be held liable for any damages arising from the use of this software. |
