[BUG FIXED] Fix Bug that to use matrix2f storage local to world matrix.

This commit is contained in:
hyzboy 2024-08-29 13:46:19 +08:00
parent 3fc9971cf7
commit 7dc4bb9d76

View File

@ -47,7 +47,7 @@ namespace hgl
// if (scene_matrix.IsNewestVersion()) //自己不变,不代表下面不变
//return;
const Matrix2f &l2w=scene_matrix.GetLocalToWorldMatrix();
const Matrix4f &l2w=scene_matrix.GetLocalToWorldMatrix();
const int count=SubNode.GetCount();