getBoundingBox() inconsistency?

getBoundingBox() inconsistency?
0.0 0


CCRects when used through jsb are converted as an object with x/y/width/height properties (in ccrect_to_jsval) but the html5 and c++ api has an ‘origin’ CCPoint property and a ‘size’ CCSize property.

Shouldn’t the jsb binding return a origin/size property for CCRect?


Thanks. Yes, it looks like a but to me.
Could you open a ticket ? or better, submit a patch ? :slight_smile:



Thanks for the response.
Ticket: sure
Patch: I’ll try


Issue #3065 has been created for this.