I like to put the typical params first, so I would put x, y before m, i. Also, x, y, w and h are used EVERYWHERE in a 2D/sprite-based game (because everything is rectangles), which is why I use 1-letter names for them. However, mass and moment of inertia are not common things, so you might want to use more descriptive variable names.