mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,33 @@
|
||||
package org.osmf.net.dvr
|
||||
{
|
||||
public class DVRUtils
|
||||
{
|
||||
|
||||
public function DVRUtils()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public static function calculateOffset(param1:Number, param2:Number, param3:Number) : Number
|
||||
{
|
||||
var _loc4_:Number = 0;
|
||||
if(param2 != 0)
|
||||
{
|
||||
if(param3 > param2)
|
||||
{
|
||||
_loc4_ = param3 - param2;
|
||||
}
|
||||
else
|
||||
{
|
||||
_loc4_ = Math.min(param1,param3);
|
||||
}
|
||||
}
|
||||
else if(param1 != 0)
|
||||
{
|
||||
_loc4_ = Math.min(param1,param3);
|
||||
}
|
||||
return _loc4_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user