Hello!
I just have a small question; looked through the manual, wiki, and source of Box2D back and forth but to no avail. (Not to say it wasn't a good read~)
What does the struct 'b2XForm' do, exactly..?
I understand it's members are a vector and a 2x2 matrix, but I'm at a lose for what they're used for inside Box2D. I'm assuming the 2x2 matrix is for rotations, and the vector is for the position, but I could never really confirm that anywhere.
Probably just a newb question with a simple answer, but it's been buggin' me for a while now. Thank's for your time in advance!
(Oh, and not to be sappy, but thank you so verily much for this terrific physics library, Prof. Catto! It's quite literally the best thing since Box1D.) [/lame]
I just have a small question; looked through the manual, wiki, and source of Box2D back and forth but to no avail. (Not to say it wasn't a good read~)
What does the struct 'b2XForm' do, exactly..?
I understand it's members are a vector and a 2x2 matrix, but I'm at a lose for what they're used for inside Box2D. I'm assuming the 2x2 matrix is for rotations, and the vector is for the position, but I could never really confirm that anywhere.
Probably just a newb question with a simple answer, but it's been buggin' me for a while now. Thank's for your time in advance!
(Oh, and not to be sappy, but thank you so verily much for this terrific physics library, Prof. Catto! It's quite literally the best thing since Box1D.) [/lame]