forked from StrafesNET/strafe-client
test teapot
This commit is contained in:
parent
836749df47
commit
f0b3e87abb
@ -355,7 +355,7 @@ impl framework::Example for GraphicsData {
|
|||||||
//teapot
|
//teapot
|
||||||
modeldatas[2].instances.push(ModelInstance{
|
modeldatas[2].instances.push(ModelInstance{
|
||||||
model_transform:glam::Affine3A::from_translation(glam::vec3(-10.,5.,10.)),
|
model_transform:glam::Affine3A::from_translation(glam::vec3(-10.,5.,10.)),
|
||||||
texture_transform:glam::Affine2::IDENTITY,
|
texture_transform:glam::Affine2::from_scale(glam::vec2(2.0,2.0)),
|
||||||
color:ModelData::COLOR_VEC4_WHITE,
|
color:ModelData::COLOR_VEC4_WHITE,
|
||||||
});
|
});
|
||||||
//ground
|
//ground
|
||||||
|
Loading…
Reference in New Issue
Block a user