Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into bullet
  • Loading branch information
devshgraphicsprogramming committed Jun 7, 2019
2 parents 589ce2f + f503938 commit e47d18b
Show file tree
Hide file tree
Showing 20 changed files with 953 additions and 236 deletions.
20 changes: 4 additions & 16 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
[submodule "3rdparty/libjpeg"]
path = 3rdparty/libjpeg
url = https://github.com/LuaDist/libjpeg.git
[submodule "3rdparty/bullet3"]
path = 3rdparty/bullet3
url = https://github.com/bulletphysics/bullet3.git
[submodule "examples_tests/media/cegui_alfisko"]
path = examples_tests/media/cegui_alfisko
url = https://gitlab.com/InnerPieceOSS/cegui_alfisko.git
Expand All @@ -55,34 +58,19 @@
path = 3rdparty/portable-file-dialogs
url = https://github.com/samhocevar/portable-file-dialogs.git
[submodule "3rdparty/libexpat"]

path = 3rdparty/libexpat

url = https://github.com/libexpat/libexpat.git

branch = master

[submodule "3rdparty/glm"]

path = 3rdparty/glm

url = https://github.com/g-truc/glm.git

[submodule "3rdparty/freetype2"]

path = 3rdparty/freetype2

url = https://git.sv.nongnu.org/r/freetype/freetype2.git

[submodule "3rdparty/CEGUI/pcre"]

path = 3rdparty/CEGUI/pcre

url = https://github.com/svn2github/pcre.git

[submodule "3rdparty/CEGUI/glew"]

path = 3rdparty/CEGUI/glew

url = https://github.com/Perlmint/glew-cmake.git
branch = master
branch = master
8 changes: 8 additions & 0 deletions 3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,11 @@ if (IRR_BUILD_CEGUI)
CONFIGURATIONS Debug
)
endif()

if (IRR_BUILD_BULLET)
set(BULLET_INCLUDE_PATH
${CMAKE_CURRENT_SOURCE_DIR}/bullet3/src
)

set(BULLET_INCLUDE_PATH ${BULLET_INCLUDE_PATH} PARENT_SCOPE)
endif()
1 change: 1 addition & 0 deletions 3rdparty/bullet3
Submodule bullet3 added at 78e1ba
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ option(IRR_BUILD_MITSUBA_LOADER "Enable irr::ext::MitsubaLoader?" ON)

option(IRR_BUILD_CEGUI "Enable CEGUI building and integration?" OFF)

option(IRR_BUILD_BULLET "Enable Bullet Physics building and integration?" OFF)

set(THIRD_PARTY_SOURCE_DIR "${PROJECT_SOURCE_DIR}/3rdparty")

add_subdirectory(${THIRD_PARTY_SOURCE_DIR})
Expand Down
7 changes: 6 additions & 1 deletion examples_tests/17.SimpleBulletIntegration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ if(NOT RES)
message(FATAL_ERROR "common.cmake not found. Should be in {repo_root}/cmake directory")
endif()

irr_create_executable_project("" "" "" "")
irr_create_executable_project(
../../ext/DebugDraw/CDraw3DLine.cpp
""
"${IRR_EXT_BULLET_INCLUDE_DIRS}"
"${IRR_EXT_BULLET_LIB}"
)
Binary file modified examples_tests/17.SimpleBulletIntegration/bin/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e47d18b

Please sign in to comment.