What is the return value of Ammo._malloc

Mr.jiang
Posts: 1
Joined: Fri Jul 16, 2021 3:12 pm

What is the return value of Ammo._malloc

Post 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
You do not have the required permissions to view the files attached to this post.