InteractiveComputerGraphics / PositionBasedDynamics

PositionBasedDynamics is a library for the physically-based simulation of rigid bodies, deformable solids and fluids.
MIT License
1.92k stars 362 forks source link

macOS compatibility (v1, for SPlisHSPlasH) #124

Closed ruberith closed 2 years ago

ruberith commented 2 years ago

These adaptations allow builds using Clang on recent versions of macOS (tested on Apple silicon):

The changes are similar to those in #123, but based on the version of commit 67cea44, which is used and wrapped in SPlisHSPlasH. For this purpose, they could be pulled into a new branch.

ruberith commented 2 years ago

With commit 12bef59 updating the PBD version of SPlisHSPlasH to v2, this pull request becomes obsolete and is superseded by #123.