Searched refs:pos_mid (Results 1 – 1 of 1) sorted by relevance
295 Mesh::Position pos_mid = { in add_middle_point() local300 float scale = radius_ / std::sqrt(pos_mid.x * pos_mid.x + in add_middle_point()301 pos_mid.y * pos_mid.y + in add_middle_point()302 pos_mid.z * pos_mid.z); in add_middle_point()303 pos_mid.x *= scale; in add_middle_point()304 pos_mid.y *= scale; in add_middle_point()305 pos_mid.z *= scale; in add_middle_point()307 Mesh::Normal normal_mid = { pos_mid.x, pos_mid.y, pos_mid.z }; in add_middle_point()312 mesh_.positions_.emplace_back(pos_mid); in add_middle_point()