Przeglądaj źródła

Add pthread external library to source...

and add instructions in physac examples to run it successful.
pull/131/head
victorfisac 8 lat temu
rodzic
commit
1a8fbe5cf0
4 zmienionych plików z 11 dodań i 1 usunięć
  1. +2
    -1
      .gitignore
  2. +4
    -0
      examples/physics_basic_rigidbody.c
  3. +5
    -0
      examples/physics_forces.c
  4. BIN
      src/external/pthread/pthreadGC2.dll

+ 2
- 1
.gitignore Wyświetl plik

@ -72,4 +72,5 @@ src/libraylib.bc
# external libraries DLLs
!src/external/glfw3/lib/win32/glfw3.dll
!src/external/openal_soft/lib/win32/OpenAL32.dll
!src/external/OculusSDK/LibOVR/LibOVRRT32_1.dll
!src/external/OculusSDK/LibOVR/LibOVRRT32_1.dll
!src/external/pthread/pthreadGC2.dll

+ 4
- 0
examples/physics_basic_rigidbody.c Wyświetl plik

@ -5,6 +5,10 @@
* This example has been created using raylib 1.5 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
*
* Compile example using:
* cmd /c IF NOT EXIST pthreadGC2.dll copy C:\raylib\raylib\src\external\pthread\pthreadGC2.dll $(CURRENT_DIRECTORY) /Y
*
* Copyright (c) 2016 Victor Fisac and Ramon Santamaria (@raysan5)
*
********************************************************************************************/

+ 5
- 0
examples/physics_forces.c Wyświetl plik

@ -5,6 +5,11 @@
* This example has been created using raylib 1.5 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
* NOTE: This example requires raylib module [rlgl]
*
* Compile example using:
* cmd /c IF NOT EXIST pthreadGC2.dll copy C:\raylib\raylib\src\external\pthread\pthreadGC2.dll $(CURRENT_DIRECTORY) /Y
*
* Copyright (c) 2016 Victor Fisac and Ramon Santamaria (@raysan5)
*
********************************************************************************************/

BIN
src/external/pthread/pthreadGC2.dll Wyświetl plik


Ładowanie…
Anuluj
Zapisz