/*********************************************************************************************************************** * * 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 drawing_main.h ***********************************************************************************************************************/ #ifndef _A3DPRCViewerGL_H #define _A3DPRCViewerGL_H #define _CRT_SECURE_NO_DEPRECATE 1 #include #include #include #ifdef __APPLE__ #include #else #include #endif #include //###################################################################################################################### #define CHECK_RET_TERM(function_call) {\ iRet = function_call;\ if(iRet != A3D_SUCCESS)\ {\ std::cout << #function_call " returned error " << iRet << std::endl;\ terminate2();\ return iRet;\ }\ } //###################################################################################################################### #define FOVY 30.0f #define Stringize(L) #L #define MakeString(M, L) M(L) #define $Line \ MakeString(Stringize, __LINE__) #define Todo __FILE__ "(" $Line ") : TODO: " #endif