Skip to content

Commit

Permalink
Update 3d_cube_with_cubes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Jul 13, 2020
1 parent a477e29 commit 7765a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcade/experimental/examples/3d_cube_with_cubes.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def on_draw(self):
self.fbo1.use()
self.fbo1.clear(color=(1.0, 1.0, 1.0, 1.0), normalized=True)
rotate = Matrix44.from_eulers((self.time, self.time * 0.77, self.time * 0.01), dtype='f4')
translate = Matrix44.from_translation((0, 0, -2.0), dtype='f4')
translate = Matrix44.from_translation((0, 0, -1.75), dtype='f4')
modelview = translate * rotate
if self.frame > 0:
self.program['use_texture'] = 1
Expand Down

0 comments on commit 7765a30

Please sign in to comment.