Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*===============================================
- This is a generated file, do not modify
- ===============================================*/
- #include "Dynamics/GENERATED_b2Body.h"
- DLLEXPORT b2Fixture* b2Body_METHOD_CreateFixture(b2Body* _this, const b2FixtureDef* def)
- {
- return _this->CreateFixture(def);
- }
- DLLEXPORT b2Fixture* b2Body_METHOD_CreateFixture(b2Body* _this, const b2Shape* shape, float32 density)
- {
- return _this->CreateFixture(shape, density);
- }
- DLLEXPORT void b2Body_METHOD_DestroyFixture(b2Body* _this, b2Fixture* fixture)
- {
- _this->DestroyFixture(fixture);
- }
- DLLEXPORT void b2Body_METHOD_SetTransform(b2Body* _this, const b2Vec2& position, float32 angle)
- {
- _this->SetTransform(position, angle);
- }
- DLLEXPORT const b2Transform& b2Body_METHOD_GetTransform(b2Body* _this)
- {
- return _this->GetTransform();
- }
- DLLEXPORT const b2Vec2& b2Body_METHOD_GetPosition(b2Body* _this)
- {
- return _this->GetPosition();
- }
- DLLEXPORT float32 b2Body_METHOD_GetAngle(b2Body* _this)
- {
- return _this->GetAngle();
- }
- DLLEXPORT const b2Vec2& b2Body_METHOD_GetWorldCenter(b2Body* _this)
- {
- return _this->GetWorldCenter();
- }
- DLLEXPORT const b2Vec2& b2Body_METHOD_GetLocalCenter(b2Body* _this)
- {
- return _this->GetLocalCenter();
- }
- DLLEXPORT void b2Body_METHOD_SetLinearVelocity(b2Body* _this, const b2Vec2& v)
- {
- _this->SetLinearVelocity(v);
- }
- DLLEXPORT const b2Vec2& b2Body_METHOD_GetLinearVelocity(b2Body* _this)
- {
- return _this->GetLinearVelocity();
- }
- DLLEXPORT void b2Body_METHOD_SetAngularVelocity(b2Body* _this, float32 omega)
- {
- _this->SetAngularVelocity(omega);
- }
- DLLEXPORT float32 b2Body_METHOD_GetAngularVelocity(b2Body* _this)
- {
- return _this->GetAngularVelocity();
- }
- DLLEXPORT void b2Body_METHOD_ApplyForce(b2Body* _this, const b2Vec2& force, const b2Vec2& point, bool wake)
- {
- _this->ApplyForce(force, point, wake);
- }
- DLLEXPORT void b2Body_METHOD_ApplyForceToCenter(b2Body* _this, const b2Vec2& force, bool wake)
- {
- _this->ApplyForceToCenter(force, wake);
- }
- DLLEXPORT void b2Body_METHOD_ApplyTorque(b2Body* _this, float32 torque, bool wake)
- {
- _this->ApplyTorque(torque, wake);
- }
- DLLEXPORT void b2Body_METHOD_ApplyLinearImpulse(b2Body* _this, const b2Vec2& impulse, const b2Vec2& point, bool wake)
- {
- _this->ApplyLinearImpulse(impulse, point, wake);
- }
- DLLEXPORT void b2Body_METHOD_ApplyAngularImpulse(b2Body* _this, float32 impulse, bool wake)
- {
- _this->ApplyAngularImpulse(impulse, wake);
- }
- DLLEXPORT float32 b2Body_METHOD_GetMass(b2Body* _this)
- {
- return _this->GetMass();
- }
- DLLEXPORT float32 b2Body_METHOD_GetInertia(b2Body* _this)
- {
- return _this->GetInertia();
- }
- DLLEXPORT void b2Body_METHOD_GetMassData(b2Body* _this, b2MassData* data)
- {
- _this->GetMassData(data);
- }
- DLLEXPORT void b2Body_METHOD_SetMassData(b2Body* _this, const b2MassData* data)
- {
- _this->SetMassData(data);
- }
- DLLEXPORT void b2Body_METHOD_ResetMassData(b2Body* _this)
- {
- _this->ResetMassData();
- }
- DLLEXPORT b2Vec2 b2Body_METHOD_GetWorldPoint(b2Body* _this, const b2Vec2& localPoint)
- {
- return _this->GetWorldPoint(localPoint);
- }
- DLLEXPORT b2Vec2 b2Body_METHOD_GetWorldVector(b2Body* _this, const b2Vec2& localVector)
- {
- return _this->GetWorldVector(localVector);
- }
- DLLEXPORT b2Vec2 b2Body_METHOD_GetLocalPoint(b2Body* _this, const b2Vec2& worldPoint)
- {
- return _this->GetLocalPoint(worldPoint);
- }
- DLLEXPORT b2Vec2 b2Body_METHOD_GetLocalVector(b2Body* _this, const b2Vec2& worldVector)
- {
- return _this->GetLocalVector(worldVector);
- }
- DLLEXPORT b2Vec2 b2Body_METHOD_GetLinearVelocityFromWorldPoint(b2Body* _this, const b2Vec2& worldPoint)
- {
- return _this->GetLinearVelocityFromWorldPoint(worldPoint);
- }
- DLLEXPORT b2Vec2 b2Body_METHOD_GetLinearVelocityFromLocalPoint(b2Body* _this, const b2Vec2& localPoint)
- {
- return _this->GetLinearVelocityFromLocalPoint(localPoint);
- }
- DLLEXPORT float32 b2Body_METHOD_GetLinearDamping(b2Body* _this)
- {
- return _this->GetLinearDamping();
- }
- DLLEXPORT void b2Body_METHOD_SetLinearDamping(b2Body* _this, float32 linearDamping)
- {
- _this->SetLinearDamping(linearDamping);
- }
- DLLEXPORT float32 b2Body_METHOD_GetAngularDamping(b2Body* _this)
- {
- return _this->GetAngularDamping();
- }
- DLLEXPORT void b2Body_METHOD_SetAngularDamping(b2Body* _this, float32 angularDamping)
- {
- _this->SetAngularDamping(angularDamping);
- }
- DLLEXPORT float32 b2Body_METHOD_GetGravityScale(b2Body* _this)
- {
- return _this->GetGravityScale();
- }
- DLLEXPORT void b2Body_METHOD_SetGravityScale(b2Body* _this, float32 scale)
- {
- _this->SetGravityScale(scale);
- }
- DLLEXPORT void b2Body_METHOD_SetType(b2Body* _this, b2BodyType type)
- {
- _this->SetType(type);
- }
- DLLEXPORT int b2Body_METHOD_GetType(b2Body* _this)
- {
- return _this->GetType();
- }
- DLLEXPORT void b2Body_METHOD_SetBullet(b2Body* _this, bool flag)
- {
- _this->SetBullet(flag);
- }
- DLLEXPORT bool b2Body_METHOD_IsBullet(b2Body* _this)
- {
- return _this->IsBullet();
- }
- DLLEXPORT void b2Body_METHOD_SetSleepingAllowed(b2Body* _this, bool flag)
- {
- _this->SetSleepingAllowed(flag);
- }
- DLLEXPORT bool b2Body_METHOD_IsSleepingAllowed(b2Body* _this)
- {
- return _this->IsSleepingAllowed();
- }
- DLLEXPORT void b2Body_METHOD_SetAwake(b2Body* _this, bool flag)
- {
- _this->SetAwake(flag);
- }
- DLLEXPORT bool b2Body_METHOD_IsAwake(b2Body* _this)
- {
- return _this->IsAwake();
- }
- DLLEXPORT void b2Body_METHOD_SetActive(b2Body* _this, bool flag)
- {
- _this->SetActive(flag);
- }
- DLLEXPORT bool b2Body_METHOD_IsActive(b2Body* _this)
- {
- return _this->IsActive();
- }
- DLLEXPORT void b2Body_METHOD_SetFixedRotation(b2Body* _this, bool flag)
- {
- _this->SetFixedRotation(flag);
- }
- DLLEXPORT bool b2Body_METHOD_IsFixedRotation(b2Body* _this)
- {
- return _this->IsFixedRotation();
- }
- DLLEXPORT b2Fixture* b2Body_METHOD_GetFixtureList(b2Body* _this)
- {
- return _this->GetFixtureList();
- }
- /* Cant have a const overloaded version of two functions function
- DLLEXPORT const b2Fixture* b2Body_METHOD_GetFixtureList(b2Body* _this)
- {
- return _this->GetFixtureList();
- }
- */
- DLLEXPORT b2JointEdge* b2Body_METHOD_GetJointList(b2Body* _this)
- {
- return _this->GetJointList();
- }
- /* Cant have a const overloaded version of two functions function
- DLLEXPORT const b2JointEdge* b2Body_METHOD_GetJointList(b2Body* _this)
- {
- return _this->GetJointList();
- }
- */
- DLLEXPORT b2ContactEdge* b2Body_METHOD_GetContactList(b2Body* _this)
- {
- return _this->GetContactList();
- }
- /* Cant have a const overloaded version of two functions function
- DLLEXPORT const b2ContactEdge* b2Body_METHOD_GetContactList(b2Body* _this)
- {
- return _this->GetContactList();
- }
- */
- DLLEXPORT b2Body* b2Body_METHOD_GetNext(b2Body* _this)
- {
- return _this->GetNext();
- }
- /* Cant have a const overloaded version of two functions function
- DLLEXPORT const b2Body* b2Body_METHOD_GetNext(b2Body* _this)
- {
- return _this->GetNext();
- }
- */
- DLLEXPORT void* b2Body_METHOD_GetUserData(b2Body* _this)
- {
- return _this->GetUserData();
- }
- DLLEXPORT void b2Body_METHOD_SetUserData(b2Body* _this, void* data)
- {
- _this->SetUserData(data);
- }
- DLLEXPORT b2World* b2Body_METHOD_GetWorld(b2Body* _this)
- {
- return _this->GetWorld();
- }
- /* Cant have a const overloaded version of two functions function
- DLLEXPORT const b2World* b2Body_METHOD_GetWorld(b2Body* _this)
- {
- return _this->GetWorld();
- }
- */
- DLLEXPORT void b2Body_METHOD_Dump(b2Body* _this)
- {
- _this->Dump();
- }
- DLLEXPORT float32 b2Body_METHOD_GetPositionX(b2Body* _this)
- {
- return _this->GetPositionX();
- }
- DLLEXPORT float32 b2Body_METHOD_GetPositionY(b2Body* _this)
- {
- return _this->GetPositionY();
- }
- DLLEXPORT void b2Body_METHOD_SetTransform(b2Body* _this, float32 positionX, float32 positionY, float32 angle)
- {
- _this->SetTransform(positionX, positionY, angle);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement