gltransformation: graphene multiplication order has changed
https://bugzilla.gnome.org/show_bug.cgi?id=733510
This commit is contained in:
parent
d30a476c1c
commit
28d4d57180
@ -264,8 +264,8 @@ gst_gl_transformation_build_mvp (GstGLTransformation * transformation)
|
||||
|
||||
graphene_matrix_init_look_at (&view_matrix, &eye, ¢er, &up);
|
||||
|
||||
graphene_matrix_multiply (&projection_matrix, &view_matrix, &vp_matrix);
|
||||
graphene_matrix_multiply (&vp_matrix, &model_matrix,
|
||||
graphene_matrix_multiply (&view_matrix, &projection_matrix, &vp_matrix);
|
||||
graphene_matrix_multiply (&model_matrix, &vp_matrix,
|
||||
&transformation->mvp_matrix);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user