goal: repeating ground texture
This commit is contained in:
parent
7e427b3879
commit
acb658f3e9
@ -227,7 +227,7 @@ impl strafe_client::framework::Example for Skybox {
|
|||||||
let mut modeldatas = Vec::<ModelData>::new();
|
let mut modeldatas = Vec::<ModelData>::new();
|
||||||
let ground=obj::ObjData{
|
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]],
|
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]],
|
normal: vec![[0.0,1.0,0.0]],
|
||||||
objects: vec![obj::Object{
|
objects: vec![obj::Object{
|
||||||
name: "Ground Object".to_owned(),
|
name: "Ground Object".to_owned(),
|
||||||
|
Loading…
Reference in New Issue
Block a user