You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Use reference to constant in functions
This commit is contained in:
@@ -100,7 +100,7 @@ Transform ARVRServer::get_world_origin() const {
|
||||
return world_origin;
|
||||
};
|
||||
|
||||
void ARVRServer::set_world_origin(const Transform p_world_origin) {
|
||||
void ARVRServer::set_world_origin(const Transform &p_world_origin) {
|
||||
world_origin = p_world_origin;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user