* add Transform explicit constructors taking translation/scaling/rotation

* add Transform::operator= taking rotation.
  An old remnant was left commented out. Why was it disabled?
* slight optimization in operator= taking translation
* slight optimization (perhaps) in the new memory assertion
This commit is contained in:
Benoit Jacob
2008-12-07 17:49:56 +00:00
parent 6700f07fb0
commit 09fd69d734
2 changed files with 23 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ template <typename T, int Size, bool Align> struct ei_aligned_array
ei_aligned_array()
{
ei_assert(reinterpret_cast<unsigned int>(array)%16 == 0
ei_assert((reinterpret_cast<unsigned int>(array) & 0xf) == 0
&& "this assertion is explained here: http://eigen.tuxfamily.org/api/UnalignedArrayAssert.html **** READ THIS WEB PAGE !!! ****");
}
};