Browse Source

Export the IslandBuilder by adding JPH_EXPORT (#1770)

This is so that user code can create new island-affecting constraints similar to what VehicleConstraint::BuildIslands does
Karl 1 week ago
parent
commit
9b41b146b2
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Jolt/Physics/IslandBuilder.h

+ 1 - 3
Jolt/Physics/IslandBuilder.h

@@ -15,9 +15,7 @@ class TempAllocator;
 //#define JPH_VALIDATE_ISLAND_BUILDER
 
 /// Keeps track of connected bodies and builds islands for multithreaded velocity/position update
-///
-/// WARNING: This class is an internal part of PhysicsSystem, it has no functions that can be called by users of the library.
-class IslandBuilder : public NonCopyable
+class JPH_EXPORT IslandBuilder : public NonCopyable
 {
 public:
 	/// Destructor