91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4KB
    文件類型: .cpp
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-01-07
  • 語(yǔ)言: C/C++
  • 標(biāo)簽: Opengl作圖??文件讀取??

資源簡(jiǎn)介

#include <GL/glut.h> #include<iostream> #include <fstream> #include <cstdlib> #include <vector> #include <string> using namespace std; class POINT { public: float x,y,z; }; const static int NumOfVertex=11610;//頂點(diǎn)數(shù) const static int NumOfTriangle=23216;//三角形個(gè)數(shù)

資源截圖

代碼片段和文件信息

#include?
#include
#include?
#include?
#include?
#include?
using?namespace?std;

class?POINT
{
public:
float?xyz;
};

const?static?int?NumOfVertex=11610;
const?static?int?NumOfTriangle=23216;

static?GLdouble?viewer[]={0.00.05.0};
static?GLfloat?theta[]={0.00.00.0};
static?GLint?axis=2;

vector?pointVec;
vector?indexVec;

int?count=0;
bool?IsFullPoint=false;
bool?IsEdgeFull=false;

void?ReadDataFromFile(void)
{
POINT?pt;
int?point[3];
string?s;
string?fileName=“what.txt“;
ifstream?fin(“what.txt“);
if(!fin){cout?< while(fin>>s)
{
count++;
if(2>=count)???continue;
if(count==2)cout< else?if

評(píng)論

共有 條評(píng)論