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 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 } | 697 } |
698 | 698 |
699 void PannerNode::setPosition(float x, float y, float z) { | 699 void PannerNode::setPosition(float x, float y, float z) { |
700 pannerHandler().setPosition(x, y, z); | 700 pannerHandler().setPosition(x, y, z); |
701 } | 701 } |
702 | 702 |
703 void PannerNode::setOrientation(float x, float y, float z) { | 703 void PannerNode::setOrientation(float x, float y, float z) { |
704 pannerHandler().setOrientation(x, y, z); | 704 pannerHandler().setOrientation(x, y, z); |
705 } | 705 } |
706 | 706 |
707 void PannerNode::setVelocity(float x, float y, float z) { | |
708 // The velocity is not used internally and cannot be read back by scripts, | |
709 // so it can be ignored entirely. | |
710 } | |
711 | |
712 String PannerNode::distanceModel() const { | 707 String PannerNode::distanceModel() const { |
713 return pannerHandler().distanceModel(); | 708 return pannerHandler().distanceModel(); |
714 } | 709 } |
715 | 710 |
716 void PannerNode::setDistanceModel(const String& model) { | 711 void PannerNode::setDistanceModel(const String& model) { |
717 pannerHandler().setDistanceModel(model); | 712 pannerHandler().setDistanceModel(model); |
718 } | 713 } |
719 | 714 |
720 double PannerNode::refDistance() const { | 715 double PannerNode::refDistance() const { |
721 return pannerHandler().refDistance(); | 716 return pannerHandler().refDistance(); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 visitor->trace(m_positionZ); | 766 visitor->trace(m_positionZ); |
772 | 767 |
773 visitor->trace(m_orientationX); | 768 visitor->trace(m_orientationX); |
774 visitor->trace(m_orientationY); | 769 visitor->trace(m_orientationY); |
775 visitor->trace(m_orientationZ); | 770 visitor->trace(m_orientationZ); |
776 | 771 |
777 AudioNode::trace(visitor); | 772 AudioNode::trace(visitor); |
778 } | 773 } |
779 | 774 |
780 } // namespace blink | 775 } // namespace blink |
OLD | NEW |