| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 void PannerNode::setPosition(float x, float y, float z) | 731 void PannerNode::setPosition(float x, float y, float z) |
| 732 { | 732 { |
| 733 pannerHandler().setPosition(x, y, z); | 733 pannerHandler().setPosition(x, y, z); |
| 734 } | 734 } |
| 735 | 735 |
| 736 void PannerNode::setOrientation(float x, float y, float z) | 736 void PannerNode::setOrientation(float x, float y, float z) |
| 737 { | 737 { |
| 738 pannerHandler().setOrientation(x, y, z); | 738 pannerHandler().setOrientation(x, y, z); |
| 739 } | 739 } |
| 740 | 740 |
| 741 void PannerNode::setVelocity(float x, float y, float z) | |
| 742 { | |
| 743 // The velocity is not used internally and cannot be read back by scripts, | |
| 744 // so it can be ignored entirely. | |
| 745 } | |
| 746 | |
| 747 String PannerNode::distanceModel() const | 741 String PannerNode::distanceModel() const |
| 748 { | 742 { |
| 749 return pannerHandler().distanceModel(); | 743 return pannerHandler().distanceModel(); |
| 750 } | 744 } |
| 751 | 745 |
| 752 void PannerNode::setDistanceModel(const String& model) | 746 void PannerNode::setDistanceModel(const String& model) |
| 753 { | 747 { |
| 754 pannerHandler().setDistanceModel(model); | 748 pannerHandler().setDistanceModel(model); |
| 755 } | 749 } |
| 756 | 750 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 821 visitor->trace(m_positionZ); | 815 visitor->trace(m_positionZ); |
| 822 | 816 |
| 823 visitor->trace(m_orientationX); | 817 visitor->trace(m_orientationX); |
| 824 visitor->trace(m_orientationY); | 818 visitor->trace(m_orientationY); |
| 825 visitor->trace(m_orientationZ); | 819 visitor->trace(m_orientationZ); |
| 826 | 820 |
| 827 AudioNode::trace(visitor); | 821 AudioNode::trace(visitor); |
| 828 } | 822 } |
| 829 | 823 |
| 830 } // namespace blink | 824 } // namespace blink |
| OLD | NEW |