From 430d60baf909a01c2b167c65071f0e003d770aaf Mon Sep 17 00:00:00 2001 From: mattkae Date: Sun, 8 May 2022 16:17:33 -0400 Subject: Hopping bunng animation --- themes/Renderer3d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/Renderer3d.cpp') diff --git a/themes/Renderer3d.cpp b/themes/Renderer3d.cpp index 771d778..a7779e2 100644 --- a/themes/Renderer3d.cpp +++ b/themes/Renderer3d.cpp @@ -51,7 +51,7 @@ void Renderer3D::load(WebglContext* inContext) { uniforms.view = getShaderUniform(shader, "view"); uniforms.model = getShaderUniform(shader, "model"); projection = Mat4x4().getPerspectiveProjection(0.1, 1000.f, 0.872f, static_cast(context->width) / static_cast(context->height)); - view = Mat4x4().getLookAt({ 0, 25, 25 }, { 0, 0, 0 }, { 0, 1, 0 }); + view = Mat4x4().getLookAt({ 0, 25, 100 }, { 0, 15, 0 }, { 0, 1, 0 }); logger_info("Renderer2d shader compiled.\n"); @@ -238,4 +238,4 @@ void Mesh3d::render(Renderer3D* renderer) { glBindVertexArray(vao); glDrawElements(GL_TRIANGLES, indices.numElements, GL_UNSIGNED_INT, 0); glBindVertexArray(0); -} \ No newline at end of file +} -- cgit v1.2.1