Radium Engine  1.5.20
Loading...
Searching...
No Matches
RotationCenterSkinning.hpp
1#pragma once
2
3#include <Core/RaCore.hpp>
4
5#include <Core/Containers/VectorArray.hpp>
6
7namespace Ra {
8namespace Core {
9namespace Animation {
10
11struct SkinningRefData;
12struct SkinningFrameData;
13
20
21// clang-format off
36// clang-format on
37void RA_CORE_API computeCoR( SkinningRefData& dataInOut,
38 Scalar sigma = 0.1_ra,
39 Scalar weightEpsilon = 0.1_ra );
40
41// clang-format off
68// clang-format on
69void RA_CORE_API centerOfRotationSkinning( const SkinningRefData& refData,
70 const Vector3Array& tangents,
71 const Vector3Array& bitangents,
72 SkinningFrameData& frameData );
74
75} // namespace Animation
76} // namespace Core
77} // namespace Ra
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3