Skip to content

Commit f08ae54

Browse files
committed
Terrain example: More frequent switching between draw modes
1 parent 2275131 commit f08ae54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/terrain/effects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def draw(self, time, frametime, target):
4848
m_mv = matrix44.multiply(m_mv, self.sys_camera.view_matrix)
4949

5050
self.ctx.patch_vertices = 3
51-
self.ctx.wireframe = True if math.fmod(time, 10) < 5.0 else False
51+
self.ctx.wireframe = True if math.fmod(time, 5) < 2.5 else False
5252

5353
self.heightmap.use(location=0)
5454
self.heights.value = 0

0 commit comments

Comments
 (0)