/* SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once /** \file * \ingroup bli */ #include "BLI_math_vec_types.hh" namespace blender::math { /** * Rotate the unit-length \a direction around the unit-length \a axis by the \a angle. */ float3 rotate_direction_around_axis(const float3 &direction, const float3 &axis, float angle); } // namespace blender::math