载入中...
搜索中...
未找到
ChainSolver.h 文件参考
#include "ik.hpp"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <vector>

浏览源代码.

struct  eve::ik::detail::ChainOptions< D >
 Options shared by the chain-scoped FABRIK solve used by Solver2D / Solver3D. These mirror the knobs of ik::solver plus wrapper-level pose blending. 更多...
 

命名空间

namespace  eve
 
namespace  eve::ik
 
namespace  eve::ik::detail
 

函数

template<unsigned D>
bool eve::ik::detail::solveChain (::ik::skeleton< D > &sk, ::ik::ecs< D > &state, unsigned root_id, unsigned tip_id, const std::vector< typename ::ik::solver< D >::target > &targets, const ChainOptions< D > &opt)
 FABRIK solve restricted to the bone chain root_id..tip_id. Unlike the plain solver (which pins the skeleton root), the chain root stays at its input position and bones outside the chain are never touched.