mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Change glyph cache position tolerance to match changes in master
This commit is contained in:
@ -10,8 +10,10 @@ use vek::*;
|
|||||||
// Multiplied by current window size
|
// Multiplied by current window size
|
||||||
const GLYPH_CACHE_SIZE: u16 = 1;
|
const GLYPH_CACHE_SIZE: u16 = 1;
|
||||||
// Glyph cache tolerances
|
// Glyph cache tolerances
|
||||||
const SCALE_TOLERANCE: f32 = 0.5; // Note: Changed from 0.1 change back if not decent
|
// TODO: consider scaling based on dpi as well as providing as an option to the
|
||||||
const POSITION_TOLERANCE: f32 = 0.1;
|
// user
|
||||||
|
const SCALE_TOLERANCE: f32 = 0.5;
|
||||||
|
const POSITION_TOLERANCE: f32 = 0.5;
|
||||||
|
|
||||||
type GlyphBrush = glyph_brush::GlyphBrush<(Aabr<f32>, Aabr<f32>), ()>;
|
type GlyphBrush = glyph_brush::GlyphBrush<(Aabr<f32>, Aabr<f32>), ()>;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user