Skip to content
Snippets Groups Projects
Commit 973237b1 authored by Noé's avatar Noé
Browse files

Tree Fix

parent e879a174
No related branches found
No related tags found
No related merge requests found
#version 300 es // Compatible with OpenGL ES
precision mediump float;
#version 330 core
// Fragment shader - this code is executed for every pixel/fragment that belongs to a displayed shape
//
......
#version 300 es // Compatible with OpenGL ES
precision mediump float;
#version 330 core
// Vertex shader - this code is executed for every vertex of the shape
......
......@@ -366,7 +366,7 @@ void scene_structure::display_ball() {
void scene_structure::display_projectiles() {
projectiles.simulate(timer_chain.scale * 0.01f, terrain_length);
projectiles.simulate(timer_chain.scale * 0.03f, terrain_length);
for (int i = 0; i < projectiles.N; i++) {
projectiles.mesh.model.translation = projectiles.pos[i];
projectiles.mesh.material.color = projectiles.color[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment