HackerTrans
トップ新着トレンドコメント過去質問紹介求人

skylabmelody

no profile record

コメント

skylabmelody
·12 か月前·議論
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 か月前·議論
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 年前·議論
Seems exactly like broad phase and narrow phase in games physics engine.