00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Derrick Moser 00008 * Side Effects Software Inc 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: UT_CrackMatrix.h ( UT Library, C++) 00015 * 00016 * COMMENTS: 00017 */ 00018 00019 #ifndef __UT_CrackMatrix__ 00020 #define __UT_CrackMatrix__ 00021 00022 #include "UT_API.h" 00023 #include <SYS/SYS_Types.h> 00024 #include "UT_XformOrder.h" 00025 00026 // updates rotations 'rx', 'ry', and 'rz' to have the closest values to 'ox', 00027 // 'oy', and 'oz' while still describing the same rotation. 00028 UT_API void 00029 UTcrackMatrixSmooth(const UT_XformOrder &order, 00030 fpreal &rx, fpreal &ry, fpreal &rz, 00031 fpreal ox, fpreal oy, fpreal oz); 00032 00033 #endif 00034
1.5.9