Skip to content

Instantly share code, notes, and snippets.

Created Oct 24, 2014
What would you like to do?
# include <Siv3D.hpp>
void Main()
Window::Resize(1280, 720);
Texture texture(L"Example/Windmill.png");
while (System::Update())
// [解決法 A] 拡大時にフィルタリングをしない
// [解決法 B] Texture の切り抜きは行わず、アドレスモードを Clamp に
//Graphics::Set2DSamplerState(SamplerState(TextureFilter::MinMagMipLinear, TextureAddressMode::Clamp));
texture.scale(Mouse::Pos().x / 100.0).draw(5,5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment