mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
Trying to reproduce #235
This commit is contained in:
parent
116a9037cc
commit
f9535f2398
@ -317,10 +317,20 @@ namespace cast
|
|||||||
}
|
}
|
||||||
}//namespace cast
|
}//namespace cast
|
||||||
|
|
||||||
|
struct repro
|
||||||
|
{
|
||||||
|
repro(){ this->matrix = new glm::mat4(); }
|
||||||
|
~repro(){delete this->matrix;}
|
||||||
|
|
||||||
|
glm::mat4* matrix;
|
||||||
|
};
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
int Error = 0;
|
int Error = 0;
|
||||||
|
|
||||||
|
repro Repro;
|
||||||
|
|
||||||
#ifdef GLM_META_PROG_HELPERS
|
#ifdef GLM_META_PROG_HELPERS
|
||||||
assert(glm::mat4::rows == glm::mat4::row_type::components);
|
assert(glm::mat4::rows == glm::mat4::row_type::components);
|
||||||
assert(glm::mat4::cols == glm::mat4::col_type::components);
|
assert(glm::mat4::cols == glm::mat4::col_type::components);
|
||||||
|
Loading…
Reference in New Issue
Block a user