mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* 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:
@@ -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 !!! ****");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user