https://www.dropbox.com/s/39iccklso9jves5/b2ContantVolumeJoint_Cpp.zip?dl=0
https://www.youtube.com/watch?v=2UQqtdGQcL0
-------------
Box2D/Box2D.h
---------
+ #include <Box2D/Dynamics/Joints/b2ConstantVolumeJoint.h>
Box2D/Dynamics/b2Body.h
---------
+ friend class b2ConstantVolumeJoint;
Box2D/Dynamics/Joints/b2Joint.h
---------
+ e_constantVolumeJoint
Box2D/Dynamics/Joints/b2Joint.cpp
---------
+ case e_constantVolumeJoint:
{
void* mem = allocator->Allocate(sizeof(b2ConstantVolumeJoint));
joint = new (mem) b2ConstantVolumeJoint(static_cast<const b2ConstantVolumeJointDef*>(def));
}
break;
...
+ case e_constantVolumeJoint:
allocator->Free(joint, sizeof(b2ConstantVolumeJoint));
break;
---------------------------
Box2D/Dynamics/Joints/
----------------------------
+ b2ConstantVolumeJoint.cpp
+ b2ConstantVolumeJoint.h
--------------------------------------------
Testbed/Tests/TestEntries.cpp
------------------------------
..
+ #include "Blob.h"
...
...
+ {"Blob", Blob::Create},
---------------
Testbed/Tests/
--------------
+ Blob.h
https://www.youtube.com/watch?v=2UQqtdGQcL0
-------------
Box2D/Box2D.h
---------
+ #include <Box2D/Dynamics/Joints/b2ConstantVolumeJoint.h>
Box2D/Dynamics/b2Body.h
---------
+ friend class b2ConstantVolumeJoint;
Box2D/Dynamics/Joints/b2Joint.h
---------
+ e_constantVolumeJoint
Box2D/Dynamics/Joints/b2Joint.cpp
---------
+ case e_constantVolumeJoint:
{
void* mem = allocator->Allocate(sizeof(b2ConstantVolumeJoint));
joint = new (mem) b2ConstantVolumeJoint(static_cast<const b2ConstantVolumeJointDef*>(def));
}
break;
...
+ case e_constantVolumeJoint:
allocator->Free(joint, sizeof(b2ConstantVolumeJoint));
break;
---------------------------
Box2D/Dynamics/Joints/
----------------------------
+ b2ConstantVolumeJoint.cpp
+ b2ConstantVolumeJoint.h
--------------------------------------------
Testbed/Tests/TestEntries.cpp
------------------------------
..
+ #include "Blob.h"
...
...
+ {"Blob", Blob::Create},
---------------
Testbed/Tests/
--------------
+ Blob.h

