Page 1 of 1

SimdTransform missing public declaration for enum

Posted: Fri Sep 08, 2006 5:02 pm
by Dragonlord
File: SimdTransform.h
Line: 26

The enumeration for the transformation types are not defined public and hence can not be accessed. Line 48 has though a constructor allowing you to specifiy the transformation type. This is not possible right now.

- Pl?ss Roland

Posted: Fri Sep 08, 2006 5:44 pm
by Erwin Coumans
The enumeration for the transformation types are not defined public and hence can not be accessed. Line 48 has though a constructor allowing you to specifiy the transformation type. This is not possible right now.
This is an internal optimization, and not meant to be exposed explicitly to the developer. Once you build the transform, it automatically keeps track of transformation type. There is indeed the option to explicitly specify, but this introduces a support hassle of people passing in inconsistent values.

A feature request is added to move the enum to public, and allow specifying the transformation type. Just for the brave ;-)