Skip to content

Commit

Permalink
(draft) debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuzu-Typ committed Feb 4, 2024
1 parent f8ad516 commit 1740ed7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PyGLM/types/typeobjects.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetVec() {
if (std::is_same<T, double>::value) {
return static_cast<ptrdiff_t>(_PyGLM_VEC_START + 0 + L - 1);
}
return L + sizeof(T);
/*
if (std::is_same<T, float>::value) {
return static_cast<ptrdiff_t>(_PyGLM_VEC_START + 4 + L - 1);
}
Expand Down Expand Up @@ -148,7 +150,7 @@ static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetVec() {
return static_cast<ptrdiff_t>(_PyGLM_VEC_START + 36 + L - 1);
}
}
}
}*/
}

template<int C, int R, typename T>
Expand Down

0 comments on commit 1740ed7

Please sign in to comment.