Searched refs:pos_mid (Results 1 – 1 of 1) sorted by relevance
301 Mesh::Position pos_mid = { in add_middle_point() local306 float scale = radius_ / std::sqrt(pos_mid.x * pos_mid.x + in add_middle_point()307 pos_mid.y * pos_mid.y + in add_middle_point()308 pos_mid.z * pos_mid.z); in add_middle_point()309 pos_mid.x *= scale; in add_middle_point()310 pos_mid.y *= scale; in add_middle_point()311 pos_mid.z *= scale; in add_middle_point()313 Mesh::Normal normal_mid = { pos_mid.x, pos_mid.y, pos_mid.z }; in add_middle_point()318 mesh_.positions_.emplace_back(pos_mid); in add_middle_point()