OLD | NEW |
1 var math; | 1 var math; |
2 (function(math) { | 2 (function(exports) { |
3 'use strict'; | 3 'use strict'; |
4 let E = 2.718281828459045; | 4 let E = 2.718281828459045; |
5 let LN10 = 2.302585092994046; | 5 let LN10 = 2.302585092994046; |
6 let LN2 = 0.6931471805599453; | 6 let LN2 = 0.6931471805599453; |
7 let LOG2E = 1.4426950408889634; | 7 let LOG2E = 1.4426950408889634; |
8 let LOG10E = 0.4342944819032518; | 8 let LOG10E = 0.4342944819032518; |
9 let PI = 3.141592653589793; | 9 let PI = 3.141592653589793; |
10 let SQRT1_2 = 0.7071067811865476; | 10 let SQRT1_2 = 0.7071067811865476; |
11 let SQRT2 = 1.4142135623730951; | 11 let SQRT2 = 1.4142135623730951; |
12 // Function min: (num, num) → num | 12 // Function min: (num, num) → num |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 dart.defineNamedConstructor(MutableRectangle, 'fromPoints'); | 409 dart.defineNamedConstructor(MutableRectangle, 'fromPoints'); |
410 return MutableRectangle; | 410 return MutableRectangle; |
411 }); | 411 }); |
412 let MutableRectangle = MutableRectangle$(dynamic); | 412 let MutableRectangle = MutableRectangle$(dynamic); |
413 // Function _clampToZero: (num) → num | 413 // Function _clampToZero: (num) → num |
414 function _clampToZero(value) { | 414 function _clampToZero(value) { |
415 dart.assert(dart.notNull(value) < 0); | 415 dart.assert(dart.notNull(value) < 0); |
416 return dart.notNull(-dart.notNull(value)) * 0; | 416 return dart.notNull(-dart.notNull(value)) * 0; |
417 } | 417 } |
418 // Exports: | 418 // Exports: |
419 math.E = E; | 419 exports.E = E; |
420 math.LN10 = LN10; | 420 exports.LN10 = LN10; |
421 math.LN2 = LN2; | 421 exports.LN2 = LN2; |
422 math.LOG2E = LOG2E; | 422 exports.LOG2E = LOG2E; |
423 math.LOG10E = LOG10E; | 423 exports.LOG10E = LOG10E; |
424 math.PI = PI; | 424 exports.PI = PI; |
425 math.SQRT1_2 = SQRT1_2; | 425 exports.SQRT1_2 = SQRT1_2; |
426 math.SQRT2 = SQRT2; | 426 exports.SQRT2 = SQRT2; |
427 math.min = min; | 427 exports.min = min; |
428 math.max = max; | 428 exports.max = max; |
429 math.atan2 = atan2; | 429 exports.atan2 = atan2; |
430 math.pow = pow; | 430 exports.pow = pow; |
431 math.sin = sin; | 431 exports.sin = sin; |
432 math.cos = cos; | 432 exports.cos = cos; |
433 math.tan = tan; | 433 exports.tan = tan; |
434 math.acos = acos; | 434 exports.acos = acos; |
435 math.asin = asin; | 435 exports.asin = asin; |
436 math.atan = atan; | 436 exports.atan = atan; |
437 math.sqrt = sqrt; | 437 exports.sqrt = sqrt; |
438 math.exp = exp; | 438 exports.exp = exp; |
439 math.log = log; | 439 exports.log = log; |
440 math.Point = Point; | 440 exports.Point = Point; |
441 math.Point$ = Point$; | 441 exports.Point$ = Point$; |
442 math.Random = Random; | 442 exports.Random = Random; |
443 math.Rectangle = Rectangle; | 443 exports.Rectangle = Rectangle; |
444 math.Rectangle$ = Rectangle$; | 444 exports.Rectangle$ = Rectangle$; |
445 math.MutableRectangle = MutableRectangle; | 445 exports.MutableRectangle = MutableRectangle; |
446 math.MutableRectangle$ = MutableRectangle$; | 446 exports.MutableRectangle$ = MutableRectangle$; |
447 })(math || (math = {})); | 447 })(math || (math = {})); |
OLD | NEW |