mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
26
samples/mfc/standard/Common/OCC_3dApp.cpp
Executable file
26
samples/mfc/standard/Common/OCC_3dApp.cpp
Executable file
@@ -0,0 +1,26 @@
|
||||
// OCC_3dApp.cpp: implementation of the OCC_3dApp class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "OCC_3dApp.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// Construction/Destruction
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
OCC_3dApp::OCC_3dApp()
|
||||
{
|
||||
try
|
||||
{myGraphicDevice = new Graphic3d_WNTGraphicDevice();}
|
||||
catch(Standard_Failure)
|
||||
{
|
||||
AfxMessageBox("Fatal error during graphic initialization",MB_ICONSTOP);
|
||||
ExitProcess(1);
|
||||
}
|
||||
}
|
||||
|
||||
OCC_3dApp::~OCC_3dApp()
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user