Lazy-RE
A simple proc macro for the lazy reverse engineers. It basically creates the padding for you.
That would create the padding for the Light
struct at the beginning, i.e.
the x
field will be at the offset 0x10
, and the rest is filled with [u8; 0x10]
.
Similarly, the PlayerEntity will have padding until the Light
struct, and
then it'll pad between the light and the player position, doing the math for
you.