HackerTrans
TopNewTrendsCommentsPastAskShowJobs

skylabmelody

no profile record

comments

skylabmelody
·12 maanden geleden·discuss
My suggestion is straight from the C++ guidelines by Bjarne Stroustrup and Herb Sutter (ES.102: Use signed types for arithmetic), for reasons that you don't seem to grasp.
skylabmelody
·12 maanden geleden·discuss
I would suggest to never use unsigned int for values that will involve any sort of calculations on them (health, damage, speed). This is considered bad practice due to overflow and should be avoided, with the exception of values that are used for UIDs, indexes, bitfields, mask and flags.
skylabmelody
·4 jaar geleden·discuss
Seems exactly like broad phase and narrow phase in games physics engine.