Update read_model_mst.cpp
This commit is contained in:
parent
716939c93a
commit
3c505c0cfe
@ -10,7 +10,7 @@ int GM3D::ReadModel_mst(char* filename){
|
||||
stringstream temp_ss;
|
||||
|
||||
ifstream mstin;
|
||||
if (open_infile(mstin,filename)) return -1; //检查并打开模型文件
|
||||
if (open_infile(mstin,filename)) return -1; //¼ì²é²¢´ò¿ªÄ£ÐÍÎļþ
|
||||
double ynum, xnum, znum;
|
||||
double ystart, xstart, zstart;
|
||||
double ylength, xlength, zlength;
|
||||
@ -23,7 +23,7 @@ int GM3D::ReadModel_mst(char* filename){
|
||||
|
||||
model_num_ = ynum*xnum*znum;
|
||||
model_cube_.resize(model_num_);
|
||||
//初始化数组
|
||||
//³õʼ»¯Êý×é
|
||||
forward_model_.resize(model_num_,0.0);
|
||||
|
||||
double f_mdl_tmp;
|
||||
|
Loading…
Reference in New Issue
Block a user