Added double addition, as velocity appears to just not do floating point.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1640 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -44,4 +44,12 @@ public class DataTool
|
||||
{
|
||||
return a/b;
|
||||
}
|
||||
|
||||
/**
|
||||
* Double addition.
|
||||
*/
|
||||
public double add (double a, double b)
|
||||
{
|
||||
return a + b;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user