From 810a3677de4b640449c5449a48ecc3b725926747 Mon Sep 17 00:00:00 2001 From: alban Date: Thu, 20 Jul 2023 21:12:17 +0200 Subject: [PATCH] fix: populate redis general geometry --- examples/populate_redis.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/populate_redis.rs b/examples/populate_redis.rs index a1d43fe..307acd6 100644 --- a/examples/populate_redis.rs +++ b/examples/populate_redis.rs @@ -22,7 +22,7 @@ fn do_something() -> redis::RedisResult<()> { let _ = con.set("/EDH/0", "[[1.0, 0.0, 0.0],\n [ 0.0, 1.0, 0.0],\n [ 0.0, 0.0, 1.0]]")?; let _ = con.set("/kpps/0", "5000")?; let _ = con.set("/intensity/0", "255")?; - let _ = con.set("/pl/0/0", "[(-300, 300, 0), (-300, -300, 65280), (300, -300, 65280), (300, 300, 65280), (-300, 300, 65280)]")?; + let _ = con.set("/pl/0/0", "[(1000, 2000, 0), (1000, 1000, 65535), (2000, 1000, 65535), (2000, 2000, 65535), (1000, 2000, 65535)]")?; Ok(()) }