From: kim k. <kim...@go...> - 2017-06-06 11:42:14
|
Per default TReal is set to float, but you can enable it to double. There is a switch for cmake -DASSIMP_DOUBLE_PRECISION=ON to enable this feature. With double precision all numerical operations will run with doubles ... Kim Kim David Rivkin, PhD <dav...@sc...> schrieb am Di., 6. Juni 2017 um 13:18 Uhr: > I have tried greping the code but have strangely been unable to find a > header file that defines TReal. > > Clearly everyone would want to include the header that defines TReal in > their codes so that type actual types (float vs double) are used correctly. > > At this point I am assuming that TReal is only in the Makefile as a > #define but this is not really useful to applications using Assimp that > need to do the math with matrixes etc. > -- > Thank you, > Prof. David Rivkin, PhD > President & Chief Scientist > SciEssence Intl. > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Assimp-discussions mailing list > Ass...@li... > https://lists.sourceforge.net/lists/listinfo/assimp-discussions > |