Page 1 of 1

What is the return value of Ammo._malloc

Posted: Fri Jul 16, 2021 3:29 pm
by Mr.jiang
A question about the ported version of bullets javascript,What is the return value of Ammo._malloc, I don't understand why it is necessary to shift right by 2 bits

Code: Select all

 ammoHeightData + p2 >>2 
who knows
Snipaste_2021-07-16_23-28-00.png