Keep exploring at Get started for free, and hurry—the first 200 people get 20% off an annual premium subscription.
Patreon ►
Instagram ►
Twitter ►
Discord ►
Code ►
Designing a Physics Engine in 5 minutes ►
Send an email to chernoreview@ with your source code, a brief explanation, and what you need help with/want me to review and you could be in the next episode of my Code Review series! Also let me know if you would like to remain anonymous.
CHAPTERS
0:00 - Recap
1:14 - How to design an API
2:52 - 2D Physics Engine design
9:02 - Pointers and ownership semantics
13:00 - Using std::weak_ptr to be “safer“
14:39 - More physics
16:42 - Spatial partitioning for optimization
22:55 - Be careful when trying to optimize!
26:37 - Physics solvers
31:50 - Final thoughts and extra challenges
This video is sponsored by Brilliant.
#CodeReview
1 view
0
0
1 month ago 00:10:48 1
Neil deGrasse Tyson Explains Dimensions
1 month ago 00:00:53 1
MADRIX @ Ripple Creative Fitness in Mexico City
1 month ago 00:03:23 1
Jon Hopkins - Emerald Rush (Official Video)
1 month ago 00:08:40 1
Procedural Running / Galloping in Minecraft
1 month ago 00:11:51 5
The Double Bubble Theorem
2 months ago 00:06:07 1
APARTMENTS, OFFICES, PEOPLE IN THE CITY OF NARAÏS ON PLANET ELTAÏRIA video 2
2 months ago 00:05:55 1
APARTMENTS OFFICES AND PEOPLE
2 months ago 00:06:27 19
Why Is Nobody Talking About This 3D Platform
2 months ago 00:02:05 1
Galactic Thunderdome - Official Gameplay Trailer
2 months ago 00:00:30 1
Watch Antman Get Inflated, Melted, Squished, Crushed and Exploded by AI Physics! #antman #physics