2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:47:43 +00:00

Merge pull request #388 from henriquegemignani/feature/optick

Using optick, linked from boo
This commit is contained in:
2021-04-18 17:31:29 -07:00
committed by GitHub
25 changed files with 65 additions and 13 deletions

View File

@@ -25,6 +25,7 @@ CSkinRules::CSkinRules(CInputStream& in) {
void CSkinRules::TransformVerticesCPU(std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vnOut,
const CPoseAsTransforms& pose, const CModel& model) const {
OPTICK_EVENT();
vnOut.resize(m_poolToSkinIdx.size());
for (size_t i = 0; i < m_poolToSkinIdx.size(); ++i) {
const CVirtualBone& vb = m_virtualBones[m_poolToSkinIdx[i]];