Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind functions into b2Joint, and make Joints inherited from b2Joint #91

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Sep 12, 2018

  1. 1. make all Joint classes extends b2Joint

    1. add b2Joint.GetType()
    1. add b2Joint.GetAnchorA()
    1. add b2Joint.GetAnchorB()
     - move bodyA/bodyB into b2Joint as source C does it.
     - add GetReactionForce()
     - add GetReactionTorque()
     - add IsActive()
     - add GetCollideConnected()
    
    make up  b2DistanceJoint methods
    
    make up b2FrictionJoint methods
    
    make up b2GearJoint methods.
    
    make up b2MtorJoint methods
    
    make up b2MouseJoint methods
    
     make up b2PrismaticJoint methods
    
    make up b2PulleyJoint methods
    
    make up b2RevoluteJoint methods
    
    make up b2RopeJoint methods
    
    add limit_state enums
    
    make up b2WeldJoint methods
    
    make up b2WheelJoint methods
    
    change indents to 2 spaces
    haskasu committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    39c69db View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2019

  1. add b2Body jsBinding functions

    void b2Body_SetLinearDamping(void* body, double linearDamping);
    double b2Body_GetLinearDamping(void* body);
    void b2Body_SetAngularDamping(void* body, double angularDamping);
    double b2Body_GetAngularDamping(void* body);
    bool b2Body_IsAwake(void* body);
    void b2Body_SetBullet(void* body, double flag);
    bool b2Body_IsBullet(void* body);
    void b2Body_SetSleepingAllowed(void* body, double flag);
    bool b2Body_IsSleepingAllowed(void* body);
    void b2Body_SetActive(void* body, double flag);
    bool b2Body_IsActive(void* body);
    bool boBody_IsFixedRotation(void* body);
    haskasu committed Aug 10, 2019
    Configuration menu
    Copy the full SHA
    381e0d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1d9f61 View commit details
    Browse the repository at this point in the history
  3. fix typo

    haskasu committed Aug 10, 2019
    Configuration menu
    Copy the full SHA
    aa14c8e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c2e21d0 View commit details
    Browse the repository at this point in the history