love.physics method naming
ChainShape:setPrevVertex isn't so easy to say vocally or subvocally, how about
Because of grammar, returning a single boolean, and consistency with Body:
World:setAllowSleeping -> setSleepingAllowed World:getAllowSleeping -> isSleepingAllowed
Joint:getCollideConnected also returns a single boolean... I'm not sure what it should be named though.
For setter/getter symmetry and API consistency (via not starting a method with "enable"):
Prismatic/RevoluteJoint:enableLimit -> setLimitsEnabled RevoluteJoint:isLimitsEnabled -> hasLimitsEnabled PrismaticJoint:isLimitEnabled -> hasLimitsEnabled Prismatic/RevoluteJoint:enableMotor -> setMotorEnabled
Is there are reason why
computeMass aren't named
getMass? Perhaps it's good that it communicates that it doesn't simply return state, but does a computation based on the state and information given as arguments, but it seems inconsistent with
Font:getWrap, which seem analogous. Edit: I'm not necessarily suggesting these
get* names, just thinking out loud, hehe.