ext/rays/defs.cpp in rays-0.1.46 vs ext/rays/defs.cpp in rays-0.1.47
- old
+ new
@@ -22,12 +22,12 @@
argument_error(__FILE__, __LINE__);
points->reserve(argc / 2);
for (int i = 0; i < argc; i += 2)
{
- coord x = to<coord>(argv[i + 0]);
- coord y = to<coord>(argv[i + 1]);
- points->emplace_back(Rays::Point(x, y));
+ points->emplace_back(
+ to<coord>(argv[i + 0]),
+ to<coord>(argv[i + 1]));
}
}
else
{
points->reserve(argc);