erincatto / box2d

Box2D is a 2D physics engine for games
https://box2d.org
MIT License
8.36k stars 1.55k forks source link

removed unused variables in b2_collision.cpp #761

Closed DJLink closed 3 months ago

DJLink commented 10 months ago

These 2 unused variables were throwing some warnings, so I decided to remove them. depending on compiler optimization (probably only issue in debug) in removing or not these variables this might save a b2Vec2 subtraction operation as well.

erincatto commented 3 months ago

This file has been rewritten for version 3.0