Class AngularConstraint

java.lang.Object
toxi.physics2d.constraints.AngularConstraint
All Implemented Interfaces:
ParticleConstraint2D

public class AngularConstraint extends Object implements ParticleConstraint2D
  • Field Details

    • rootPos

      public Vec2D rootPos
    • theta

      public float theta
  • Constructor Details

    • AngularConstraint

      public AngularConstraint(float theta)
    • AngularConstraint

      public AngularConstraint(int theta)
    • AngularConstraint

      public AngularConstraint(Vec2D p, int theta)
  • Method Details