From 48d5650765d18e320027fb7c9282be92393fcfbb Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 16 Jul 2019 02:23:09 +0200 Subject: [PATCH] examples/hot_code_reloading: move the square faster --- examples/hot_code_reloading/bounce.v | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/examples/hot_code_reloading/bounce.v b/examples/hot_code_reloading/bounce.v index 9dde61f54d..9511d056c1 100644 --- a/examples/hot_code_reloading/bounce.v +++ b/examples/hot_code_reloading/bounce.v @@ -27,8 +27,8 @@ fn main() { height := 300 mut game := &Game{ vg: 0 - dx: 1 - dy: 1 + dx: 2 + dy: 2 height: height width: width } @@ -61,7 +61,6 @@ fn main() { } } - const ( W = 50 ) @@ -88,21 +87,3 @@ fn (ctx mut Game) run() { } - - - - - - - - - - - - - - - - -//sdfsd -