Removed debug

This commit is contained in:
Robert S 2014-06-04 06:17:42 -04:00
parent 109d716cd2
commit 48472f5d57
2 changed files with 9 additions and 7 deletions

View file

@ -74,7 +74,7 @@ public class MechanicalNode extends Node<INodeProvider, TickingGrid, MechanicalN
{
angle += Math.max(angularVelocity, -this.maxDeltaAngle) * deltaTime;
}
System.out.println("Angle: " + angle);
//System.out.println("Angle: " + angle);
if (angle % (Math.PI * 2) != angle)
{

View file

@ -12,6 +12,14 @@ public interface IMechanicalNode extends INode
/** Gets the radius of the gear in meters. Used to calculate torque and gear ratio */
public double getRadius();
/** The Rotational speed of the object */
public double getAngularSpeed();
/** Applies rotational force and velocity to the mechanical object */
public void apply(Object source, double torque, double angularVelocity);
/** The Rotational force */
@Deprecated
public double getTorque();
@ -24,12 +32,6 @@ public interface IMechanicalNode extends INode
@Deprecated
public double getPower();
/** The Rotational speed of the object */
public double getAngularSpeed();
/** Applies rotational force and velocity to the mechanical object */
public void apply(Object source, double torque, double angularVelocity);
@Deprecated
public float getRatio(ForgeDirection dir, IMechanicalNode with);