Rename pos to position in user facing methods and variables

Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:

* pos -> position
* rot -> rotation
* loc -> location

C++ variables are left as is.
This commit is contained in:
letheed
2017-09-10 15:37:49 +02:00
parent ecd226c6a7
commit 5ad9be4c24
247 changed files with 823 additions and 832 deletions

View File

@ -178,9 +178,9 @@ int AudioStreamPlaybackRandomPitch::get_loop_count() const {
return 0;
}
float AudioStreamPlaybackRandomPitch::get_pos() const {
float AudioStreamPlaybackRandomPitch::get_position() const {
if (playing.is_valid()) {
return playing->get_pos();
return playing->get_position();
}
return 0;

View File

@ -45,7 +45,7 @@ public:
virtual int get_loop_count() const = 0; //times it looped
virtual float get_pos() const = 0;
virtual float get_position() const = 0;
virtual void seek_pos(float p_time) = 0;
virtual void mix(AudioFrame *p_bufer, float p_rate_scale, int p_frames) = 0;
@ -133,7 +133,7 @@ public:
virtual int get_loop_count() const; //times it looped
virtual float get_pos() const;
virtual float get_position() const;
virtual void seek_pos(float p_time);
virtual void mix(AudioFrame *p_bufer, float p_rate_scale, int p_frames);