INNER CODE UNIT · C++

invdet

Code-Guy/Bamboo · external/imgui/ImGuizmo.cpp:550

         float invdet = 1 / det;
         for (int j = 0; j < 16; ++j)
         {
            m16[j] *= invdet;
         }
      }

      return det;
   }

   void matrix_t::RotationAxis(const vec_t& axis, float angle)
   {
      float length2 = axis.LengthSq();
      if (length2 < FLT_EPSILON)
      {
         SetToIdentity();
         return;
      }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…