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:
parent
469b048de9
commit
eda7b380dd
@ -10,8 +10,10 @@ use vek::*;
|
||||
// Multiplied by current window size
|
||||
const GLYPH_CACHE_SIZE: u16 = 1;
|
||||
// Glyph cache tolerances
|
||||
const SCALE_TOLERANCE: f32 = 0.5; // Note: Changed from 0.1 change back if not decent
|
||||
const POSITION_TOLERANCE: f32 = 0.1;
|
||||
// TODO: consider scaling based on dpi as well as providing as an option to the
|
||||
// user
|
||||
const SCALE_TOLERANCE: f32 = 0.5;
|
||||
const POSITION_TOLERANCE: f32 = 0.5;
|
||||
|
||||
type GlyphBrush = glyph_brush::GlyphBrush<(Aabr<f32>, Aabr<f32>), ()>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user