Skip to content

Commit

Permalink
engine_demo uses same constants as actual render
Browse files Browse the repository at this point in the history
easier performance debug
  • Loading branch information
Uriopass committed Dec 14, 2023
1 parent 85c9efd commit 19fa56b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engine_demo/src/terrain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ use engine::terrain::TerrainRender as EngineTerrainRender;
use engine::{Context, FrameContext};
use geom::{vec2, Camera, InfiniteFrustrum};

const CSIZE: usize = 256;
const CRESO: usize = 8;
const MAP_SIZE: usize = 100;
const CSIZE: usize = 512;
const CRESO: usize = 16;
const MAP_SIZE: usize = 50;

pub struct Terrain {
terrain: EngineTerrainRender<CSIZE, CRESO>,
Expand Down

0 comments on commit 19fa56b

Please sign in to comment.