Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-01-22 15:40:45 +0300
committerJacques Lucke <jacques@blender.org>2021-01-22 15:40:45 +0300
commit644976548d59fd77593dc2ab91700a52ff17cc0b (patch)
tree631c149436f1a34cf0653f077f60bf3143834f43 /source/blender/blenlib
parent2ba2d2bd9ded9b944ff94894bc09d695cdb5bae0 (diff)
Revert "BLI: add conversion from float2 to float3"
This reverts commit 6ac0a3d83c8e5a39bd5356aa0d68e3166bd91e82.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_float2.hh5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_float2.hh b/source/blender/blenlib/BLI_float2.hh
index 697721db8c7..2a5320e4c35 100644
--- a/source/blender/blenlib/BLI_float2.hh
+++ b/source/blender/blenlib/BLI_float2.hh
@@ -47,11 +47,6 @@ struct float2 {
return &x;
}
- operator float3() const
- {
- return float3(x, y, 0.0f);
- }
-
float length() const
{
return len_v2(*this);