mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
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:
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
if (file) {
|
||||
|
||||
if (file->get_pos() != (size_t)pos)
|
||||
if (file->get_position() != (size_t)pos)
|
||||
file->seek(pos);
|
||||
if (file->get_buffer(buf, len) == len)
|
||||
return 0;
|
||||
@@ -204,7 +204,7 @@ float VideoStreamPlaybackWebm::get_length() const {
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
float VideoStreamPlaybackWebm::get_pos() const {
|
||||
float VideoStreamPlaybackWebm::get_position() const {
|
||||
|
||||
return video_pos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user