diff options
author | Marcus Elg <marcusaccounts@yahoo.se> | 2020-05-10 09:00:10 +0200 |
---|---|---|
committer | Marcus Elg <marcusaccounts@yahoo.se> | 2020-05-10 12:12:51 +0200 |
commit | ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3 (patch) | |
tree | bd054639c909ab4ea6c855e70ddc3b25ee2f50b0 /core/io/resource_format_binary.cpp | |
parent | ff5dfcdf68c20590bf123ade75ca06ed58276372 (diff) | |
download | redot-engine-ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3.tar.gz |
Renamed plane's d to distance
Diffstat (limited to 'core/io/resource_format_binary.cpp')
-rw-r--r-- | core/io/resource_format_binary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp index 8c7559479b..5907143810 100644 --- a/core/io/resource_format_binary.cpp +++ b/core/io/resource_format_binary.cpp @@ -214,7 +214,7 @@ Error ResourceLoaderBinary::parse_variant(Variant &r_v) { v.normal.x = f->get_real(); v.normal.y = f->get_real(); v.normal.z = f->get_real(); - v.d = f->get_real(); + v.distance = f->get_real(); r_v = v; } break; case VARIANT_QUAT: { @@ -1458,7 +1458,7 @@ void ResourceFormatSaverBinaryInstance::write_variant(FileAccess *f, const Varia f->store_real(val.normal.x); f->store_real(val.normal.y); f->store_real(val.normal.z); - f->store_real(val.d); + f->store_real(val.distance); } break; case Variant::QUAT: { |