Where is PhysicsBody defined?
filipencopav opened this issue · 2 comments
filipencopav commented
You have this line:
typedef struct PhysicsBodyData *PhysicsBody;
But where is PhysicsBody defined?
I am trying to do a rust port, should i just create a struct PhysicsBody
or struct PhysicsBodyData
?
raysan5 commented
@Theamazingwaffle actually that line is type-defining (PhysicsBodyData *)
pointer as PhysicsBody
, it means wherever you use PhysicsBody
you're actually using (PhysicsBodyData *)
pointer, that way the pointer format is not seen directly.
filipencopav commented
thanks