1. Never use C assert, use ASSERT macro in Utils 2. Most likely you should throw here. https://github.com/ahmadqasembader/physics-engine/blob/d1b3315d60a2b71f1d00f84424eb7fd57fa52d7f/particle.cpp#L53
physics-engine/particle.cpp
Line 53 in d1b3315