mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-07 13:20:25 +00:00
Update Bullet to improve performance
Updates Bullet to include https://github.com/bulletphysics/bullet3/pull/3287 This massively improves heightfield collision detection performance in some areas. E.g. with single-threaded bullet in the `--skip-menu` starting area on my test desktop: 30 FPS -> 60 FPS
This commit is contained in:
parent
36d5d1c25c
commit
fe6b990f2e
10
extern/CMakeLists.txt
vendored
10
extern/CMakeLists.txt
vendored
@ -31,15 +31,11 @@ if(NOT OPENMW_USE_SYSTEM_BULLET)
|
|||||||
set(USE_DOUBLE_PRECISION ${BULLET_USE_DOUBLES} CACHE BOOL "")
|
set(USE_DOUBLE_PRECISION ${BULLET_USE_DOUBLES} CACHE BOOL "")
|
||||||
set(BULLET2_MULTITHREADING ON CACHE BOOL "")
|
set(BULLET2_MULTITHREADING ON CACHE BOOL "")
|
||||||
|
|
||||||
# Version 3.08 with the following changes:
|
# master on 12 Mar 2021
|
||||||
# 1. Fixes the linking of Threads:
|
|
||||||
# https://github.com/bulletphysics/bullet3/pull/3237
|
|
||||||
# 2. Removes ~300 MiB of files not used here:
|
|
||||||
# rm -rf build3 data docs examples test Doxyfile
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
FetchContent_Declare(bullet
|
FetchContent_Declare(bullet
|
||||||
URL https://github.com/glebm/bullet3/archive/ed5256454f4f84bd2c1728c88ddb0405d614e7d2.zip
|
URL https://github.com/bulletphysics/bullet3/archive/87e668f6b2a883b4ef63db8a07c8e9283916e9d9.zip
|
||||||
URL_HASH MD5=e3c94fac35a7be885ad8843f828a0f96
|
URL_HASH MD5=9f13246439968494c2b595cf412d83c8
|
||||||
SOURCE_DIR fetched/bullet
|
SOURCE_DIR fetched/bullet
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailableExcludeFromAll(bullet)
|
FetchContent_MakeAvailableExcludeFromAll(bullet)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user