/*********************************************************************************************************************** * * Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc. * The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., and considered a trade secret * as defined under civil and criminal statutes. Tech Soft 3D shall pursue its civil and criminal remedies in the event * of unauthorized use or misappropriation of its trade secrets. Use of this information by anyone other than authorized * employees of Tech Soft 3D, Inc. is granted only under a written non-disclosure agreement, expressly prescribing the * scope and manner of such use. * ***********************************************************************************************************************/ /** \file Viewer.h ***********************************************************************************************************************/ #ifndef _A3DPRCViewerGL_H #define _A3DPRCViewerGL_H #define _CRT_SECURE_NO_DEPRECATE 1 #include #include #include #ifdef __APPLE__ # include #else # include #endif //###################################################################################################################### #ifndef M_PI # define M_PI 3.141592653589793238462643383279502884197169399375105820974944592308 #endif //###################################################################################################################### #ifdef _DEBUG # define PRINT_XML_ERROR(err) printf("\n", err, __FILE__, __LINE__); #else # define PRINT_XML_ERROR(err) printf("\n", err); #endif //###################################################################################################################### #define CHECK_RET_TERM(function_call)\ {\ const A3DStatus iRet__ = function_call;\ if(iRet__ != A3D_SUCCESS)\ {\ PRINT_XML_ERROR(iRet__)\ terminate2();\ return iRet__;\ }\ } //###################################################################################################################### #define FOVY 40.0f #define Stringize(L) #L #define MakeString(M, L) M(L) #define $Line MakeString(Stringize, __LINE__) #define Todo __FILE__ "(" $Line ") : TODO: " #endif