HackerTrans
TopNewTrendsCommentsPastAskShowJobs

skylabmelody

no profile record

comments

skylabmelody
·قبل 12 شهرًا·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 شهرًا·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 سنوات·discuss
Seems exactly like broad phase and narrow phase in games physics engine.