do we really need to multiply by bit count?

This commit is contained in:
NotAKidoS 2023-01-27 04:41:31 -06:00
parent 54aeb9fd31
commit 29a32b6453
2 changed files with 2 additions and 4 deletions

View file

@ -41,9 +41,7 @@ public class Utils
}
//bool to byte
avatarBoolCount = ((int)Math.Ceiling((double)avatarBoolCount / 8) * 8);
avatarFloatCount *= 32;
avatarIntCount *= 32;
avatarBoolCount = ((int)Math.Ceiling((double)avatarBoolCount / 8));
//create the footprint
return (avatarFloatCount + 1) * (avatarIntCount + 1) * (avatarBoolCount + 1);