diff --git a/PyGLM/types/typeobjects.h b/PyGLM/types/typeobjects.h index 9945653..1125c0c 100644 --- a/PyGLM/types/typeobjects.h +++ b/PyGLM/types/typeobjects.h @@ -102,10 +102,10 @@ static PyGLMTypeObject PyGLMTypeObjectArray[] = { { FQUA_GLM_TYPEOBJECT } }; -#define _VEC_START 0 -#define _MVEC_START 44 -#define _MAT_START 56 -#define _QUA_START 92 +#define _PyGLM_VEC_START 0 +#define _PyGLM_MVEC_START 44 +#define _PyGLM_MAT_START 56 +#define _PyGLM_QUA_START 92 #define _TOTAL_TYPEOBJECTS 94 @@ -114,39 +114,38 @@ static PyGLMTypeObject* const PyGLMTypeObjectArrayEnd = reinterpret_cast static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetVec() { - return 0; - /*if (std::is_same::value) { - return _VEC_START + 0 + L - 1; + if (std::is_same::value) { + return _PyGLM_VEC_START + 0 + L - 1; } if (std::is_same::value) { - return _VEC_START + 4 + L - 1; + return _PyGLM_VEC_START + 4 + L - 1; } if (std::is_same::value) { - return _VEC_START + 40 + L - 1; + return _PyGLM_VEC_START + 40 + L - 1; } if (std::is_integral::value) { if (std::is_signed::value) { switch (sizeof(T)) { case sizeof(int64) : - return _VEC_START + 8 + L - 1; + return _PyGLM_VEC_START + 8 + L - 1; case sizeof(int32) : - return _VEC_START + 12 + L - 1; + return _PyGLM_VEC_START + 12 + L - 1; case sizeof(int16) : - return _VEC_START + 16 + L - 1; + return _PyGLM_VEC_START + 16 + L - 1; case sizeof(int8): - return _VEC_START + 20 + L - 1; + return _PyGLM_VEC_START + 20 + L - 1; } } if (std::is_unsigned::value) { switch (sizeof(T)) { case sizeof(uint64) : - return _VEC_START + 24 + L - 1; + return _PyGLM_VEC_START + 24 + L - 1; case sizeof(uint32) : - return _VEC_START + 28 + L - 1; + return _PyGLM_VEC_START + 28 + L - 1; case sizeof(uint16) : - return _VEC_START + 32 + L - 1; + return _PyGLM_VEC_START + 32 + L - 1; case sizeof(uint8): - return _VEC_START + 36 + L - 1; + return _PyGLM_VEC_START + 36 + L - 1; } } } @@ -167,26 +166,26 @@ static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetVec() { else { // Fallback for an unexpected size throw "Error: Unsupported type of an unexpected size."; - }*/ + } } template static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetMat() { if (std::is_same::value) { - return _MAT_START + 0 + R - 2 + 3 * (C - 2); + return _PyGLM_MAT_START + 0 + R - 2 + 3 * (C - 2); } if (std::is_same::value) { - return _MAT_START + 9 + R - 2 + 3 * (C - 2); + return _PyGLM_MAT_START + 9 + R - 2 + 3 * (C - 2); } if (std::is_integral::value) { if (std::is_signed::value) { if (sizeof(T) == sizeof(int32)) { - return _MAT_START + 18 + R - 2 + 3 * (C - 2); + return _PyGLM_MAT_START + 18 + R - 2 + 3 * (C - 2); } } if (std::is_unsigned::value) { if (sizeof(T) == sizeof(int32)) { - return _MAT_START + 27 + R - 2 + 3 * (C - 2); + return _PyGLM_MAT_START + 27 + R - 2 + 3 * (C - 2); } } } @@ -196,20 +195,20 @@ template static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetMVec() { if (2 <= L && L <= 4) { if (std::is_same::value) { - return _MVEC_START + 0 + L - 2; + return _PyGLM_MVEC_START + 0 + L - 2; } if (std::is_same::value) { - return _MVEC_START + 3 + L - 2; + return _PyGLM_MVEC_START + 3 + L - 2; } if (std::is_integral::value) { if (std::is_signed::value) { if (sizeof(T) == sizeof(int32)) { - return _MVEC_START + 6 + L - 2; + return _PyGLM_MVEC_START + 6 + L - 2; } } if (std::is_unsigned::value) { if (sizeof(T) == sizeof(int32)) { - return _MVEC_START + 9 + L - 2; + return _PyGLM_MVEC_START + 9 + L - 2; } } } @@ -219,132 +218,132 @@ static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetMVec() { template static constexpr ptrdiff_t PyGLMTypeObjectArrayOffsetQua() { if (std::is_same::value) { - return _QUA_START + 0; + return _PyGLM_QUA_START + 0; } if (std::is_same::value) { - return _QUA_START + 1; + return _PyGLM_QUA_START + 1; } } // vec -static PyTypeObject& hdvec1Type = PyGLMTypeObjectArray[_VEC_START + 0].typeObject; -static PyTypeObject& hdvec2Type = PyGLMTypeObjectArray[_VEC_START + 1].typeObject; -static PyTypeObject& hdvec3Type = PyGLMTypeObjectArray[_VEC_START + 2].typeObject; -static PyTypeObject& hdvec4Type = PyGLMTypeObjectArray[_VEC_START + 3].typeObject; - -static PyTypeObject& hfvec1Type = PyGLMTypeObjectArray[_VEC_START + 4].typeObject; -static PyTypeObject& hfvec2Type = PyGLMTypeObjectArray[_VEC_START + 5].typeObject; -static PyTypeObject& hfvec3Type = PyGLMTypeObjectArray[_VEC_START + 6].typeObject; -static PyTypeObject& hfvec4Type = PyGLMTypeObjectArray[_VEC_START + 7].typeObject; - -static PyTypeObject& hi64vec1Type = PyGLMTypeObjectArray[_VEC_START + 8].typeObject; -static PyTypeObject& hi64vec2Type = PyGLMTypeObjectArray[_VEC_START + 9].typeObject; -static PyTypeObject& hi64vec3Type = PyGLMTypeObjectArray[_VEC_START + 10].typeObject; -static PyTypeObject& hi64vec4Type = PyGLMTypeObjectArray[_VEC_START + 11].typeObject; - -static PyTypeObject& hivec1Type = PyGLMTypeObjectArray[_VEC_START + 12].typeObject; -static PyTypeObject& hivec2Type = PyGLMTypeObjectArray[_VEC_START + 13].typeObject; -static PyTypeObject& hivec3Type = PyGLMTypeObjectArray[_VEC_START + 14].typeObject; -static PyTypeObject& hivec4Type = PyGLMTypeObjectArray[_VEC_START + 15].typeObject; - -static PyTypeObject& hi16vec1Type = PyGLMTypeObjectArray[_VEC_START + 16].typeObject; -static PyTypeObject& hi16vec2Type = PyGLMTypeObjectArray[_VEC_START + 17].typeObject; -static PyTypeObject& hi16vec3Type = PyGLMTypeObjectArray[_VEC_START + 18].typeObject; -static PyTypeObject& hi16vec4Type = PyGLMTypeObjectArray[_VEC_START + 19].typeObject; - -static PyTypeObject& hi8vec1Type = PyGLMTypeObjectArray[_VEC_START + 20].typeObject; -static PyTypeObject& hi8vec2Type = PyGLMTypeObjectArray[_VEC_START + 21].typeObject; -static PyTypeObject& hi8vec3Type = PyGLMTypeObjectArray[_VEC_START + 22].typeObject; -static PyTypeObject& hi8vec4Type = PyGLMTypeObjectArray[_VEC_START + 23].typeObject; - -static PyTypeObject& hu64vec1Type = PyGLMTypeObjectArray[_VEC_START + 24].typeObject; -static PyTypeObject& hu64vec2Type = PyGLMTypeObjectArray[_VEC_START + 25].typeObject; -static PyTypeObject& hu64vec3Type = PyGLMTypeObjectArray[_VEC_START + 26].typeObject; -static PyTypeObject& hu64vec4Type = PyGLMTypeObjectArray[_VEC_START + 27].typeObject; - -static PyTypeObject& huvec1Type = PyGLMTypeObjectArray[_VEC_START + 28].typeObject; -static PyTypeObject& huvec2Type = PyGLMTypeObjectArray[_VEC_START + 29].typeObject; -static PyTypeObject& huvec3Type = PyGLMTypeObjectArray[_VEC_START + 30].typeObject; -static PyTypeObject& huvec4Type = PyGLMTypeObjectArray[_VEC_START + 31].typeObject; - -static PyTypeObject& hu16vec1Type = PyGLMTypeObjectArray[_VEC_START + 32].typeObject; -static PyTypeObject& hu16vec2Type = PyGLMTypeObjectArray[_VEC_START + 33].typeObject; -static PyTypeObject& hu16vec3Type = PyGLMTypeObjectArray[_VEC_START + 34].typeObject; -static PyTypeObject& hu16vec4Type = PyGLMTypeObjectArray[_VEC_START + 35].typeObject; - -static PyTypeObject& hu8vec1Type = PyGLMTypeObjectArray[_VEC_START + 36].typeObject; -static PyTypeObject& hu8vec2Type = PyGLMTypeObjectArray[_VEC_START + 37].typeObject; -static PyTypeObject& hu8vec3Type = PyGLMTypeObjectArray[_VEC_START + 38].typeObject; -static PyTypeObject& hu8vec4Type = PyGLMTypeObjectArray[_VEC_START + 39].typeObject; - -static PyTypeObject& hbvec1Type = PyGLMTypeObjectArray[_VEC_START + 40].typeObject; -static PyTypeObject& hbvec2Type = PyGLMTypeObjectArray[_VEC_START + 41].typeObject; -static PyTypeObject& hbvec3Type = PyGLMTypeObjectArray[_VEC_START + 42].typeObject; -static PyTypeObject& hbvec4Type = PyGLMTypeObjectArray[_VEC_START + 43].typeObject; +static PyTypeObject& hdvec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 0].typeObject; +static PyTypeObject& hdvec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 1].typeObject; +static PyTypeObject& hdvec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 2].typeObject; +static PyTypeObject& hdvec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 3].typeObject; + +static PyTypeObject& hfvec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 4].typeObject; +static PyTypeObject& hfvec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 5].typeObject; +static PyTypeObject& hfvec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 6].typeObject; +static PyTypeObject& hfvec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 7].typeObject; + +static PyTypeObject& hi64vec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 8].typeObject; +static PyTypeObject& hi64vec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 9].typeObject; +static PyTypeObject& hi64vec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 10].typeObject; +static PyTypeObject& hi64vec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 11].typeObject; + +static PyTypeObject& hivec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 12].typeObject; +static PyTypeObject& hivec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 13].typeObject; +static PyTypeObject& hivec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 14].typeObject; +static PyTypeObject& hivec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 15].typeObject; + +static PyTypeObject& hi16vec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 16].typeObject; +static PyTypeObject& hi16vec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 17].typeObject; +static PyTypeObject& hi16vec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 18].typeObject; +static PyTypeObject& hi16vec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 19].typeObject; + +static PyTypeObject& hi8vec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 20].typeObject; +static PyTypeObject& hi8vec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 21].typeObject; +static PyTypeObject& hi8vec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 22].typeObject; +static PyTypeObject& hi8vec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 23].typeObject; + +static PyTypeObject& hu64vec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 24].typeObject; +static PyTypeObject& hu64vec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 25].typeObject; +static PyTypeObject& hu64vec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 26].typeObject; +static PyTypeObject& hu64vec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 27].typeObject; + +static PyTypeObject& huvec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 28].typeObject; +static PyTypeObject& huvec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 29].typeObject; +static PyTypeObject& huvec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 30].typeObject; +static PyTypeObject& huvec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 31].typeObject; + +static PyTypeObject& hu16vec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 32].typeObject; +static PyTypeObject& hu16vec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 33].typeObject; +static PyTypeObject& hu16vec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 34].typeObject; +static PyTypeObject& hu16vec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 35].typeObject; + +static PyTypeObject& hu8vec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 36].typeObject; +static PyTypeObject& hu8vec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 37].typeObject; +static PyTypeObject& hu8vec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 38].typeObject; +static PyTypeObject& hu8vec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 39].typeObject; + +static PyTypeObject& hbvec1Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 40].typeObject; +static PyTypeObject& hbvec2Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 41].typeObject; +static PyTypeObject& hbvec3Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 42].typeObject; +static PyTypeObject& hbvec4Type = PyGLMTypeObjectArray[_PyGLM_VEC_START + 43].typeObject; // mvec -static PyTypeObject& hdmvec2Type = PyGLMTypeObjectArray[_MVEC_START + 0].typeObject; -static PyTypeObject& hdmvec3Type = PyGLMTypeObjectArray[_MVEC_START + 1].typeObject; -static PyTypeObject& hdmvec4Type = PyGLMTypeObjectArray[_MVEC_START + 2].typeObject; +static PyTypeObject& hdmvec2Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 0].typeObject; +static PyTypeObject& hdmvec3Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 1].typeObject; +static PyTypeObject& hdmvec4Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 2].typeObject; -static PyTypeObject& hfmvec2Type = PyGLMTypeObjectArray[_MVEC_START + 3].typeObject; -static PyTypeObject& hfmvec3Type = PyGLMTypeObjectArray[_MVEC_START + 4].typeObject; -static PyTypeObject& hfmvec4Type = PyGLMTypeObjectArray[_MVEC_START + 5].typeObject; +static PyTypeObject& hfmvec2Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 3].typeObject; +static PyTypeObject& hfmvec3Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 4].typeObject; +static PyTypeObject& hfmvec4Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 5].typeObject; -static PyTypeObject& himvec2Type = PyGLMTypeObjectArray[_MVEC_START + 6].typeObject; -static PyTypeObject& himvec3Type = PyGLMTypeObjectArray[_MVEC_START + 7].typeObject; -static PyTypeObject& himvec4Type = PyGLMTypeObjectArray[_MVEC_START + 8].typeObject; +static PyTypeObject& himvec2Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 6].typeObject; +static PyTypeObject& himvec3Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 7].typeObject; +static PyTypeObject& himvec4Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 8].typeObject; -static PyTypeObject& humvec2Type = PyGLMTypeObjectArray[_MVEC_START + 9].typeObject; -static PyTypeObject& humvec3Type = PyGLMTypeObjectArray[_MVEC_START + 10].typeObject; -static PyTypeObject& humvec4Type = PyGLMTypeObjectArray[_MVEC_START + 11].typeObject; +static PyTypeObject& humvec2Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 9].typeObject; +static PyTypeObject& humvec3Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 10].typeObject; +static PyTypeObject& humvec4Type = PyGLMTypeObjectArray[_PyGLM_MVEC_START + 11].typeObject; // mat -static PyTypeObject& hdmat2x2Type = PyGLMTypeObjectArray[_MAT_START + 0].typeObject; -static PyTypeObject& hdmat2x3Type = PyGLMTypeObjectArray[_MAT_START + 1].typeObject; -static PyTypeObject& hdmat2x4Type = PyGLMTypeObjectArray[_MAT_START + 2].typeObject; -static PyTypeObject& hdmat3x2Type = PyGLMTypeObjectArray[_MAT_START + 3].typeObject; -static PyTypeObject& hdmat3x3Type = PyGLMTypeObjectArray[_MAT_START + 4].typeObject; -static PyTypeObject& hdmat3x4Type = PyGLMTypeObjectArray[_MAT_START + 5].typeObject; -static PyTypeObject& hdmat4x2Type = PyGLMTypeObjectArray[_MAT_START + 6].typeObject; -static PyTypeObject& hdmat4x3Type = PyGLMTypeObjectArray[_MAT_START + 7].typeObject; -static PyTypeObject& hdmat4x4Type = PyGLMTypeObjectArray[_MAT_START + 8].typeObject; - -static PyTypeObject& hfmat2x2Type = PyGLMTypeObjectArray[_MAT_START + 9].typeObject; -static PyTypeObject& hfmat2x3Type = PyGLMTypeObjectArray[_MAT_START + 10].typeObject; -static PyTypeObject& hfmat2x4Type = PyGLMTypeObjectArray[_MAT_START + 11].typeObject; -static PyTypeObject& hfmat3x2Type = PyGLMTypeObjectArray[_MAT_START + 12].typeObject; -static PyTypeObject& hfmat3x3Type = PyGLMTypeObjectArray[_MAT_START + 13].typeObject; -static PyTypeObject& hfmat3x4Type = PyGLMTypeObjectArray[_MAT_START + 14].typeObject; -static PyTypeObject& hfmat4x2Type = PyGLMTypeObjectArray[_MAT_START + 15].typeObject; -static PyTypeObject& hfmat4x3Type = PyGLMTypeObjectArray[_MAT_START + 16].typeObject; -static PyTypeObject& hfmat4x4Type = PyGLMTypeObjectArray[_MAT_START + 17].typeObject; - -static PyTypeObject& himat2x2Type = PyGLMTypeObjectArray[_MAT_START + 18].typeObject; -static PyTypeObject& himat2x3Type = PyGLMTypeObjectArray[_MAT_START + 19].typeObject; -static PyTypeObject& himat2x4Type = PyGLMTypeObjectArray[_MAT_START + 20].typeObject; -static PyTypeObject& himat3x2Type = PyGLMTypeObjectArray[_MAT_START + 21].typeObject; -static PyTypeObject& himat3x3Type = PyGLMTypeObjectArray[_MAT_START + 22].typeObject; -static PyTypeObject& himat3x4Type = PyGLMTypeObjectArray[_MAT_START + 23].typeObject; -static PyTypeObject& himat4x2Type = PyGLMTypeObjectArray[_MAT_START + 24].typeObject; -static PyTypeObject& himat4x3Type = PyGLMTypeObjectArray[_MAT_START + 25].typeObject; -static PyTypeObject& himat4x4Type = PyGLMTypeObjectArray[_MAT_START + 26].typeObject; - -static PyTypeObject& humat2x2Type = PyGLMTypeObjectArray[_MAT_START + 27].typeObject; -static PyTypeObject& humat2x3Type = PyGLMTypeObjectArray[_MAT_START + 28].typeObject; -static PyTypeObject& humat2x4Type = PyGLMTypeObjectArray[_MAT_START + 29].typeObject; -static PyTypeObject& humat3x2Type = PyGLMTypeObjectArray[_MAT_START + 30].typeObject; -static PyTypeObject& humat3x3Type = PyGLMTypeObjectArray[_MAT_START + 31].typeObject; -static PyTypeObject& humat3x4Type = PyGLMTypeObjectArray[_MAT_START + 32].typeObject; -static PyTypeObject& humat4x2Type = PyGLMTypeObjectArray[_MAT_START + 33].typeObject; -static PyTypeObject& humat4x3Type = PyGLMTypeObjectArray[_MAT_START + 34].typeObject; -static PyTypeObject& humat4x4Type = PyGLMTypeObjectArray[_MAT_START + 35].typeObject; +static PyTypeObject& hdmat2x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 0].typeObject; +static PyTypeObject& hdmat2x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 1].typeObject; +static PyTypeObject& hdmat2x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 2].typeObject; +static PyTypeObject& hdmat3x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 3].typeObject; +static PyTypeObject& hdmat3x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 4].typeObject; +static PyTypeObject& hdmat3x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 5].typeObject; +static PyTypeObject& hdmat4x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 6].typeObject; +static PyTypeObject& hdmat4x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 7].typeObject; +static PyTypeObject& hdmat4x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 8].typeObject; + +static PyTypeObject& hfmat2x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 9].typeObject; +static PyTypeObject& hfmat2x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 10].typeObject; +static PyTypeObject& hfmat2x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 11].typeObject; +static PyTypeObject& hfmat3x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 12].typeObject; +static PyTypeObject& hfmat3x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 13].typeObject; +static PyTypeObject& hfmat3x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 14].typeObject; +static PyTypeObject& hfmat4x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 15].typeObject; +static PyTypeObject& hfmat4x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 16].typeObject; +static PyTypeObject& hfmat4x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 17].typeObject; + +static PyTypeObject& himat2x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 18].typeObject; +static PyTypeObject& himat2x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 19].typeObject; +static PyTypeObject& himat2x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 20].typeObject; +static PyTypeObject& himat3x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 21].typeObject; +static PyTypeObject& himat3x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 22].typeObject; +static PyTypeObject& himat3x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 23].typeObject; +static PyTypeObject& himat4x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 24].typeObject; +static PyTypeObject& himat4x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 25].typeObject; +static PyTypeObject& himat4x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 26].typeObject; + +static PyTypeObject& humat2x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 27].typeObject; +static PyTypeObject& humat2x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 28].typeObject; +static PyTypeObject& humat2x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 29].typeObject; +static PyTypeObject& humat3x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 30].typeObject; +static PyTypeObject& humat3x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 31].typeObject; +static PyTypeObject& humat3x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 32].typeObject; +static PyTypeObject& humat4x2Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 33].typeObject; +static PyTypeObject& humat4x3Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 34].typeObject; +static PyTypeObject& humat4x4Type = PyGLMTypeObjectArray[_PyGLM_MAT_START + 35].typeObject; // qua -static PyTypeObject& hdquaType = PyGLMTypeObjectArray[_QUA_START + 0].typeObject; -static PyTypeObject& hfquaType = PyGLMTypeObjectArray[_QUA_START + 1].typeObject; +static PyTypeObject& hdquaType = PyGLMTypeObjectArray[_PyGLM_QUA_START + 0].typeObject; +static PyTypeObject& hfquaType = PyGLMTypeObjectArray[_PyGLM_QUA_START + 1].typeObject; -#undef _VEC_START -#undef _MVEC_START -#undef _MAT_START -#undef _QUA_START +#undef _PyGLM_VEC_START +#undef _PyGLM_MVEC_START +#undef _PyGLM_MAT_START +#undef _PyGLM_QUA_START