Fix aspect ratio of ASCII renderer in the GUI
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -55,11 +55,11 @@ class AsciiRasterizer extends Rasterizer {
|
||||
// Terminal characters are usually twice as tall as they are wide.
|
||||
// We override the base multiplier to squish sprites horizontally.
|
||||
@override
|
||||
double get aspectMultiplier => 2.0;
|
||||
double get aspectMultiplier => 1.0;
|
||||
|
||||
// Squish the entire 3D projection vertically by 50% to counteract tall terminal fonts
|
||||
@override
|
||||
double get verticalStretch => 1.8;
|
||||
double get verticalStretch => 1.0;
|
||||
|
||||
// Intercept the base render call to initialize our text grid
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user