Changeset 132

Show
Ignore:
Timestamp:
06/07/08 17:32:11 (3 months ago)
Author:
zzzzrrr
Message:

Added Slide Joint Assert

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/blaze/blaze/dynamics/joints/SlideJoint.d

    r129 r132  
    4747    this(RigidBody a, RigidBody b, Vector2D anchor1, Vector2D anchor2, Number min, Number max) 
    4848    { 
     49        // Max and min should be positive numbers 
     50        assert(min > 0.0f && max > 0.0f); 
     51         
    4952        super(a, b); 
    5053        this.anchor1 = anchor1;