Skip to content

Commit

Permalink
Y rotation is working as desired!
Browse files Browse the repository at this point in the history
  • Loading branch information
markmandel committed Feb 18, 2013
1 parent 3606b2e commit d29e890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opengl/interactive_pyramid.rb
Expand Up @@ -241,7 +241,7 @@ def calc_y_rotation

#then translate it back out on the z axis.
temp = Matrix4f.new
Matrix4f.mul(translation_to_origin, @y_rotation_matrix, temp)
Matrix4f.mul(@y_rotation_matrix, translation_to_origin, temp)

translation_to_origin.m32 = (@vertex_data[14])

Expand Down

0 comments on commit d29e890

Please sign in to comment.