finalizing

This commit is contained in:
Pavel Lutskov
2019-02-10 17:33:26 +01:00
parent 567f7b0274
commit 1a65bb6af7
7 changed files with 95 additions and 33 deletions

View File

@@ -65,8 +65,11 @@ int main( int argc, char** argv )
base_position_out.y = center[1];
base_position_out.z = torso.z-0.75*size;
double base_in_r = (config["fw"].as<double>() - center[0])*0.33;
double base_out_r = config["fw"].as<double>() - center[0];
double base_in_r_x = (config["fw"].as<double>() - center[0])*0.33;
double base_out_r_x = config["fw"].as<double>() - center[0];
double base_in_r_y = (config["rt"].as<double>() - center[1])*0.33;
double base_out_r_y = (config["rt"].as<double>() - center[1]);
@@ -377,12 +380,12 @@ int main( int argc, char** argv )
camera.scale.y = 0.2;
camera.scale.z = 0.2;
base_in.scale.x = 2*base_in_r;
base_in.scale.y = 2*base_in_r;
base_in.scale.x = 2*base_in_r_x;
base_in.scale.y = 2*base_in_r_y;
base_in.scale.z = 0.1;
base_out.scale.x = 2*base_out_r;
base_out.scale.y = 2*base_out_r;
base_out.scale.x = 2*base_out_r_x;
base_out.scale.y = 2*base_out_r_y;
base_out.scale.z = 0.01;
// Set the color