[WW] fullWidth is 1920.0

This commit is contained in:
getdls 2017-12-29 02:27:28 +01:00
parent 6e8738f710
commit be8fdf2e3b
4 changed files with 8 additions and 8 deletions

View File

@ -2,8 +2,8 @@
include 'Source/functions.php';
$fullWidth = $argv[1];
$fullHeight = $argv[2];
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
$scaleFactorX = always_decimal_format($fullWidth / 1920.0);
$scaleFactorY = always_decimal_format($fullHeight / 1080.0);
?>
#version 420
#extension GL_ARB_texture_gather : enable

View File

@ -2,8 +2,8 @@
include 'Source/functions.php';
$fullWidth = $argv[1];
$fullHeight = $argv[2];
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
$scaleFactorX = always_decimal_format($fullWidth / 1920.0);
$scaleFactorY = always_decimal_format($fullHeight / 1080.0);
?>
#version 420
#extension GL_ARB_texture_gather : enable

View File

@ -2,8 +2,8 @@
include 'Source/functions.php';
$fullWidth = $argv[1];
$fullHeight = $argv[2];
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
$scaleFactorX = always_decimal_format($fullWidth / 1920.0);
$scaleFactorY = always_decimal_format($fullHeight / 1080.0);
?>
#version 420
#extension GL_ARB_texture_gather : enable

View File

@ -2,8 +2,8 @@
include 'Source/functions.php';
$fullWidth = $argv[1];
$fullHeight = $argv[2];
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
$scaleFactorX = always_decimal_format($fullWidth / 1920.0);
$scaleFactorY = always_decimal_format($fullHeight / 1080.0);
?>
#version 420
#extension GL_ARB_texture_gather : enable