MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / setAntiAliasing

Method setAntiAliasing

src/Core/Graphics/Sprite.cpp:155–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 void Sprite::setAntiAliasing(bool antiAliasing)
156 {
157 if (antiAliasing != m_antiAliasing && !m_path.empty())
158 {
159 m_antiAliasing = antiAliasing;
160 this->loadTexture(m_path);
161 }
162 else
163 {
164 m_antiAliasing = antiAliasing;
165 }
166 }
167
168 void Sprite::setRotation(double rotate)
169 {

Callers 3

attachResourceManagerMethod · 0.95
loadMethod · 0.95
loadTextureMethod · 0.45

Calls 2

loadTextureMethod · 0.95
emptyMethod · 0.45

Tested by

no test coverage detected