Add tests for generalized matrix conversions

This commit is contained in:
Jesse Talavera-Greenberg 2016-03-06 19:42:10 -05:00
parent 6c8aa229ce
commit 185e9e257b
9 changed files with 90 additions and 0 deletions

View File

@ -169,6 +169,16 @@ namespace cast
Error += entry<glm::mat4x3>(); Error += entry<glm::mat4x3>();
Error += entry<glm::mat4x4>(); Error += entry<glm::mat4x4>();
Error += entry<glm::dmat2x2>();
Error += entry<glm::dmat2x3>();
Error += entry<glm::dmat2x4>();
Error += entry<glm::dmat3x2>();
Error += entry<glm::dmat3x3>();
Error += entry<glm::dmat3x4>();
Error += entry<glm::dmat4x2>();
Error += entry<glm::dmat4x3>();
Error += entry<glm::dmat4x4>();
return Error; return Error;
} }
}//namespace cast }//namespace cast

View File

@ -144,6 +144,16 @@ namespace cast
Error += entry<glm::mat4x3>(); Error += entry<glm::mat4x3>();
Error += entry<glm::mat4x4>(); Error += entry<glm::mat4x4>();
Error += entry<glm::dmat2x2>();
Error += entry<glm::dmat2x3>();
Error += entry<glm::dmat2x4>();
Error += entry<glm::dmat3x2>();
Error += entry<glm::dmat3x3>();
Error += entry<glm::dmat3x4>();
Error += entry<glm::dmat4x2>();
Error += entry<glm::dmat4x3>();
Error += entry<glm::dmat4x4>();
return Error; return Error;
} }
}//namespace cast }//namespace cast

View File

@ -143,6 +143,16 @@ namespace cast
Error += entry<glm::mat4x3>(); Error += entry<glm::mat4x3>();
Error += entry<glm::mat4x4>(); Error += entry<glm::mat4x4>();
Error += entry<glm::dmat2x2>();
Error += entry<glm::dmat2x3>();
Error += entry<glm::dmat2x4>();
Error += entry<glm::dmat3x2>();
Error += entry<glm::dmat3x3>();
Error += entry<glm::dmat3x4>();
Error += entry<glm::dmat4x2>();
Error += entry<glm::dmat4x3>();
Error += entry<glm::dmat4x4>();
return Error; return Error;
} }
}//namespace cast }//namespace cast

View File

@ -148,6 +148,16 @@ namespace cast
Error += entry<glm::mat4x3>(); Error += entry<glm::mat4x3>();
Error += entry<glm::mat4x4>(); Error += entry<glm::mat4x4>();
Error += entry<glm::dmat2x2>();
Error += entry<glm::dmat2x3>();
Error += entry<glm::dmat2x4>();
Error += entry<glm::dmat3x2>();
Error += entry<glm::dmat3x3>();
Error += entry<glm::dmat3x4>();
Error += entry<glm::dmat4x2>();
Error += entry<glm::dmat4x3>();
Error += entry<glm::dmat4x4>();
return Error; return Error;
} }
}//namespace cast }//namespace cast

View File

@ -206,6 +206,16 @@ namespace cast
Error += entry<glm::mat4x3>(); Error += entry<glm::mat4x3>();
Error += entry<glm::mat4x4>(); Error += entry<glm::mat4x4>();
Error += entry<glm::dmat2x2>();
Error += entry<glm::dmat2x3>();
Error += entry<glm::dmat2x4>();
Error += entry<glm::dmat3x2>();
Error += entry<glm::dmat3x3>();
Error += entry<glm::dmat3x4>();
Error += entry<glm::dmat4x2>();
Error += entry<glm::dmat4x3>();
Error += entry<glm::dmat4x4>();
return Error; return Error;
} }
}//namespace cast }//namespace cast

View File

@ -147,6 +147,16 @@ namespace cast
Error += entry<glm::mat4x3>(); Error += entry<glm::mat4x3>();
Error += entry<glm::mat4x4>(); Error += entry<glm::mat4x4>();
Error += entry<glm::dmat2x2>();
Error += entry<glm::dmat2x3>();
Error += entry<glm::dmat2x4>();
Error += entry<glm::dmat3x2>();
Error += entry<glm::dmat3x3>();
Error += entry<glm::dmat3x4>();
Error += entry<glm::dmat4x2>();
Error += entry<glm::dmat4x3>();
Error += entry<glm::dmat4x4>();
return Error; return Error;
} }
}//namespace cast }//namespace cast

View File

@ -150,6 +150,16 @@ namespace cast
Error += entry<glm::mat4x2>(); Error += entry<glm::mat4x2>();
Error += entry<glm::mat4x3>(); Error += entry<glm::mat4x3>();
Error += entry<glm::mat4x4>(); Error += entry<glm::mat4x4>();
Error += entry<glm::dmat2x2>();
Error += entry<glm::dmat2x3>();
Error += entry<glm::dmat2x4>();
Error += entry<glm::dmat3x2>();
Error += entry<glm::dmat3x3>();
Error += entry<glm::dmat3x4>();
Error += entry<glm::dmat4x2>();
Error += entry<glm::dmat4x3>();
Error += entry<glm::dmat4x4>();
return Error; return Error;
} }

View File

@ -151,6 +151,16 @@ namespace cast
Error += entry<glm::mat4x3>(); Error += entry<glm::mat4x3>();
Error += entry<glm::mat4x4>(); Error += entry<glm::mat4x4>();
Error += entry<glm::dmat2x2>();
Error += entry<glm::dmat2x3>();
Error += entry<glm::dmat2x4>();
Error += entry<glm::dmat3x2>();
Error += entry<glm::dmat3x3>();
Error += entry<glm::dmat3x4>();
Error += entry<glm::dmat4x2>();
Error += entry<glm::dmat4x3>();
Error += entry<glm::dmat4x4>();
return Error; return Error;
} }
}//namespace cast }//namespace cast

View File

@ -324,6 +324,16 @@ namespace cast
Error += entry<glm::mat4x3>(); Error += entry<glm::mat4x3>();
Error += entry<glm::mat4x4>(); Error += entry<glm::mat4x4>();
Error += entry<glm::dmat2x2>();
Error += entry<glm::dmat2x3>();
Error += entry<glm::dmat2x4>();
Error += entry<glm::dmat3x2>();
Error += entry<glm::dmat3x3>();
Error += entry<glm::dmat3x4>();
Error += entry<glm::dmat4x2>();
Error += entry<glm::dmat4x3>();
Error += entry<glm::dmat4x4>();
return Error; return Error;
} }
}//namespace cast }//namespace cast