File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -667,8 +667,8 @@ namespace components::mp
667
667
dev->SetPixelShader (nullptr );
668
668
669
669
const auto saved_x = src->matrices .matrix [0 ].m [3 ][0 ];
670
- const auto saved_y = src->matrices .matrix [0 ].m [3 ][0 ];
671
- const auto saved_z = src->matrices .matrix [0 ].m [3 ][0 ];
670
+ const auto saved_y = src->matrices .matrix [0 ].m [3 ][1 ];
671
+ const auto saved_z = src->matrices .matrix [0 ].m [3 ][2 ];
672
672
673
673
// #
674
674
// draw prims
Original file line number Diff line number Diff line change @@ -587,7 +587,7 @@ namespace components::sp
587
587
state->prim .device ->SetFVF (NULL );
588
588
// state->prim.device->SetVertexShader(og_vertex_shader);
589
589
// state->prim.device->SetPixelShader(og_pixel_shader);
590
- state->prim .device ->SetTransform (D3DTS_WORLD, reinterpret_cast <D3DMATRIX*>(&src->matrices .matrix [0 ].m ));
590
+ // state->prim.device->SetTransform(D3DTS_WORLD, reinterpret_cast<D3DMATRIX*>(&src->matrices.matrix[0].m));
591
591
}
592
592
}
593
593
@@ -681,8 +681,8 @@ namespace components::sp
681
681
dev->SetPixelShader (nullptr );
682
682
683
683
const auto saved_x = src->matrices .matrix [0 ].m [3 ][0 ];
684
- const auto saved_y = src->matrices .matrix [0 ].m [3 ][0 ];
685
- const auto saved_z = src->matrices .matrix [0 ].m [3 ][0 ];
684
+ const auto saved_y = src->matrices .matrix [0 ].m [3 ][1 ];
685
+ const auto saved_z = src->matrices .matrix [0 ].m [3 ][2 ];
686
686
687
687
// #
688
688
// draw prims
You can’t perform that action at this time.
0 commit comments