There is a compilation error of one of Code Blocks, Code Block 001 below.
Code Block 001: .\display_threeD.cpp Fri Apr 02 11:27:05 2021 ... 229 : // step base vector, cross_step is up of spining which doesn't change. 230 :// if ( croos_step == nullptr ) { 231 :// step_vector = new vPoint ( 500.0f, 500.0f, 500.0f ); 232 :// cross_step = calc.cross( n, step_vector ); 233 :// } 234 : 235 : if ( cross_step == nullptr ) { 236 : step_vector = new vPoint ( 500.0f, 500.0f, 500.0f ); 237 : cross_step = calc.cross( n, step_vector ); 238 : printf("cross_step is nullptr\r\n"); 239 : } 240 : ...
And we put new code bock in the source text as same as meaning and typing, and it was compiled well.
https://github.com/WaitrudWeber/source_zip/blob/master/display-20210403-001-01.zip
https://github.com/WaitrudWeber/source_zip/blob/master/display-20210403-001-02.zip
https://github.com/WaitrudWeber/source_zip/blob/master/display-20210403-001-04.zip
https://github.com/WaitrudWeber/source_zip/blob/master/display-20210403-001-04-well.zip