[Bf-blender-cvs] [644976548d5] blender-v2.92-release: Revert "BLI: add conversion from float2 to float3"

Jacques Lucke noreply at git.blender.org
Fri Jan 22 13:41:18 CET 2021


Commit: 644976548d59fd77593dc2ab91700a52ff17cc0b
Author: Jacques Lucke
Date:   Fri Jan 22 13:40:45 2021 +0100
Branches: blender-v2.92-release
https://developer.blender.org/rB644976548d59fd77593dc2ab91700a52ff17cc0b

Revert "BLI: add conversion from float2 to float3"

This reverts commit 6ac0a3d83c8e5a39bd5356aa0d68e3166bd91e82.

===================================================================

M	source/blender/blenlib/BLI_float2.hh

===================================================================

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);



More information about the Bf-blender-cvs mailing list