dilthoms

Untitled

Jul 5th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. diff --git a/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs b/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs
  2. index f2f9a59..7609c5e 100644
  3. --- a/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs
  4. +++ b/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs
  5. @@ -1015,6 +1015,7 @@ namespace UnrealBuildTool
  6. }
  7. }
  8. }
  9. + LinkAction.CommandArguments += " -lcuda -lcudart -lflexRelease_x64 -lflexReleaseExt_x64";
  10. LinkAction.CommandArguments += " -lrt"; // needed for clock_gettime()
  11. LinkAction.CommandArguments += " -lm"; // math
  12. LinkAction.CommandArguments += string.Format(" -Wl,--end-group");
  13. diff --git a/Engine/Source/Runtime/Engine/Private/PhysicsEngine/FlexContainerInstance.cpp b/Engine/Source/Runtime/Engine/Private/PhysicsEngine/FlexContainerInstance.cpp
  14. index 5a880d9..3315a5c 100644
  15. --- a/Engine/Source/Runtime/Engine/Private/PhysicsEngine/FlexContainerInstance.cpp
  16. +++ b/Engine/Source/Runtime/Engine/Private/PhysicsEngine/FlexContainerInstance.cpp
  17. @@ -360,12 +360,12 @@ void FFlexContainerInstance::UpdateCollisionData()
  18.  
  19. FlexCollisionPlane planes[6] =
  20. {
  21. - { 1.0f, 0.0f, 0.0f, -BoxGeometry.halfExtents.x },
  22. - { 0.0f, 1.0f, 0.0f, -BoxGeometry.halfExtents.y },
  23. - { 0.0f, 0.0f, 1.0f, -BoxGeometry.halfExtents.z },
  24. - {-1.0f, 0.0f, 0.0f, -BoxGeometry.halfExtents.x },
  25. - { 0.0f, -1.0f, 0.0f, -BoxGeometry.halfExtents.y },
  26. - { 0.0f, 0.0f, -1.0f, -BoxGeometry.halfExtents.z }
  27. + {{ 1.0f, 0.0f, 0.0f, -BoxGeometry.halfExtents.x }},
  28. + {{ 0.0f, 1.0f, 0.0f, -BoxGeometry.halfExtents.y }},
  29. + {{ 0.0f, 0.0f, 1.0f, -BoxGeometry.halfExtents.z }},
  30. + {{-1.0f, 0.0f, 0.0f, -BoxGeometry.halfExtents.x }},
  31. + {{ 0.0f, -1.0f, 0.0f, -BoxGeometry.halfExtents.y }},
  32. + {{ 0.0f, 0.0f, -1.0f, -BoxGeometry.halfExtents.z }}
  33. };
  34.  
  35. for (int i=0; i < 6; ++i)
  36.  
  37. diff --git a/Engine/Source/ThirdParty/PhysX/PhysX-3.3/include/PxQueryReport.h b/Engine/Source/ThirdParty/PhysX/PhysX-3.3/include/PxQueryReport.h
  38. index 53f5d16..bc3d86a 100644
  39. --- a/Engine/Source/ThirdParty/PhysX/PhysX-3.3/include/PxQueryReport.h
  40. +++ b/Engine/Source/ThirdParty/PhysX/PhysX-3.3/include/PxQueryReport.h
  41. @@ -98,6 +98,9 @@ struct PxActorShape
  42.  
  43. PxRigidActor* actor;
  44. PxShape* shape;
  45. + friend bool operator == (const PxActorShape& lhs, const PxActorShape& rhs) { return lhs.actor == rhs.actor && lhs.shape == rhs.shape; }
  46. + friend uint32 GetTypeHash(const PxActorShape& h) { return ::GetTypeHash((void*)(h.actor)) ^ ::GetTypeHash((void*)(h.shape)); }
  47. +
  48. };
Add Comment
Please, Sign In to add comment