Commits on Oct 18, 2020

  1. Remove unnecessary function (#659)

    SetUserData is no longer needed since a non-const reference is provided by GetUserData.
    erincatto authored Oct 18, 2020
    2 Configuration menu
    Copy the full SHA
    95f74a4 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Typo fix (#684)

    gittem01 authored Jul 20, 2021
    Configuration menu
    Copy the full SHA
    eb8b535 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd2c28d View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2021

  1. 667, 702, and 705

    erincatto committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    69276dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e32f3e View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2021

  1. Configuration menu
    Copy the full SHA
    0535dd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e871b8 View commit details
    Browse the repository at this point in the history
  3. update doctest for #677

    erincatto committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    e76cf2d View commit details
    Browse the repository at this point in the history
  4. default constructors #683

    erincatto committed Dec 29, 2021
    Configuration menu
    Copy the full SHA
    a1225ee View commit details
    Browse the repository at this point in the history
  5. Create cmake.yml (#707)

    Switch from travis to Github Actions for CI and testing
    erincatto authored Dec 29, 2021
    Configuration menu
    Copy the full SHA
    11729ca View commit details
    Browse the repository at this point in the history
  6. Update README.md

    erincatto authored Dec 29, 2021
    Configuration menu
    Copy the full SHA
    0e45a81 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2021

  1. Configuration menu
    Copy the full SHA
    c6cc364 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2021

  1. Issue Fixes (#709)

    Small fixes for: #681, #686, #689, #690, #691, #692, #694, #695, #696
    Fix workflow for main
    erincatto authored Dec 31, 2021
    Configuration menu
    Copy the full SHA
    9dc24a6 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2022

  1. Making hull builder more robust (#735)

    nitially I tried to make gift wrapping handle collinear points better. Conclusion: gift wrapping is a bad algorithm.
    So I removed gift wrapping and implemented quickhull. I also added code to explicitly remove collinear points. This turns out to be quite easy once you have a convex hull.
    
    I ran over 200 million randomized tests successfully with test data that is very likely to have collinear points with small numerical deviations. All the tests passed and algorithm correctly rejects very close points and fully collinear points.
    
    I also tested performance at around 150 milliseconds per million hulls.
    
    I split out the convex hull code into a separate function b2ComputeHull. This lets people build hulls offline and check for hull validity before using them in b2PolygonShape.
    
    This video is a good reference for the 2D quickhull algorithm (my implementation is different): https://www.youtube.com/watch?v=2EKIZrimeuk
    
    Fixes: #671 #728
    erincatto authored Dec 25, 2022
    Configuration menu
    Copy the full SHA
    d8e153b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87c98c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23c5d60 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Add benchmark test (#744)

    lots of confined boxes
    erincatto authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    411acc3 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Update to Version 3 (#769)

    This code is migrated from https://github.com/erincatto/box2c
    
    - readme
    - build scripts
    - maximum linear velocity in world def, fast rotation in body def
    erincatto authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    ec0e21c View commit details
    Browse the repository at this point in the history
  2. Update README.md

    Fix migration guide link
    erincatto authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    8e7a17c View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Fix null being passed to memcpy (#770)

    Joints were incorrectly using the body bit-set for the overflow color
    Sensor shapes now always generate events when created
    erincatto authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    2b880d1 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Custom SSE2 and Neon (#772)

    - hand written SSE2, Neon, and scalar SIMD
    - improved performance of SSE2 (x64) and Neon (ARM)
    - removed SIMDE library
    - SSE2 is the default on x64
    erincatto authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    0e333ff View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Cross platform determinism (#773)

    Cross platform determinism by implementing custom trigonometry functions
    64-bit filter category and mask
    Fixed island bug
    Added `b2DefaultDebugDraw()`
    erincatto authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    9314f30 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Misc Issues (#783)

    - renamed smooth segment to chain segment
    - addressed several minor issues
    
    #777
    #779
    #754 
    #749 
    #782 
    #781 
    #776
    erincatto authored Aug 31, 2024
    Configuration menu
    Copy the full SHA
    5fdbbc8 View commit details
    Browse the repository at this point in the history
  2. Linux gcc fixes (#784)

    Fixes #774 and more.
    
    Added Intel N100 benchmarks.
    erincatto authored Aug 31, 2024
    Configuration menu
    Copy the full SHA
    e6cbbfc View commit details
    Browse the repository at this point in the history
  3. Cross platform random numbers for samples (#785)

    Don't using the standard library `rand()`. This way all samples should
    be cross platform deterministic.
    Simplified clang compile options for determinism.
    b2Shape_RayCast now uses b2RayCastInput.
    erincatto authored Aug 31, 2024
    Configuration menu
    Copy the full SHA
    d323a0e View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Update AMD benchmarks (#787)

    Updated benchmarks for AMD Ryzen when new Windows 11 patch.
    
    #788
    #791
    erincatto authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    c69eee4 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Array refactor (#796)

    Internal arrays using macro generated functions instead of stretchy
    buffers.
    Added `b2Body_GetWorld`
    Added `b2CosSin` and `b2ComputeCosSin`
    erincatto authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    c56a76d View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. New capsule collider (#804)

    Wrote a custom capsule versus capsule collider which is more robust than
    treating capsules as two face polygons.
    erincatto authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    df7373c View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Fix missing hit events (#808)

    add test for null pair task
    add manifold to contact begin events
    
    #803 #806
    erincatto authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    67b9835 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Explosion features (#810)

    set weld joint reference angle
    fixed some angle wrapping bugs
    erincatto authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e7cb9f0 View commit details
    Browse the repository at this point in the history
  2. Friction and restitution mixing rules (#811)

    get/set max linear velocity
    erincatto authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    b864f53 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. Cast benchmark (#817)

    - optimized ray and shape cast : 2x faster
    - update mass options instead of automatic mass
    - fixes for 32-bit Windows build
    - b2TreeStats for measuring query performance
    - reduced tree node size from 48-bytes to 40-bytes
    - fixes for 32-bit Neon
    - MSVC warning level 4 and fixes
    #814, #815, #813, #809
    erincatto authored Oct 6, 2024
    Configuration menu
    Copy the full SHA
    a7123be View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    2dbb681 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. fix atan2 and add more unit tests (#821)

    added point overlap test
    erincatto authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    aee18c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Fixed bug with static shape recreation (#822)

    Added translation and speed functions for prismatic joint.
    Fix missing sensor end touch event for fast moving shapes.
    Null joint to disable collision between two specific bodies.
    World user data.
    More consistent functions to make polygons.
    Save and load uint64 from ids.
    erincatto authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    87e13e4 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Bounding box performance experiments (#829)

    - adjusted AABB margin based on performance testing
    - compute rotation between vectors
    - added macOS samples to GitHub actions
    
    #833, #835
    erincatto authored Nov 8, 2024
    Configuration menu
    Copy the full SHA
    0f192cd View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2024

  1. Event bookend (#837)

    Sensor and contact end touch events are now generated whenever a contact
    is destroyed via user operations, such as:
    - destroying a body or shape
    - changing filters
    - changing body type
    - disabling a body
    - connecting bodies via joints
    
    Enable hot reloading on MSVC.
    erincatto authored Nov 10, 2024
    Configuration menu
    Copy the full SHA
    90c2781 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2024

  1. Ragdoll benchmark (#838)

    It turns out emscripten compiles fine on WSL.
    Added benchmark for ragdolls.
    Created shared library for code shared by samples, benchmarks, and unit
    tests.
    Now samples and benchmarks can run off the same code.
    Fix solver set leak (thanks Melvyn)
    Pinned imgui and glfw versions
    erincatto authored Nov 16, 2024
    Configuration menu
    Copy the full SHA
    a9f2c92 View commit details
    Browse the repository at this point in the history