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