@bloomengine/engine 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -11
- package/native/third_party/JoltPhysics/Build/Android/PerformanceTest/build.gradle +0 -51
- package/native/third_party/JoltPhysics/Build/Android/PerformanceTest/src/main/AndroidManifest.xml +0 -20
- package/native/third_party/JoltPhysics/Build/Android/PerformanceTest/src/main/cpp/CMakeLists.txt +0 -20
- package/native/third_party/JoltPhysics/Build/Android/UnitTests/build.gradle +0 -51
- package/native/third_party/JoltPhysics/Build/Android/UnitTests/src/main/AndroidManifest.xml +0 -20
- package/native/third_party/JoltPhysics/Build/Android/UnitTests/src/main/cpp/CMakeLists.txt +0 -20
- package/native/third_party/JoltPhysics/Build/Android/build.gradle +0 -17
- package/native/third_party/JoltPhysics/Build/Android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/native/third_party/JoltPhysics/Build/Android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/native/third_party/JoltPhysics/Build/Android/gradle.properties +0 -21
- package/native/third_party/JoltPhysics/Build/Android/gradlew +0 -185
- package/native/third_party/JoltPhysics/Build/Android/gradlew.bat +0 -89
- package/native/third_party/JoltPhysics/Build/Android/settings.gradle +0 -10
- package/native/third_party/JoltPhysics/Build/CMakeLists.txt +0 -449
- package/native/third_party/JoltPhysics/Build/README.md +0 -250
- package/native/third_party/JoltPhysics/Build/cmake_linux_clang_gcc.sh +0 -28
- package/native/third_party/JoltPhysics/Build/cmake_linux_emscripten.sh +0 -19
- package/native/third_party/JoltPhysics/Build/cmake_linux_mingw.sh +0 -19
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_32bit.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_arm.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_arm_32bit.bat +0 -4
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_cross_platform_deterministic.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_double.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_no_object_stream.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_clang.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_clang_cross_platform_deterministic.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_clang_double.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_uwp.bat +0 -5
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_uwp_arm.bat +0 -5
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_cl.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_cl_cross_platform_deterministic.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_cl_double.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_clang.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_clang_cross_platform_deterministic.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_clang_double.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_windows_mingw.sh +0 -19
- package/native/third_party/JoltPhysics/Build/cmake_xcode_ios.sh +0 -4
- package/native/third_party/JoltPhysics/Build/cmake_xcode_macos.sh +0 -4
- package/native/third_party/JoltPhysics/Build/iOS/JoltViewerInfo.plist +0 -34
- package/native/third_party/JoltPhysics/Build/iOS/SamplesInfo.plist +0 -34
- package/native/third_party/JoltPhysics/Build/iOS/UnitTestsInfo.plist +0 -34
- package/native/third_party/JoltPhysics/Build/macOS/icon.icns +0 -0
- package/native/third_party/JoltPhysics/Build/macos_install_vulkan_sdk.sh +0 -13
- package/native/third_party/JoltPhysics/Build/ubuntu24_install_vulkan_sdk.sh +0 -4
- package/native/third_party/JoltPhysics/Jolt/AABBTree/AABBTreeBuilder.cpp +0 -242
- package/native/third_party/JoltPhysics/Jolt/AABBTree/AABBTreeBuilder.h +0 -121
- package/native/third_party/JoltPhysics/Jolt/AABBTree/AABBTreeToBuffer.h +0 -296
- package/native/third_party/JoltPhysics/Jolt/AABBTree/NodeCodec/NodeCodecQuadTreeHalfFloat.h +0 -323
- package/native/third_party/JoltPhysics/Jolt/AABBTree/TriangleCodec/TriangleCodecIndexed8BitPackSOA4Flags.h +0 -555
- package/native/third_party/JoltPhysics/Jolt/ConfigurationString.h +0 -112
- package/native/third_party/JoltPhysics/Jolt/Core/ARMNeon.h +0 -94
- package/native/third_party/JoltPhysics/Jolt/Core/Array.h +0 -713
- package/native/third_party/JoltPhysics/Jolt/Core/Atomics.h +0 -44
- package/native/third_party/JoltPhysics/Jolt/Core/BinaryHeap.h +0 -96
- package/native/third_party/JoltPhysics/Jolt/Core/ByteBuffer.h +0 -74
- package/native/third_party/JoltPhysics/Jolt/Core/Color.cpp +0 -38
- package/native/third_party/JoltPhysics/Jolt/Core/Color.h +0 -98
- package/native/third_party/JoltPhysics/Jolt/Core/Core.h +0 -652
- package/native/third_party/JoltPhysics/Jolt/Core/FPControlWord.h +0 -143
- package/native/third_party/JoltPhysics/Jolt/Core/FPException.h +0 -96
- package/native/third_party/JoltPhysics/Jolt/Core/FPFlushDenormals.h +0 -43
- package/native/third_party/JoltPhysics/Jolt/Core/Factory.cpp +0 -92
- package/native/third_party/JoltPhysics/Jolt/Core/Factory.h +0 -54
- package/native/third_party/JoltPhysics/Jolt/Core/FixedSizeFreeList.h +0 -122
- package/native/third_party/JoltPhysics/Jolt/Core/FixedSizeFreeList.inl +0 -215
- package/native/third_party/JoltPhysics/Jolt/Core/HashCombine.h +0 -234
- package/native/third_party/JoltPhysics/Jolt/Core/HashTable.h +0 -876
- package/native/third_party/JoltPhysics/Jolt/Core/InsertionSort.h +0 -58
- package/native/third_party/JoltPhysics/Jolt/Core/IssueReporting.cpp +0 -27
- package/native/third_party/JoltPhysics/Jolt/Core/IssueReporting.h +0 -38
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystem.h +0 -311
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystem.inl +0 -56
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemSingleThreaded.cpp +0 -65
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemSingleThreaded.h +0 -62
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemThreadPool.cpp +0 -364
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemThreadPool.h +0 -101
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemWithBarrier.cpp +0 -230
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemWithBarrier.h +0 -85
- package/native/third_party/JoltPhysics/Jolt/Core/LinearCurve.cpp +0 -51
- package/native/third_party/JoltPhysics/Jolt/Core/LinearCurve.h +0 -67
- package/native/third_party/JoltPhysics/Jolt/Core/LockFreeHashMap.h +0 -182
- package/native/third_party/JoltPhysics/Jolt/Core/LockFreeHashMap.inl +0 -351
- package/native/third_party/JoltPhysics/Jolt/Core/Memory.cpp +0 -85
- package/native/third_party/JoltPhysics/Jolt/Core/Memory.h +0 -85
- package/native/third_party/JoltPhysics/Jolt/Core/Mutex.h +0 -223
- package/native/third_party/JoltPhysics/Jolt/Core/MutexArray.h +0 -98
- package/native/third_party/JoltPhysics/Jolt/Core/NonCopyable.h +0 -18
- package/native/third_party/JoltPhysics/Jolt/Core/Profiler.cpp +0 -677
- package/native/third_party/JoltPhysics/Jolt/Core/Profiler.h +0 -301
- package/native/third_party/JoltPhysics/Jolt/Core/Profiler.inl +0 -90
- package/native/third_party/JoltPhysics/Jolt/Core/QuickSort.h +0 -137
- package/native/third_party/JoltPhysics/Jolt/Core/RTTI.cpp +0 -149
- package/native/third_party/JoltPhysics/Jolt/Core/RTTI.h +0 -436
- package/native/third_party/JoltPhysics/Jolt/Core/Reference.h +0 -244
- package/native/third_party/JoltPhysics/Jolt/Core/Result.h +0 -174
- package/native/third_party/JoltPhysics/Jolt/Core/STLAlignedAllocator.h +0 -72
- package/native/third_party/JoltPhysics/Jolt/Core/STLAllocator.h +0 -127
- package/native/third_party/JoltPhysics/Jolt/Core/STLLocalAllocator.h +0 -170
- package/native/third_party/JoltPhysics/Jolt/Core/STLTempAllocator.h +0 -80
- package/native/third_party/JoltPhysics/Jolt/Core/ScopeExit.h +0 -49
- package/native/third_party/JoltPhysics/Jolt/Core/Semaphore.cpp +0 -135
- package/native/third_party/JoltPhysics/Jolt/Core/Semaphore.h +0 -68
- package/native/third_party/JoltPhysics/Jolt/Core/StaticArray.h +0 -329
- package/native/third_party/JoltPhysics/Jolt/Core/StreamIn.h +0 -120
- package/native/third_party/JoltPhysics/Jolt/Core/StreamOut.h +0 -97
- package/native/third_party/JoltPhysics/Jolt/Core/StreamUtils.h +0 -168
- package/native/third_party/JoltPhysics/Jolt/Core/StreamWrapper.h +0 -53
- package/native/third_party/JoltPhysics/Jolt/Core/StridedPtr.h +0 -63
- package/native/third_party/JoltPhysics/Jolt/Core/StringTools.cpp +0 -101
- package/native/third_party/JoltPhysics/Jolt/Core/StringTools.h +0 -38
- package/native/third_party/JoltPhysics/Jolt/Core/TempAllocator.h +0 -209
- package/native/third_party/JoltPhysics/Jolt/Core/TickCounter.cpp +0 -37
- package/native/third_party/JoltPhysics/Jolt/Core/TickCounter.h +0 -58
- package/native/third_party/JoltPhysics/Jolt/Core/UnorderedMap.h +0 -80
- package/native/third_party/JoltPhysics/Jolt/Core/UnorderedSet.h +0 -32
- package/native/third_party/JoltPhysics/Jolt/Geometry/AABox.h +0 -313
- package/native/third_party/JoltPhysics/Jolt/Geometry/AABox4.h +0 -224
- package/native/third_party/JoltPhysics/Jolt/Geometry/ClipPoly.h +0 -200
- package/native/third_party/JoltPhysics/Jolt/Geometry/ClosestPoint.h +0 -498
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexHullBuilder.cpp +0 -1467
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexHullBuilder.h +0 -276
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexHullBuilder2D.cpp +0 -335
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexHullBuilder2D.h +0 -105
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexSupport.h +0 -188
- package/native/third_party/JoltPhysics/Jolt/Geometry/EPAConvexHullBuilder.h +0 -845
- package/native/third_party/JoltPhysics/Jolt/Geometry/EPAPenetrationDepth.h +0 -557
- package/native/third_party/JoltPhysics/Jolt/Geometry/Ellipse.h +0 -77
- package/native/third_party/JoltPhysics/Jolt/Geometry/GJKClosestPoint.h +0 -945
- package/native/third_party/JoltPhysics/Jolt/Geometry/IndexedTriangle.h +0 -130
- package/native/third_party/JoltPhysics/Jolt/Geometry/Indexify.cpp +0 -222
- package/native/third_party/JoltPhysics/Jolt/Geometry/Indexify.h +0 -19
- package/native/third_party/JoltPhysics/Jolt/Geometry/MortonCode.h +0 -40
- package/native/third_party/JoltPhysics/Jolt/Geometry/OrientedBox.cpp +0 -178
- package/native/third_party/JoltPhysics/Jolt/Geometry/OrientedBox.h +0 -39
- package/native/third_party/JoltPhysics/Jolt/Geometry/Plane.h +0 -104
- package/native/third_party/JoltPhysics/Jolt/Geometry/RayAABox.h +0 -241
- package/native/third_party/JoltPhysics/Jolt/Geometry/RayCapsule.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Geometry/RayCylinder.h +0 -101
- package/native/third_party/JoltPhysics/Jolt/Geometry/RaySphere.h +0 -96
- package/native/third_party/JoltPhysics/Jolt/Geometry/RayTriangle.h +0 -158
- package/native/third_party/JoltPhysics/Jolt/Geometry/Sphere.h +0 -72
- package/native/third_party/JoltPhysics/Jolt/Geometry/Triangle.h +0 -34
- package/native/third_party/JoltPhysics/Jolt/Jolt.cmake +0 -703
- package/native/third_party/JoltPhysics/Jolt/Jolt.h +0 -16
- package/native/third_party/JoltPhysics/Jolt/Jolt.natvis +0 -116
- package/native/third_party/JoltPhysics/Jolt/Math/BVec16.h +0 -99
- package/native/third_party/JoltPhysics/Jolt/Math/BVec16.inl +0 -177
- package/native/third_party/JoltPhysics/Jolt/Math/DMat44.h +0 -158
- package/native/third_party/JoltPhysics/Jolt/Math/DMat44.inl +0 -310
- package/native/third_party/JoltPhysics/Jolt/Math/DVec3.h +0 -291
- package/native/third_party/JoltPhysics/Jolt/Math/DVec3.inl +0 -941
- package/native/third_party/JoltPhysics/Jolt/Math/Double3.h +0 -48
- package/native/third_party/JoltPhysics/Jolt/Math/DynMatrix.h +0 -31
- package/native/third_party/JoltPhysics/Jolt/Math/EigenValueSymmetric.h +0 -177
- package/native/third_party/JoltPhysics/Jolt/Math/FindRoot.h +0 -42
- package/native/third_party/JoltPhysics/Jolt/Math/Float2.h +0 -36
- package/native/third_party/JoltPhysics/Jolt/Math/Float3.h +0 -50
- package/native/third_party/JoltPhysics/Jolt/Math/Float4.h +0 -44
- package/native/third_party/JoltPhysics/Jolt/Math/GaussianElimination.h +0 -102
- package/native/third_party/JoltPhysics/Jolt/Math/HalfFloat.h +0 -208
- package/native/third_party/JoltPhysics/Jolt/Math/Mat44.h +0 -243
- package/native/third_party/JoltPhysics/Jolt/Math/Mat44.inl +0 -952
- package/native/third_party/JoltPhysics/Jolt/Math/Math.h +0 -208
- package/native/third_party/JoltPhysics/Jolt/Math/MathTypes.h +0 -32
- package/native/third_party/JoltPhysics/Jolt/Math/Matrix.h +0 -259
- package/native/third_party/JoltPhysics/Jolt/Math/Quat.h +0 -268
- package/native/third_party/JoltPhysics/Jolt/Math/Quat.inl +0 -406
- package/native/third_party/JoltPhysics/Jolt/Math/Real.h +0 -44
- package/native/third_party/JoltPhysics/Jolt/Math/Swizzle.h +0 -19
- package/native/third_party/JoltPhysics/Jolt/Math/Trigonometry.h +0 -79
- package/native/third_party/JoltPhysics/Jolt/Math/UVec4.h +0 -232
- package/native/third_party/JoltPhysics/Jolt/Math/UVec4.inl +0 -636
- package/native/third_party/JoltPhysics/Jolt/Math/Vec3.cpp +0 -71
- package/native/third_party/JoltPhysics/Jolt/Math/Vec3.h +0 -308
- package/native/third_party/JoltPhysics/Jolt/Math/Vec3.inl +0 -942
- package/native/third_party/JoltPhysics/Jolt/Math/Vec4.h +0 -320
- package/native/third_party/JoltPhysics/Jolt/Math/Vec4.inl +0 -1152
- package/native/third_party/JoltPhysics/Jolt/Math/Vector.h +0 -211
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/GetPrimitiveTypeOfType.h +0 -54
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStream.cpp +0 -38
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStream.h +0 -337
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamBinaryIn.cpp +0 -252
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamBinaryIn.h +0 -57
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamBinaryOut.cpp +0 -165
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamBinaryOut.h +0 -57
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamIn.cpp +0 -635
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamIn.h +0 -148
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamOut.cpp +0 -166
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamOut.h +0 -101
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTextIn.cpp +0 -418
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTextIn.h +0 -55
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTextOut.cpp +0 -255
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTextOut.h +0 -62
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTypes.h +0 -26
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableAttribute.h +0 -111
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableAttributeEnum.h +0 -67
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableAttributeTyped.h +0 -60
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableObject.cpp +0 -15
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableObject.h +0 -170
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/TypeDeclarations.cpp +0 -70
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/TypeDeclarations.h +0 -45
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/AllowedDOFs.h +0 -68
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/Body.cpp +0 -426
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/Body.h +0 -452
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/Body.inl +0 -197
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyAccess.h +0 -68
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyActivationListener.h +0 -28
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyCreationSettings.cpp +0 -234
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyCreationSettings.h +0 -124
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyFilter.h +0 -130
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyID.h +0 -101
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyInterface.cpp +0 -1099
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyInterface.h +0 -324
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyLock.h +0 -111
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyLockInterface.h +0 -134
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyLockMulti.h +0 -120
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyManager.cpp +0 -1220
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyManager.h +0 -403
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyPair.h +0 -36
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyType.h +0 -19
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MassProperties.cpp +0 -185
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MassProperties.h +0 -58
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionProperties.cpp +0 -92
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionProperties.h +0 -308
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionProperties.inl +0 -178
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionQuality.h +0 -31
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionType.h +0 -17
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/Character.cpp +0 -354
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/Character.h +0 -159
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterBase.cpp +0 -59
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterBase.h +0 -157
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterID.h +0 -98
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterVirtual.cpp +0 -1933
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterVirtual.h +0 -752
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/AABoxCast.h +0 -20
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ActiveEdgeMode.h +0 -17
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ActiveEdges.h +0 -114
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BackFaceMode.h +0 -16
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhase.cpp +0 -16
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhase.h +0 -109
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseBruteForce.cpp +0 -313
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseBruteForce.h +0 -38
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h +0 -148
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseLayerInterfaceMask.h +0 -92
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseLayerInterfaceTable.h +0 -64
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuadTree.cpp +0 -629
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuadTree.h +0 -108
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h +0 -56
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/ObjectVsBroadPhaseLayerFilterMask.h +0 -35
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/ObjectVsBroadPhaseLayerFilterTable.h +0 -66
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/QuadTree.cpp +0 -1768
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/QuadTree.h +0 -389
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastConvexVsTriangles.cpp +0 -107
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastConvexVsTriangles.h +0 -46
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastResult.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastSphereVsTriangles.cpp +0 -223
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastSphereVsTriangles.h +0 -49
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollectFacesMode.h +0 -16
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideConvexVsTriangles.cpp +0 -155
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideConvexVsTriangles.h +0 -56
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollidePointResult.h +0 -25
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideShape.h +0 -106
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideShapeVsShapePerLeaf.h +0 -94
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideSoftBodyVertexIterator.h +0 -110
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideSoftBodyVerticesVsTriangles.h +0 -102
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideSphereVsTriangles.cpp +0 -121
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideSphereVsTriangles.h +0 -50
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionCollector.h +0 -109
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionCollectorImpl.h +0 -219
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionDispatch.cpp +0 -107
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionDispatch.h +0 -97
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionGroup.cpp +0 -35
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionGroup.h +0 -97
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ContactListener.h +0 -143
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/EstimateCollisionResponse.cpp +0 -213
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/EstimateCollisionResponse.h +0 -48
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/GroupFilter.cpp +0 -32
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/GroupFilter.h +0 -46
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/GroupFilterTable.cpp +0 -38
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/GroupFilterTable.h +0 -130
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/InternalEdgeRemovingCollector.h +0 -279
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ManifoldBetweenTwoFaces.cpp +0 -271
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ManifoldBetweenTwoFaces.h +0 -44
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/NarrowPhaseQuery.cpp +0 -448
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/NarrowPhaseQuery.h +0 -77
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/NarrowPhaseStats.cpp +0 -62
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/NarrowPhaseStats.h +0 -110
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ObjectLayer.h +0 -111
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ObjectLayerPairFilterMask.h +0 -52
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ObjectLayerPairFilterTable.h +0 -78
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/PhysicsMaterial.cpp +0 -35
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/PhysicsMaterial.h +0 -57
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/PhysicsMaterialSimple.cpp +0 -38
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/PhysicsMaterialSimple.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/RayCast.h +0 -87
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/BoxShape.cpp +0 -318
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/BoxShape.h +0 -115
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CapsuleShape.cpp +0 -438
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CapsuleShape.h +0 -129
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CompoundShape.cpp +0 -433
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CompoundShape.h +0 -354
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CompoundShapeVisitors.h +0 -461
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ConvexHullShape.cpp +0 -1311
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ConvexHullShape.h +0 -202
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ConvexShape.cpp +0 -566
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ConvexShape.h +0 -150
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CylinderShape.cpp +0 -418
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CylinderShape.h +0 -126
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/DecoratedShape.cpp +0 -87
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/DecoratedShape.h +0 -80
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/EmptyShape.cpp +0 -64
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/EmptyShape.h +0 -75
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/GetTrianglesContext.h +0 -248
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/HeightFieldShape.cpp +0 -2754
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/HeightFieldShape.h +0 -380
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/MeshShape.cpp +0 -1305
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/MeshShape.h +0 -228
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/MutableCompoundShape.cpp +0 -596
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/MutableCompoundShape.h +0 -176
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.cpp +0 -217
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h +0 -140
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/PlaneShape.cpp +0 -541
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/PlaneShape.h +0 -147
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/PolyhedronSubmergedVolumeCalculator.h +0 -319
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.cpp +0 -333
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h +0 -161
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ScaleHelpers.h +0 -83
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ScaledShape.cpp +0 -238
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ScaledShape.h +0 -145
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/Shape.cpp +0 -325
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/Shape.h +0 -466
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/SphereShape.cpp +0 -347
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/SphereShape.h +0 -125
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/StaticCompoundShape.cpp +0 -674
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/StaticCompoundShape.h +0 -139
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/SubShapeID.h +0 -138
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/SubShapeIDPair.h +0 -65
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.cpp +0 -453
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.gliffy +0 -1
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h +0 -135
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCylinderShape.cpp +0 -691
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h +0 -132
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TriangleShape.cpp +0 -430
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TriangleShape.h +0 -143
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ShapeCast.h +0 -173
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ShapeFilter.h +0 -73
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/SimShapeFilter.h +0 -40
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/SimShapeFilterWrapper.h +0 -58
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/SortReverseAndStore.h +0 -48
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/TransformedShape.cpp +0 -180
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/TransformedShape.h +0 -194
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/CalculateSolverSteps.h +0 -70
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConeConstraint.cpp +0 -246
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConeConstraint.h +0 -133
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/Constraint.cpp +0 -73
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/Constraint.h +0 -243
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintManager.cpp +0 -289
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintManager.h +0 -100
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/AngleConstraintPart.h +0 -257
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/AxisConstraintPart.h +0 -682
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/DualAxisConstraintPart.h +0 -276
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/GearConstraintPart.h +0 -195
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/HingeRotationConstraintPart.h +0 -222
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/IndependentAxisConstraintPart.h +0 -246
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/PointConstraintPart.h +0 -239
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/RackAndPinionConstraintPart.h +0 -196
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h +0 -283
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/RotationQuatConstraintPart.h +0 -246
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/SpringPart.h +0 -169
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/SwingTwistConstraintPart.h +0 -597
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ContactConstraintManager.cpp +0 -1804
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ContactConstraintManager.h +0 -524
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/DistanceConstraint.cpp +0 -266
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/DistanceConstraint.h +0 -120
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/FixedConstraint.cpp +0 -215
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/FixedConstraint.h +0 -96
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/GearConstraint.cpp +0 -188
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/GearConstraint.h +0 -116
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/HingeConstraint.cpp +0 -443
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/HingeConstraint.h +0 -205
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/MotorSettings.cpp +0 -43
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/MotorSettings.h +0 -66
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraint.cpp +0 -458
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraint.h +0 -191
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraintPath.cpp +0 -85
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraintPath.h +0 -76
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraintPathHermite.cpp +0 -308
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraintPathHermite.h +0 -54
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PointConstraint.cpp +0 -157
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PointConstraint.h +0 -94
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PulleyConstraint.cpp +0 -253
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PulleyConstraint.h +0 -137
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/RackAndPinionConstraint.cpp +0 -189
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/RackAndPinionConstraint.h +0 -118
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SixDOFConstraint.cpp +0 -900
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SixDOFConstraint.h +0 -289
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SliderConstraint.cpp +0 -501
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SliderConstraint.h +0 -198
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SpringSettings.cpp +0 -35
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SpringSettings.h +0 -70
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SwingTwistConstraint.cpp +0 -524
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SwingTwistConstraint.h +0 -197
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/TwoBodyConstraint.cpp +0 -56
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/TwoBodyConstraint.h +0 -65
- package/native/third_party/JoltPhysics/Jolt/Physics/DeterminismLog.cpp +0 -17
- package/native/third_party/JoltPhysics/Jolt/Physics/DeterminismLog.h +0 -159
- package/native/third_party/JoltPhysics/Jolt/Physics/EActivation.h +0 -16
- package/native/third_party/JoltPhysics/Jolt/Physics/EPhysicsUpdateError.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Physics/IslandBuilder.cpp +0 -492
- package/native/third_party/JoltPhysics/Jolt/Physics/IslandBuilder.h +0 -144
- package/native/third_party/JoltPhysics/Jolt/Physics/LargeIslandSplitter.cpp +0 -582
- package/native/third_party/JoltPhysics/Jolt/Physics/LargeIslandSplitter.h +0 -187
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsLock.h +0 -169
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsScene.cpp +0 -261
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsScene.h +0 -104
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsSettings.h +0 -125
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsStepListener.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsSystem.cpp +0 -2915
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsSystem.h +0 -391
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsUpdateContext.cpp +0 -25
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsUpdateContext.h +0 -176
- package/native/third_party/JoltPhysics/Jolt/Physics/Ragdoll/Ragdoll.cpp +0 -744
- package/native/third_party/JoltPhysics/Jolt/Physics/Ragdoll/Ragdoll.h +0 -245
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyContactListener.h +0 -55
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyCreationSettings.cpp +0 -128
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyCreationSettings.h +0 -75
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyManifold.h +0 -74
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyMotionProperties.cpp +0 -1501
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h +0 -333
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyShape.cpp +0 -354
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyShape.h +0 -73
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodySharedSettings.cpp +0 -1487
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodySharedSettings.h +0 -390
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyUpdateContext.h +0 -63
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyVertex.h +0 -36
- package/native/third_party/JoltPhysics/Jolt/Physics/StateRecorder.h +0 -136
- package/native/third_party/JoltPhysics/Jolt/Physics/StateRecorderImpl.cpp +0 -90
- package/native/third_party/JoltPhysics/Jolt/Physics/StateRecorderImpl.h +0 -50
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/MotorcycleController.cpp +0 -306
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/MotorcycleController.h +0 -119
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/TrackedVehicleController.cpp +0 -547
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/TrackedVehicleController.h +0 -169
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleAntiRollBar.cpp +0 -33
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleAntiRollBar.h +0 -33
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleCollisionTester.cpp +0 -376
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleCollisionTester.h +0 -146
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleConstraint.cpp +0 -703
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleConstraint.h +0 -252
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleController.cpp +0 -17
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleController.h +0 -87
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleDifferential.cpp +0 -81
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleDifferential.h +0 -39
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleEngine.cpp +0 -122
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleEngine.h +0 -93
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleTrack.cpp +0 -52
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleTrack.h +0 -56
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleTransmission.cpp +0 -159
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleTransmission.h +0 -87
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/Wheel.cpp +0 -93
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/Wheel.h +0 -148
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/WheeledVehicleController.cpp +0 -866
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/WheeledVehicleController.h +0 -205
- package/native/third_party/JoltPhysics/Jolt/RegisterTypes.cpp +0 -204
- package/native/third_party/JoltPhysics/Jolt/RegisterTypes.h +0 -29
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRenderer.cpp +0 -1107
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRenderer.h +0 -383
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererPlayback.cpp +0 -168
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererPlayback.h +0 -48
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererRecorder.cpp +0 -158
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererRecorder.h +0 -130
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererSimple.cpp +0 -80
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererSimple.h +0 -88
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletalAnimation.cpp +0 -165
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletalAnimation.h +0 -91
- package/native/third_party/JoltPhysics/Jolt/Skeleton/Skeleton.cpp +0 -82
- package/native/third_party/JoltPhysics/Jolt/Skeleton/Skeleton.h +0 -72
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletonMapper.cpp +0 -237
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletonMapper.h +0 -145
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletonPose.cpp +0 -87
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletonPose.h +0 -82
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitter.cpp +0 -73
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitter.h +0 -84
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitterBinning.cpp +0 -139
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitterBinning.h +0 -52
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitterMean.cpp +0 -43
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitterMean.h +0 -28
- package/native/third_party/JoltPhysics/LICENSE +0 -7
- package/native/third_party/JoltPhysics/README.md +0 -173
- package/native/third_party/bloom_jolt/CMakeLists.txt +0 -87
- package/native/third_party/bloom_jolt/include/bloom_jolt.h +0 -519
- package/native/third_party/bloom_jolt/src/bloom_jolt.cpp +0 -1780
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
|
|
2
|
-
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
|
|
3
|
-
// SPDX-License-Identifier: MIT
|
|
4
|
-
|
|
5
|
-
#pragma once
|
|
6
|
-
|
|
7
|
-
JPH_SUPPRESS_WARNINGS_STD_BEGIN
|
|
8
|
-
#include <mutex>
|
|
9
|
-
#include <chrono>
|
|
10
|
-
JPH_SUPPRESS_WARNINGS_STD_END
|
|
11
|
-
|
|
12
|
-
#include <Jolt/Core/NonCopyable.h>
|
|
13
|
-
#include <Jolt/Core/TickCounter.h>
|
|
14
|
-
#include <Jolt/Core/UnorderedMap.h>
|
|
15
|
-
|
|
16
|
-
#if defined(JPH_EXTERNAL_PROFILE)
|
|
17
|
-
|
|
18
|
-
JPH_NAMESPACE_BEGIN
|
|
19
|
-
|
|
20
|
-
#ifdef JPH_SHARED_LIBRARY
|
|
21
|
-
/// Functions called when a profiler measurement starts or stops, need to be overridden by the user.
|
|
22
|
-
using ProfileStartMeasurementFunction = void (*)(const char *inName, uint32 inColor, uint8 *ioUserData);
|
|
23
|
-
using ProfileEndMeasurementFunction = void (*)(uint8 *ioUserData);
|
|
24
|
-
|
|
25
|
-
JPH_EXPORT extern ProfileStartMeasurementFunction ProfileStartMeasurement;
|
|
26
|
-
JPH_EXPORT extern ProfileEndMeasurementFunction ProfileEndMeasurement;
|
|
27
|
-
#endif // JPH_SHARED_LIBRARY
|
|
28
|
-
|
|
29
|
-
/// Create this class on the stack to start sampling timing information of a particular scope.
|
|
30
|
-
///
|
|
31
|
-
/// For statically linked builds, this is left unimplemented intentionally. Needs to be implemented by the user of the library.
|
|
32
|
-
/// On construction a measurement should start, on destruction it should be stopped.
|
|
33
|
-
/// For dynamically linked builds, the user should override the ProfileStartMeasurement and ProfileEndMeasurement functions.
|
|
34
|
-
class alignas(16) ExternalProfileMeasurement : public NonCopyable
|
|
35
|
-
{
|
|
36
|
-
public:
|
|
37
|
-
/// Constructor
|
|
38
|
-
#ifdef JPH_SHARED_LIBRARY
|
|
39
|
-
JPH_INLINE ExternalProfileMeasurement(const char *inName, uint32 inColor = 0) { ProfileStartMeasurement(inName, inColor, mUserData); }
|
|
40
|
-
JPH_INLINE ~ExternalProfileMeasurement() { ProfileEndMeasurement(mUserData); }
|
|
41
|
-
#else
|
|
42
|
-
ExternalProfileMeasurement(const char *inName, uint32 inColor = 0);
|
|
43
|
-
~ExternalProfileMeasurement();
|
|
44
|
-
#endif
|
|
45
|
-
|
|
46
|
-
private:
|
|
47
|
-
uint8 mUserData[64];
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
JPH_NAMESPACE_END
|
|
51
|
-
|
|
52
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
53
|
-
// Macros to do the actual profiling
|
|
54
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
55
|
-
|
|
56
|
-
JPH_SUPPRESS_WARNING_PUSH
|
|
57
|
-
JPH_CLANG_SUPPRESS_WARNING("-Wc++98-compat-pedantic")
|
|
58
|
-
|
|
59
|
-
// Dummy implementations
|
|
60
|
-
#define JPH_PROFILE_START(name)
|
|
61
|
-
#define JPH_PROFILE_END()
|
|
62
|
-
#define JPH_PROFILE_THREAD_START(name)
|
|
63
|
-
#define JPH_PROFILE_THREAD_END()
|
|
64
|
-
#define JPH_PROFILE_NEXTFRAME()
|
|
65
|
-
#define JPH_PROFILE_DUMP(...)
|
|
66
|
-
|
|
67
|
-
// Scope profiling measurement
|
|
68
|
-
#define JPH_PROFILE_TAG2(line) profile##line
|
|
69
|
-
#define JPH_PROFILE_TAG(line) JPH_PROFILE_TAG2(line)
|
|
70
|
-
|
|
71
|
-
/// Macro to collect profiling information.
|
|
72
|
-
///
|
|
73
|
-
/// Usage:
|
|
74
|
-
///
|
|
75
|
-
/// {
|
|
76
|
-
/// JPH_PROFILE("Operation");
|
|
77
|
-
/// do operation;
|
|
78
|
-
/// }
|
|
79
|
-
///
|
|
80
|
-
#define JPH_PROFILE(...) ExternalProfileMeasurement JPH_PROFILE_TAG(__LINE__)(__VA_ARGS__)
|
|
81
|
-
|
|
82
|
-
// Scope profiling for function
|
|
83
|
-
#define JPH_PROFILE_FUNCTION() JPH_PROFILE(JPH_FUNCTION_NAME)
|
|
84
|
-
|
|
85
|
-
JPH_SUPPRESS_WARNING_POP
|
|
86
|
-
|
|
87
|
-
#elif defined(JPH_PROFILE_ENABLED)
|
|
88
|
-
|
|
89
|
-
JPH_NAMESPACE_BEGIN
|
|
90
|
-
|
|
91
|
-
class ProfileSample;
|
|
92
|
-
class ProfileThread;
|
|
93
|
-
|
|
94
|
-
/// Singleton class for managing profiling information
|
|
95
|
-
class JPH_EXPORT Profiler : public NonCopyable
|
|
96
|
-
{
|
|
97
|
-
public:
|
|
98
|
-
JPH_OVERRIDE_NEW_DELETE
|
|
99
|
-
|
|
100
|
-
/// Constructor
|
|
101
|
-
Profiler() { UpdateReferenceTime(); }
|
|
102
|
-
|
|
103
|
-
/// Increments the frame counter to provide statistics per frame
|
|
104
|
-
void NextFrame();
|
|
105
|
-
|
|
106
|
-
/// Dump profiling statistics at the start of the next frame
|
|
107
|
-
/// @param inTag If not empty, this overrides the auto incrementing number in the filename of the dump file
|
|
108
|
-
void Dump(const string_view &inTag = string_view());
|
|
109
|
-
|
|
110
|
-
/// Add a thread to be instrumented
|
|
111
|
-
void AddThread(ProfileThread *inThread);
|
|
112
|
-
|
|
113
|
-
/// Remove a thread from being instrumented
|
|
114
|
-
void RemoveThread(ProfileThread *inThread);
|
|
115
|
-
|
|
116
|
-
/// Get the amount of ticks per second, note that this number will never be fully accurate as the amount of ticks per second may vary with CPU load, so this number is only to be used to give an indication of time for profiling purposes
|
|
117
|
-
uint64 GetProcessorTicksPerSecond() const;
|
|
118
|
-
|
|
119
|
-
/// Singleton instance
|
|
120
|
-
static Profiler * sInstance;
|
|
121
|
-
|
|
122
|
-
private:
|
|
123
|
-
/// Helper class to freeze ProfileSamples per thread while processing them
|
|
124
|
-
struct ThreadSamples
|
|
125
|
-
{
|
|
126
|
-
String mThreadName;
|
|
127
|
-
ProfileSample * mSamplesBegin;
|
|
128
|
-
ProfileSample * mSamplesEnd;
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
/// Helper class to aggregate ProfileSamples
|
|
132
|
-
class Aggregator
|
|
133
|
-
{
|
|
134
|
-
public:
|
|
135
|
-
/// Constructor
|
|
136
|
-
Aggregator(const char *inName) : mName(inName) { }
|
|
137
|
-
|
|
138
|
-
/// Accumulate results for a measurement
|
|
139
|
-
void AccumulateMeasurement(uint64 inCyclesInCallWithChildren)
|
|
140
|
-
{
|
|
141
|
-
mCallCounter++;
|
|
142
|
-
mTotalCyclesInCallWithChildren += inCyclesInCallWithChildren;
|
|
143
|
-
mMinCyclesInCallWithChildren = min(inCyclesInCallWithChildren, mMinCyclesInCallWithChildren);
|
|
144
|
-
mMaxCyclesInCallWithChildren = max(inCyclesInCallWithChildren, mMaxCyclesInCallWithChildren);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/// Sort descending by total cycles
|
|
148
|
-
bool operator < (const Aggregator &inRHS) const
|
|
149
|
-
{
|
|
150
|
-
return mTotalCyclesInCallWithChildren > inRHS.mTotalCyclesInCallWithChildren;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/// Identification
|
|
154
|
-
const char * mName; ///< User defined name of this item
|
|
155
|
-
|
|
156
|
-
/// Statistics
|
|
157
|
-
uint32 mCallCounter = 0; ///< Number of times AccumulateMeasurement was called
|
|
158
|
-
uint64 mTotalCyclesInCallWithChildren = 0; ///< Total amount of cycles spent in this scope
|
|
159
|
-
uint64 mMinCyclesInCallWithChildren = 0xffffffffffffffffUL; ///< Minimum amount of cycles spent per call
|
|
160
|
-
uint64 mMaxCyclesInCallWithChildren = 0; ///< Maximum amount of cycles spent per call
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
using Threads = Array<ThreadSamples>;
|
|
164
|
-
using Aggregators = Array<Aggregator>;
|
|
165
|
-
using KeyToAggregator = UnorderedMap<const char *, size_t>;
|
|
166
|
-
|
|
167
|
-
/// Helper function to aggregate profile sample data
|
|
168
|
-
static void sAggregate(int inDepth, uint32 inColor, ProfileSample *&ioSample, const ProfileSample *inEnd, Aggregators &ioAggregators, KeyToAggregator &ioKeyToAggregator);
|
|
169
|
-
|
|
170
|
-
/// We measure the amount of ticks per second, this function resets the reference time point
|
|
171
|
-
void UpdateReferenceTime();
|
|
172
|
-
|
|
173
|
-
/// Dump profiling statistics
|
|
174
|
-
void DumpInternal();
|
|
175
|
-
void DumpChart(const char *inTag, const Threads &inThreads, const KeyToAggregator &inKeyToAggregators, const Aggregators &inAggregators);
|
|
176
|
-
|
|
177
|
-
std::mutex mLock; ///< Lock that protects mThreads
|
|
178
|
-
uint64 mReferenceTick; ///< Tick count at the start of the frame
|
|
179
|
-
std::chrono::high_resolution_clock::time_point mReferenceTime; ///< Time at the start of the frame
|
|
180
|
-
Array<ProfileThread *> mThreads; ///< List of all active threads
|
|
181
|
-
bool mDump = false; ///< When true, the samples are dumped next frame
|
|
182
|
-
String mDumpTag; ///< When not empty, this overrides the auto incrementing number of the dump filename
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
// Class that contains the information of a single scoped measurement
|
|
186
|
-
class alignas(16) JPH_EXPORT_GCC_BUG_WORKAROUND ProfileSample : public NonCopyable
|
|
187
|
-
{
|
|
188
|
-
public:
|
|
189
|
-
JPH_OVERRIDE_NEW_DELETE
|
|
190
|
-
|
|
191
|
-
const char * mName; ///< User defined name of this item
|
|
192
|
-
uint32 mColor; ///< Color to use for this sample
|
|
193
|
-
uint8 mDepth; ///< Calculated depth
|
|
194
|
-
uint8 mUnused[3];
|
|
195
|
-
uint64 mStartCycle; ///< Cycle counter at start of measurement
|
|
196
|
-
uint64 mEndCycle; ///< Cycle counter at end of measurement
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
/// Collects all samples of a single thread
|
|
200
|
-
class ProfileThread : public NonCopyable
|
|
201
|
-
{
|
|
202
|
-
public:
|
|
203
|
-
JPH_OVERRIDE_NEW_DELETE
|
|
204
|
-
|
|
205
|
-
/// Constructor
|
|
206
|
-
inline ProfileThread(const string_view &inThreadName);
|
|
207
|
-
inline ~ProfileThread();
|
|
208
|
-
|
|
209
|
-
static const uint cMaxSamples = 65536;
|
|
210
|
-
|
|
211
|
-
String mThreadName; ///< Name of the thread that we're collecting information for
|
|
212
|
-
ProfileSample mSamples[cMaxSamples]; ///< Buffer of samples
|
|
213
|
-
uint mCurrentSample = 0; ///< Next position to write a sample to
|
|
214
|
-
|
|
215
|
-
#ifdef JPH_SHARED_LIBRARY
|
|
216
|
-
JPH_EXPORT static void sSetInstance(ProfileThread *inInstance);
|
|
217
|
-
JPH_EXPORT static ProfileThread *sGetInstance();
|
|
218
|
-
#else
|
|
219
|
-
static inline void sSetInstance(ProfileThread *inInstance) { sInstance = inInstance; }
|
|
220
|
-
static inline ProfileThread *sGetInstance() { return sInstance; }
|
|
221
|
-
|
|
222
|
-
private:
|
|
223
|
-
static thread_local ProfileThread *sInstance;
|
|
224
|
-
#endif
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
/// Create this class on the stack to start sampling timing information of a particular scope
|
|
228
|
-
class JPH_EXPORT ProfileMeasurement : public NonCopyable
|
|
229
|
-
{
|
|
230
|
-
public:
|
|
231
|
-
/// Constructor
|
|
232
|
-
inline ProfileMeasurement(const char *inName, uint32 inColor = 0);
|
|
233
|
-
inline ~ProfileMeasurement();
|
|
234
|
-
|
|
235
|
-
private:
|
|
236
|
-
ProfileSample * mSample;
|
|
237
|
-
ProfileSample mTemp;
|
|
238
|
-
|
|
239
|
-
static bool sOutOfSamplesReported;
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
JPH_NAMESPACE_END
|
|
243
|
-
|
|
244
|
-
#include "Profiler.inl"
|
|
245
|
-
|
|
246
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
247
|
-
// Macros to do the actual profiling
|
|
248
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
249
|
-
|
|
250
|
-
JPH_SUPPRESS_WARNING_PUSH
|
|
251
|
-
JPH_CLANG_SUPPRESS_WARNING("-Wc++98-compat-pedantic")
|
|
252
|
-
|
|
253
|
-
/// Start instrumenting program
|
|
254
|
-
#define JPH_PROFILE_START(name) do { Profiler::sInstance = new Profiler; JPH_PROFILE_THREAD_START(name); } while (false)
|
|
255
|
-
|
|
256
|
-
/// End instrumenting program
|
|
257
|
-
#define JPH_PROFILE_END() do { JPH_PROFILE_THREAD_END(); delete Profiler::sInstance; Profiler::sInstance = nullptr; } while (false)
|
|
258
|
-
|
|
259
|
-
/// Start instrumenting a thread
|
|
260
|
-
#define JPH_PROFILE_THREAD_START(name) do { if (Profiler::sInstance) ProfileThread::sSetInstance(new ProfileThread(name)); } while (false)
|
|
261
|
-
|
|
262
|
-
/// End instrumenting a thread
|
|
263
|
-
#define JPH_PROFILE_THREAD_END() do { delete ProfileThread::sGetInstance(); ProfileThread::sSetInstance(nullptr); } while (false)
|
|
264
|
-
|
|
265
|
-
/// Scope profiling measurement
|
|
266
|
-
#define JPH_PROFILE_TAG2(line) profile##line
|
|
267
|
-
#define JPH_PROFILE_TAG(line) JPH_PROFILE_TAG2(line)
|
|
268
|
-
#define JPH_PROFILE(...) ProfileMeasurement JPH_PROFILE_TAG(__LINE__)(__VA_ARGS__)
|
|
269
|
-
|
|
270
|
-
/// Scope profiling for function
|
|
271
|
-
#define JPH_PROFILE_FUNCTION() JPH_PROFILE(JPH_FUNCTION_NAME)
|
|
272
|
-
|
|
273
|
-
/// Update frame counter
|
|
274
|
-
#define JPH_PROFILE_NEXTFRAME() Profiler::sInstance->NextFrame()
|
|
275
|
-
|
|
276
|
-
/// Dump profiling info
|
|
277
|
-
#define JPH_PROFILE_DUMP(...) Profiler::sInstance->Dump(__VA_ARGS__)
|
|
278
|
-
|
|
279
|
-
JPH_SUPPRESS_WARNING_POP
|
|
280
|
-
|
|
281
|
-
#else
|
|
282
|
-
|
|
283
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
284
|
-
// Dummy profiling instructions
|
|
285
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
286
|
-
|
|
287
|
-
JPH_SUPPRESS_WARNING_PUSH
|
|
288
|
-
JPH_CLANG_SUPPRESS_WARNING("-Wc++98-compat-pedantic")
|
|
289
|
-
|
|
290
|
-
#define JPH_PROFILE_START(name)
|
|
291
|
-
#define JPH_PROFILE_END()
|
|
292
|
-
#define JPH_PROFILE_THREAD_START(name)
|
|
293
|
-
#define JPH_PROFILE_THREAD_END()
|
|
294
|
-
#define JPH_PROFILE(...)
|
|
295
|
-
#define JPH_PROFILE_FUNCTION()
|
|
296
|
-
#define JPH_PROFILE_NEXTFRAME()
|
|
297
|
-
#define JPH_PROFILE_DUMP(...)
|
|
298
|
-
|
|
299
|
-
JPH_SUPPRESS_WARNING_POP
|
|
300
|
-
|
|
301
|
-
#endif
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
|
|
2
|
-
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
|
|
3
|
-
// SPDX-License-Identifier: MIT
|
|
4
|
-
|
|
5
|
-
JPH_NAMESPACE_BEGIN
|
|
6
|
-
|
|
7
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
8
|
-
// ProfileThread
|
|
9
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
10
|
-
|
|
11
|
-
ProfileThread::ProfileThread(const string_view &inThreadName) :
|
|
12
|
-
mThreadName(inThreadName)
|
|
13
|
-
{
|
|
14
|
-
Profiler::sInstance->AddThread(this);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
ProfileThread::~ProfileThread()
|
|
18
|
-
{
|
|
19
|
-
Profiler::sInstance->RemoveThread(this);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
23
|
-
// ProfileMeasurement
|
|
24
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
25
|
-
|
|
26
|
-
JPH_TSAN_NO_SANITIZE // TSAN reports a race on sOutOfSamplesReported, however the worst case is that we report the out of samples message multiple times
|
|
27
|
-
ProfileMeasurement::ProfileMeasurement(const char *inName, uint32 inColor)
|
|
28
|
-
{
|
|
29
|
-
ProfileThread *current_thread = ProfileThread::sGetInstance();
|
|
30
|
-
if (current_thread == nullptr)
|
|
31
|
-
{
|
|
32
|
-
// Thread not instrumented
|
|
33
|
-
mSample = nullptr;
|
|
34
|
-
}
|
|
35
|
-
else if (current_thread->mCurrentSample < ProfileThread::cMaxSamples)
|
|
36
|
-
{
|
|
37
|
-
// Get pointer to write data to
|
|
38
|
-
mSample = ¤t_thread->mSamples[current_thread->mCurrentSample++];
|
|
39
|
-
|
|
40
|
-
// Start constructing sample (will end up on stack)
|
|
41
|
-
mTemp.mName = inName;
|
|
42
|
-
mTemp.mColor = inColor;
|
|
43
|
-
|
|
44
|
-
// Collect start sample last
|
|
45
|
-
mTemp.mStartCycle = GetProcessorTickCount();
|
|
46
|
-
}
|
|
47
|
-
else
|
|
48
|
-
{
|
|
49
|
-
// Out of samples
|
|
50
|
-
if (!sOutOfSamplesReported)
|
|
51
|
-
{
|
|
52
|
-
sOutOfSamplesReported = true;
|
|
53
|
-
Trace("ProfileMeasurement: Too many samples, some data will be lost!");
|
|
54
|
-
}
|
|
55
|
-
mSample = nullptr;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
ProfileMeasurement::~ProfileMeasurement()
|
|
60
|
-
{
|
|
61
|
-
if (mSample != nullptr)
|
|
62
|
-
{
|
|
63
|
-
// Finalize sample
|
|
64
|
-
mTemp.mEndCycle = GetProcessorTickCount();
|
|
65
|
-
|
|
66
|
-
// Write it to the memory buffer bypassing the cache
|
|
67
|
-
static_assert(sizeof(ProfileSample) == 32, "Assume 32 bytes");
|
|
68
|
-
static_assert(alignof(ProfileSample) == 16, "Assume 16 byte alignment");
|
|
69
|
-
#if defined(JPH_USE_SSE)
|
|
70
|
-
const __m128i *src = reinterpret_cast<const __m128i *>(&mTemp);
|
|
71
|
-
__m128i *dst = reinterpret_cast<__m128i *>(mSample);
|
|
72
|
-
__m128i val = _mm_loadu_si128(src);
|
|
73
|
-
_mm_stream_si128(dst, val);
|
|
74
|
-
val = _mm_loadu_si128(src + 1);
|
|
75
|
-
_mm_stream_si128(dst + 1, val);
|
|
76
|
-
#elif defined(JPH_USE_NEON)
|
|
77
|
-
const int *src = reinterpret_cast<const int *>(&mTemp);
|
|
78
|
-
int *dst = reinterpret_cast<int *>(mSample);
|
|
79
|
-
int32x4_t val = vld1q_s32(src);
|
|
80
|
-
vst1q_s32(dst, val);
|
|
81
|
-
val = vld1q_s32(src + 4);
|
|
82
|
-
vst1q_s32(dst + 4, val);
|
|
83
|
-
#else
|
|
84
|
-
memcpy(mSample, &mTemp, sizeof(ProfileSample));
|
|
85
|
-
#endif
|
|
86
|
-
mSample = nullptr;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
JPH_NAMESPACE_END
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
|
|
2
|
-
// SPDX-FileCopyrightText: 2022 Jorrit Rouwe
|
|
3
|
-
// SPDX-License-Identifier: MIT
|
|
4
|
-
|
|
5
|
-
#pragma once
|
|
6
|
-
|
|
7
|
-
#include <Jolt/Core/InsertionSort.h>
|
|
8
|
-
|
|
9
|
-
JPH_NAMESPACE_BEGIN
|
|
10
|
-
|
|
11
|
-
/// Helper function for QuickSort, will move the pivot element to inMiddle.
|
|
12
|
-
template <typename Iterator, typename Compare>
|
|
13
|
-
inline void QuickSortMedianOfThree(Iterator inFirst, Iterator inMiddle, Iterator inLast, Compare inCompare)
|
|
14
|
-
{
|
|
15
|
-
// This should be guaranteed because we switch over to insertion sort when there's 32 or less elements
|
|
16
|
-
JPH_ASSERT(inFirst != inMiddle && inMiddle != inLast);
|
|
17
|
-
|
|
18
|
-
if (inCompare(*inMiddle, *inFirst))
|
|
19
|
-
std::swap(*inFirst, *inMiddle);
|
|
20
|
-
|
|
21
|
-
if (inCompare(*inLast, *inFirst))
|
|
22
|
-
std::swap(*inFirst, *inLast);
|
|
23
|
-
|
|
24
|
-
if (inCompare(*inLast, *inMiddle))
|
|
25
|
-
std::swap(*inMiddle, *inLast);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/// Helper function for QuickSort using the Ninther method, will move the pivot element to inMiddle.
|
|
29
|
-
template <typename Iterator, typename Compare>
|
|
30
|
-
inline void QuickSortNinther(Iterator inFirst, Iterator inMiddle, Iterator inLast, Compare inCompare)
|
|
31
|
-
{
|
|
32
|
-
// Divide the range in 8 equal parts (this means there are 9 points)
|
|
33
|
-
auto diff = (inLast - inFirst) >> 3;
|
|
34
|
-
auto two_diff = diff << 1;
|
|
35
|
-
|
|
36
|
-
// Median of first 3 points
|
|
37
|
-
Iterator mid1 = inFirst + diff;
|
|
38
|
-
QuickSortMedianOfThree(inFirst, mid1, inFirst + two_diff, inCompare);
|
|
39
|
-
|
|
40
|
-
// Median of second 3 points
|
|
41
|
-
QuickSortMedianOfThree(inMiddle - diff, inMiddle, inMiddle + diff, inCompare);
|
|
42
|
-
|
|
43
|
-
// Median of third 3 points
|
|
44
|
-
Iterator mid3 = inLast - diff;
|
|
45
|
-
QuickSortMedianOfThree(inLast - two_diff, mid3, inLast, inCompare);
|
|
46
|
-
|
|
47
|
-
// Determine the median of the 3 medians
|
|
48
|
-
QuickSortMedianOfThree(mid1, inMiddle, mid3, inCompare);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/// Implementation of the quick sort algorithm. The STL version implementation is not consistent across platforms.
|
|
52
|
-
template <typename Iterator, typename Compare>
|
|
53
|
-
inline void QuickSort(Iterator inBegin, Iterator inEnd, Compare inCompare)
|
|
54
|
-
{
|
|
55
|
-
// Implementation based on https://en.wikipedia.org/wiki/Quicksort using Hoare's partition scheme
|
|
56
|
-
|
|
57
|
-
// Loop so that we only need to do 1 recursive call instead of 2.
|
|
58
|
-
for (;;)
|
|
59
|
-
{
|
|
60
|
-
// If there's less than 2 elements we're done
|
|
61
|
-
auto num_elements = inEnd - inBegin;
|
|
62
|
-
if (num_elements < 2)
|
|
63
|
-
return;
|
|
64
|
-
|
|
65
|
-
// Fall back to insertion sort if there are too few elements
|
|
66
|
-
if (num_elements <= 32)
|
|
67
|
-
{
|
|
68
|
-
InsertionSort(inBegin, inEnd, inCompare);
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Determine pivot
|
|
73
|
-
Iterator pivot_iterator = inBegin + ((num_elements - 1) >> 1);
|
|
74
|
-
QuickSortNinther(inBegin, pivot_iterator, inEnd - 1, inCompare);
|
|
75
|
-
auto pivot = *pivot_iterator;
|
|
76
|
-
|
|
77
|
-
// Left and right iterators
|
|
78
|
-
Iterator i = inBegin;
|
|
79
|
-
Iterator j = inEnd;
|
|
80
|
-
|
|
81
|
-
for (;;)
|
|
82
|
-
{
|
|
83
|
-
// Find the first element that is bigger than the pivot
|
|
84
|
-
while (inCompare(*i, pivot))
|
|
85
|
-
i++;
|
|
86
|
-
|
|
87
|
-
// Find the last element that is smaller than the pivot
|
|
88
|
-
do
|
|
89
|
-
--j;
|
|
90
|
-
while (inCompare(pivot, *j));
|
|
91
|
-
|
|
92
|
-
// If the two iterators crossed, we're done
|
|
93
|
-
if (i >= j)
|
|
94
|
-
break;
|
|
95
|
-
|
|
96
|
-
// Swap the elements
|
|
97
|
-
std::swap(*i, *j);
|
|
98
|
-
|
|
99
|
-
// Note that the first while loop in this function should
|
|
100
|
-
// have been do i++ while (...) but since we cannot decrement
|
|
101
|
-
// the iterator from inBegin we left that out, so we need to do
|
|
102
|
-
// it here.
|
|
103
|
-
++i;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Include the middle element on the left side
|
|
107
|
-
j++;
|
|
108
|
-
|
|
109
|
-
// Check which partition is smaller
|
|
110
|
-
if (j - inBegin < inEnd - j)
|
|
111
|
-
{
|
|
112
|
-
// Left side is smaller, recurse to left first
|
|
113
|
-
QuickSort(inBegin, j, inCompare);
|
|
114
|
-
|
|
115
|
-
// Loop again with the right side to avoid a call
|
|
116
|
-
inBegin = j;
|
|
117
|
-
}
|
|
118
|
-
else
|
|
119
|
-
{
|
|
120
|
-
// Right side is smaller, recurse to right first
|
|
121
|
-
QuickSort(j, inEnd, inCompare);
|
|
122
|
-
|
|
123
|
-
// Loop again with the left side to avoid a call
|
|
124
|
-
inEnd = j;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/// Implementation of quick sort algorithm without comparator.
|
|
130
|
-
template <typename Iterator>
|
|
131
|
-
inline void QuickSort(Iterator inBegin, Iterator inEnd)
|
|
132
|
-
{
|
|
133
|
-
std::less<> compare;
|
|
134
|
-
QuickSort(inBegin, inEnd, compare);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
JPH_NAMESPACE_END
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
|
|
2
|
-
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
|
|
3
|
-
// SPDX-License-Identifier: MIT
|
|
4
|
-
|
|
5
|
-
#include <Jolt/Jolt.h>
|
|
6
|
-
|
|
7
|
-
#include <Jolt/Core/RTTI.h>
|
|
8
|
-
#include <Jolt/Core/StringTools.h>
|
|
9
|
-
|
|
10
|
-
JPH_NAMESPACE_BEGIN
|
|
11
|
-
|
|
12
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
13
|
-
// RTTI
|
|
14
|
-
//////////////////////////////////////////////////////////////////////////////////////////
|
|
15
|
-
|
|
16
|
-
RTTI::RTTI(const char *inName, int inSize, pCreateObjectFunction inCreateObject, pDestructObjectFunction inDestructObject) :
|
|
17
|
-
mName(inName),
|
|
18
|
-
mSize(inSize),
|
|
19
|
-
mCreate(inCreateObject),
|
|
20
|
-
mDestruct(inDestructObject)
|
|
21
|
-
{
|
|
22
|
-
JPH_ASSERT(inDestructObject != nullptr, "Object cannot be destructed");
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
RTTI::RTTI(const char *inName, int inSize, pCreateObjectFunction inCreateObject, pDestructObjectFunction inDestructObject, pCreateRTTIFunction inCreateRTTI) :
|
|
26
|
-
mName(inName),
|
|
27
|
-
mSize(inSize),
|
|
28
|
-
mCreate(inCreateObject),
|
|
29
|
-
mDestruct(inDestructObject)
|
|
30
|
-
{
|
|
31
|
-
JPH_ASSERT(inDestructObject != nullptr, "Object cannot be destructed");
|
|
32
|
-
|
|
33
|
-
inCreateRTTI(*this);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
int RTTI::GetBaseClassCount() const
|
|
37
|
-
{
|
|
38
|
-
return (int)mBaseClasses.size();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
const RTTI *RTTI::GetBaseClass(int inIdx) const
|
|
42
|
-
{
|
|
43
|
-
return mBaseClasses[inIdx].mRTTI;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
uint32 RTTI::GetHash() const
|
|
47
|
-
{
|
|
48
|
-
// Perform diffusion step to get from 64 to 32 bits (see https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function)
|
|
49
|
-
uint64 hash = HashString(mName);
|
|
50
|
-
return (uint32)(hash ^ (hash >> 32));
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
void *RTTI::CreateObject() const
|
|
54
|
-
{
|
|
55
|
-
return IsAbstract()? nullptr : mCreate();
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
void RTTI::DestructObject(void *inObject) const
|
|
59
|
-
{
|
|
60
|
-
mDestruct(inObject);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
void RTTI::AddBaseClass(const RTTI *inRTTI, int inOffset)
|
|
64
|
-
{
|
|
65
|
-
JPH_ASSERT(inOffset >= 0 && inOffset < mSize, "Base class not contained in derived class");
|
|
66
|
-
|
|
67
|
-
// Add base class
|
|
68
|
-
BaseClass base;
|
|
69
|
-
base.mRTTI = inRTTI;
|
|
70
|
-
base.mOffset = inOffset;
|
|
71
|
-
mBaseClasses.push_back(base);
|
|
72
|
-
|
|
73
|
-
#ifdef JPH_OBJECT_STREAM
|
|
74
|
-
// Add attributes of base class
|
|
75
|
-
for (const SerializableAttribute &a : inRTTI->mAttributes)
|
|
76
|
-
mAttributes.push_back(SerializableAttribute(a, inOffset));
|
|
77
|
-
#endif // JPH_OBJECT_STREAM
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
bool RTTI::operator == (const RTTI &inRHS) const
|
|
81
|
-
{
|
|
82
|
-
// Compare addresses
|
|
83
|
-
if (this == &inRHS)
|
|
84
|
-
return true;
|
|
85
|
-
|
|
86
|
-
// Check that the names differ (if that is the case we probably have two instances
|
|
87
|
-
// of the same attribute info across the program, probably the second is in a DLL)
|
|
88
|
-
JPH_ASSERT(strcmp(mName, inRHS.mName) != 0);
|
|
89
|
-
return false;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
bool RTTI::IsKindOf(const RTTI *inRTTI) const
|
|
93
|
-
{
|
|
94
|
-
// Check if this is the same type
|
|
95
|
-
if (this == inRTTI)
|
|
96
|
-
return true;
|
|
97
|
-
|
|
98
|
-
// Check all base classes
|
|
99
|
-
for (const BaseClass &b : mBaseClasses)
|
|
100
|
-
if (b.mRTTI->IsKindOf(inRTTI))
|
|
101
|
-
return true;
|
|
102
|
-
|
|
103
|
-
return false;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
const void *RTTI::CastTo(const void *inObject, const RTTI *inRTTI) const
|
|
107
|
-
{
|
|
108
|
-
JPH_ASSERT(inObject != nullptr);
|
|
109
|
-
|
|
110
|
-
// Check if this is the same type
|
|
111
|
-
if (this == inRTTI)
|
|
112
|
-
return inObject;
|
|
113
|
-
|
|
114
|
-
// Check all base classes
|
|
115
|
-
for (const BaseClass &b : mBaseClasses)
|
|
116
|
-
{
|
|
117
|
-
// Cast the pointer to the base class
|
|
118
|
-
const void *casted = (const void *)(((const uint8 *)inObject) + b.mOffset);
|
|
119
|
-
|
|
120
|
-
// Test base class
|
|
121
|
-
const void *rv = b.mRTTI->CastTo(casted, inRTTI);
|
|
122
|
-
if (rv != nullptr)
|
|
123
|
-
return rv;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Not possible to cast
|
|
127
|
-
return nullptr;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
#ifdef JPH_OBJECT_STREAM
|
|
131
|
-
|
|
132
|
-
void RTTI::AddAttribute(const SerializableAttribute &inAttribute)
|
|
133
|
-
{
|
|
134
|
-
mAttributes.push_back(inAttribute);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
int RTTI::GetAttributeCount() const
|
|
138
|
-
{
|
|
139
|
-
return (int)mAttributes.size();
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
const SerializableAttribute &RTTI::GetAttribute(int inIdx) const
|
|
143
|
-
{
|
|
144
|
-
return mAttributes[inIdx];
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
#endif // JPH_OBJECT_STREAM
|
|
148
|
-
|
|
149
|
-
JPH_NAMESPACE_END
|