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 9d7876d commit d3ba7e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PyGLM/types/typeobjects.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetVec<4, bool>() {


template<int C, int R, typename T>
static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetMat() {
constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetMat() {
if (std::is_same<T, double>::value) {
return _PyGLM_MAT_START + 0 + R - 2 + 3 * (C - 2);
}
Expand All @@ -354,7 +354,7 @@ static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetMat() {
}

template<int L, typename T>
static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetMVec() {
constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetMVec() {
if (2 <= L && L <= 4) {
if (std::is_same<T, double>::value) {
return _PyGLM_MVEC_START + 0 + L - 2;
Expand All @@ -378,7 +378,7 @@ static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetMVec() {
}

template<typename T>
static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetQua() {
constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetQua() {
if (std::is_same<T, double>::value) {
return _PyGLM_QUA_START + 0;
}
Expand Down

0 comments on commit d3ba7e3

Please sign in to comment.