OLD | NEW |
(Empty) | |
| 1 |
| 2 class _AudioListenerImpl extends _DOMTypeBase implements AudioListener { |
| 3 _AudioListenerImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 num get dopplerFactor() => _wrap(_ptr.dopplerFactor); |
| 6 |
| 7 void set dopplerFactor(num value) { _ptr.dopplerFactor = _unwrap(value); } |
| 8 |
| 9 num get speedOfSound() => _wrap(_ptr.speedOfSound); |
| 10 |
| 11 void set speedOfSound(num value) { _ptr.speedOfSound = _unwrap(value); } |
| 12 |
| 13 void setOrientation(num x, num y, num z, num xUp, num yUp, num zUp) { |
| 14 _ptr.setOrientation(_unwrap(x), _unwrap(y), _unwrap(z), _unwrap(xUp), _unwra
p(yUp), _unwrap(zUp)); |
| 15 return; |
| 16 } |
| 17 |
| 18 void setPosition(num x, num y, num z) { |
| 19 _ptr.setPosition(_unwrap(x), _unwrap(y), _unwrap(z)); |
| 20 return; |
| 21 } |
| 22 |
| 23 void setVelocity(num x, num y, num z) { |
| 24 _ptr.setVelocity(_unwrap(x), _unwrap(y), _unwrap(z)); |
| 25 return; |
| 26 } |
| 27 } |
OLD | NEW |