STARK: formatting white spaces
This commit is contained in:
parent
363a91267b
commit
fd0dbeb6ff
2 changed files with 6 additions and 8 deletions
|
@ -66,12 +66,12 @@ void OpenGLSSurfaceRenderer::render(const Texture *texture, const Common::Point
|
||||||
|
|
||||||
Math::Vector2d OpenGLSSurfaceRenderer::normalizeOriginalCoordinates(float x, float y) const {
|
Math::Vector2d OpenGLSSurfaceRenderer::normalizeOriginalCoordinates(float x, float y) const {
|
||||||
Common::Rect viewport = _gfx->getUnscaledViewport();
|
Common::Rect viewport = _gfx->getUnscaledViewport();
|
||||||
return Math::Vector2d(x / (float) viewport.width(), y / (float) viewport.height());
|
return Math::Vector2d(x / (float)viewport.width(), y / (float)viewport.height());
|
||||||
}
|
}
|
||||||
|
|
||||||
Math::Vector2d OpenGLSSurfaceRenderer::normalizeCurrentCoordinates(float x, float y) const {
|
Math::Vector2d OpenGLSSurfaceRenderer::normalizeCurrentCoordinates(float x, float y) const {
|
||||||
Common::Rect viewport = _gfx->getViewport();
|
Common::Rect viewport = _gfx->getViewport();
|
||||||
return Math::Vector2d(x / (float) viewport.width(), y / (float) viewport.height());
|
return Math::Vector2d(x / (float)viewport.width(), y / (float)viewport.height());
|
||||||
}
|
}
|
||||||
|
|
||||||
} // End of namespace Gfx
|
} // End of namespace Gfx
|
||||||
|
|
|
@ -28,11 +28,9 @@ namespace Gfx {
|
||||||
SurfaceRenderer::SurfaceRenderer() :
|
SurfaceRenderer::SurfaceRenderer() :
|
||||||
_noScalingOverride(false),
|
_noScalingOverride(false),
|
||||||
_fadeLevel(0) {
|
_fadeLevel(0) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SurfaceRenderer::~SurfaceRenderer() {
|
SurfaceRenderer::~SurfaceRenderer() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SurfaceRenderer::setNoScalingOverride(bool noScalingOverride) {
|
void SurfaceRenderer::setNoScalingOverride(bool noScalingOverride) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue