Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
StdAfx.h
Package: aa.rar [view]
Upload User: kuqidezhu
Upload Date: 2022-07-18
Package Size: 4151k
Code Size: 2k
Category:
3D Graphic
Development Platform:
Visual C++
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
- #if !defined(AFX_STDAFX_H__8BA535C3_62F5_4E11_9470_F6735D55EB18__INCLUDED_)
- #define AFX_STDAFX_H__8BA535C3_62F5_4E11_9470_F6735D55EB18__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
- #include <afxwin.h> // MFC core and standard components
- #include <afxext.h> // MFC extensions
- #include <afxdisp.h> // MFC Automation classes
- #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC support for Windows Common Controls
- #endif // _AFX_NO_AFXCMN_SUPPORT
- /*--------opengl's header--------*/
- #include <gl/gl.h>
- #include <gl/glu.h>
- #include <gl/glaux.h>
- struct Vertex //存储点数据结构
- {
- int no; //离散点号
- float x,y,z; //离散点的三维坐标
- float normal[3]; //点的法向量
- };
- struct Edge//储存三角形的边(两个端点)
- {
- int no; //边号
- int trino[2]; //边的两邻接三角形号
- double length; //边的长度
- Vertex p1; //边的两端点
- Vertex p2;
- int usetimes; //边的使用次数
- };
- struct Triangle
- {
- int no; //三角形号
- int edgeno[3]; //三条边的边号
- Vertex ptr[3]; //三角形的三个顶点的指针
- float Normal[3]; //面的法向量
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STDAFX_H__8BA535C3_62F5_4E11_9470_F6735D55EB18__INCLUDED_)