We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
始点と終点が一致するような LineString のバッファを LineString::calculateRoundBuffer() で計算するとき、得られるポリゴンの終端が丸くならない問題があります。
LineString
LineString::calculateRoundBuffer()
# include <Siv3D.hpp> void Main() { Window::Resize(300, 200); const LineString lineString { Vec2{ 150, 50 }, Vec2{ 92, 150 }, Vec2{ 208, 150 }, Vec2{ 150, 50 }, }; const auto polygon = lineString.calculateRoundBuffer(10); while (System::Update()) { polygon.draw(); } }
ただ、これは明らかに意図的に書かれた処理で、こうしないといけない理由があったのかどうか気になります。
OpenSiv3D/Siv3D/src/Siv3D/Polygon/PolygonDetail.cpp
Lines 1318 to 1327 in a5a6d7b
The text was updated successfully, but these errors were encountered:
No branches or pull requests
始点と終点が一致するような
LineString
のバッファをLineString::calculateRoundBuffer()
で計算するとき、得られるポリゴンの終端が丸くならない問題があります。ただ、これは明らかに意図的に書かれた処理で、こうしないといけない理由があったのかどうか気になります。
OpenSiv3D/Siv3D/src/Siv3D/Polygon/PolygonDetail.cpp
Lines 1318 to 1327 in a5a6d7b
The text was updated successfully, but these errors were encountered: