diff options
Diffstat (limited to 'src/example/03_texture/03_texture.c')
-rw-r--r-- | src/example/03_texture/03_texture.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/example/03_texture/03_texture.c b/src/example/03_texture/03_texture.c index a0493bb..ab39298 100644 --- a/src/example/03_texture/03_texture.c +++ b/src/example/03_texture/03_texture.c @@ -80,7 +80,7 @@ void onupdatetexture(void*data) { ssr_matrixmode(MATRIX_VIEW); ssr_loadidentity(); float distance = 2; - Vec3 p = { distance * sin(_t), 3, distance * cos(_t) }, target = { 0, 0, 0 }; + Vec3 p = { distance * sin(_t), 5, distance * cos(_t) }, target = { 0, 0, 0 }; //Vec3 p = { 0, 0, 700}, target = { 0, 0, 0 }; ssr_lookat(&p, &target, &vec3up); @@ -133,5 +133,4 @@ void ondrawtexture(void*data) { ssr_setuniformtex(0, cyborg_albedo); ssr_bindvertices(cyborg_mesh->vertices, cyborg_mesh->vert_count, cyborg_mesh->triangles, cyborg_mesh->tris_count); ssr_draw(PRIMITIVE_TRIANGLE); - } |