From acb658f3e9636ada84167df98e3207f521ca079a Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 20 Sep 2023 14:07:11 -0700 Subject: [PATCH] goal: repeating ground texture --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e78103f7..1f03dea8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -227,7 +227,7 @@ impl strafe_client::framework::Example for Skybox { let mut modeldatas = Vec::::new(); let ground=obj::ObjData{ position: vec![[-1.0,0.0,-1.0],[1.0,0.0,-1.0],[1.0,0.0,1.0],[-1.0,0.0,1.0]], - texture: vec![[-1.0,-1.0],[1.0,-1.0],[1.0,1.0],[-1.0,1.0]], + texture: vec![[-10.0,-10.0],[10.0,-10.0],[10.0,10.0],[-10.0,10.0]], normal: vec![[0.0,1.0,0.0]], objects: vec![obj::Object{ name: "Ground Object".to_owned(),