SimdTransform missing public declaration for enum

User avatar
Dragonlord
Posts: 198
Joined: Mon Sep 04, 2006 5:31 pm
Location: Switzerland

SimdTransform missing public declaration for enum

Post 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
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post 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 ;-)